DiffEqs
Plain Bilayer Membrane
Remember the capacitor equation:
Here C is a constant (a parameter): the capacitance of the membrane.
Next V(t) is the membrane potential. Typically V(t) is the quantity of interest -- and it is the quantity that is usually measure.
Next I(t) is the capacitive current into the cell. In general the capacitive current involves the ionic currents into the cell as well as the injected current, but for a plain lipid bilayer, it is just the injected current.
Finally V(0) is the initial membrane potential of the cell, the constant of integration required for a definite solution to the equation.
We can solve this equation
Add Na+/K+ Pump
It seems clear from the Neurons in Action Tutorial that they modeled the addition of the pump as a change in the initial condition of the cell.
Add Leak Channels
Leak channels add a resistor in parallel to the capacitor.
is the conductance of the channels
Add HH Channels