A Thomson's principle for infinite, nonlinear resistive networks