E_{\mathrm{cell}}=E_N-\frac{RT}{\alpha F}\ln\frac{i+i_{\mathrm{loss}}}{i_0}-iR_i-\frac{RT}{nF}\ln\frac{i_L}{i_L-i}