Simulate effects of cell ion concentrations, permeability, and temperature, on voltage, with the Nernst and Goldman equations

Nernst and Goldman

Er =
RT
zF
ln(
[Ion]out
[Ion]in
) Em =
RT
F
ln(
PNa[Na+]out + PK[K+]out + PCl[Cl-]in
PNa[Na+]in + PK[K+]in + PCl[Cl-]out
)



[Na+]out

[K+]out

[Cl-]out

Temp(K)

[Na+]in

PNa

[K+]in

PK

[Cl-]in

PCl