Generated Code

The following is python code generated by the CellML API from this CellML file. (Back to language selection)

The raw code is available.

Model is unsuitably constrained (i.e. there were still some variables left to be computed, and some unusable equations left over).
At the time of the error, the following variables were found:
 * Defined: t in component interface
 * Undefined: Cm in component interface
 * Undefined: Vr in component interface
 * Undefined: Vth in component interface
 * Undefined: Vp in component interface
 * Undefined: c1 in component interface
 * Undefined: c2 in component interface
 * Undefined: b in component interface
 * Undefined: d in component interface
 * Undefined: Istim in component interface
 * Defined: Vm in component membrane_potential
 * Defined: v in component recovery_variable
 * Undefined: Iion in component ionic_current
 * Undefined: IStimC in component interface
 * Undefined: u in component membrane_potential
 * Undefined: d/dt Vm in component membrane_potential
 * Undefined: d/dt v in component recovery_variable
The following equations couldn't be used:
 * Equation in apply element with id IStim_for_cmiss.
 * Equation in apply element with id Vm_diff_calculation.
 * Equation in apply element with id u_calculation.
 * Equation in apply element with id Iion_calculation.
 * Equation in apply element with id v_diff.