A solar cell can be modeled by an equivalent electrical circuit. The simplest model includes a current source representing the photogenerated current (\(I_L\)), in parallel with a diode representing the p-n junction. A more accurate model adds a parallel shunt resistance (\(R_{sh}\)) for leakage currents and a series resistance (\(R_s\)) for contact and bulk material resistance.
