A solar cell is a large-area p-n junction. Light creates a photocurrent Iph; the junction itself behaves like a diode that leaks current back. The standard single-diode model for a 60-cell module is
I = Iph - I0 [exp((V + I Rs) / (n Ns kT/q)) - 1] - (V + I Rs) / Rsh
Iph = Isc,ref (G/1000) cos(theta) [1 + 0.0005 (T - 25)]: current follows the light that actually hits the surface (Lambert cosine law) with a small temperature gain.
I0 (diode saturation current) grows as T^3 exp(-Eg/(n k T)), Eg = 1.12 eV for silicon. This is why Voc falls by about 0.33 %/K and hot panels lose power.
- Rs (wiring and contact resistance) bends the knee of the curve; Rsh = 300 ohm is a fixed leak.
- Fill factor
FF = Pmax / (Isc Voc); efficiency uses a 1.65 m2 module area.
- A load resistor fixes the operating point where
I = V/R meets the curve. Only one resistance extracts the maximum; an MPPT tracker keeps the module at that point.
Honest simplifications: Isc 9 A, Voc 37 V at 25 C and n = 1.3 are typical illustrative datasheet values, not a specific product. Reflection grows faster than cosine at grazing angles and is ignored. Spectrum, shading and cell mismatch are not modelled. Cell temperature is a slider; no thermal model of the roof.
Checks shown in the page: open-circuit voltage against a ln(Iph/I0+1); the numerical I(V) against an independent Lambert-W closed form (Rsh to infinity); Pmax by golden-section versus a 4000-point scan; and the temperature coefficient of Voc against the analytic derivative.