Figure 2:
An electric analog of an electrochemical cell I = constant current source, D = ideal diode RS = series resistance, RSh= shunt resistance Cj= junction capacitance of the diode