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: time in component environment * Defined: V in component membrane * Undefined: R in component membrane * Undefined: T in component membrane * Undefined: F in component membrane * Undefined: Cm in component membrane * Undefined: i_stim in component membrane * Undefined: i_Na in component fast_sodium_current * Undefined: i_K1 in component time_independent_potassium_current * Undefined: i_to in component transient_outward_K_current * Undefined: i_Kur_d in component ultrarapid_delayed_rectifier_K_current * Undefined: i_Kr in component rapid_delayed_rectifier_K_current * Undefined: i_Ks in component slow_delayed_rectifier_K_current * Undefined: i_Ca in component sarcolemmal_Ca_current * Undefined: i_Cl_Ca in component Ca_activated_Cl_current * Undefined: i_p_Ca in component Ca_pump_current * Undefined: i_NaK in component sodium_potassium_pump * Undefined: i_NaCa in component Na_Ca_exchanger_current * Undefined: i_B_Na in component background_currents * Undefined: i_B_Ca in component background_currents * Undefined: i_B_Cl in component background_currents * Undefined: E_Na in component fast_sodium_current * Undefined: g_Na in component fast_sodium_current * Defined: Na_i in component intracellular_ion_concentrations * Undefined: Na_o in component standard_ionic_concentrations * Defined: m in component fast_sodium_current_m_gate * Defined: h in component fast_sodium_current_h_gate * Defined: j in component fast_sodium_current_j_gate * Defined: alpha_m in component fast_sodium_current_m_gate * Defined: beta_m in component fast_sodium_current_m_gate * Defined: alpha_h in component fast_sodium_current_h_gate * Defined: beta_h in component fast_sodium_current_h_gate * Defined: alpha_j in component fast_sodium_current_j_gate * Defined: beta_j in component fast_sodium_current_j_gate * Undefined: E_K in component time_independent_potassium_current * Undefined: g_K1 in component time_independent_potassium_current * Undefined: K_o in component standard_ionic_concentrations * Defined: K_i in component intracellular_ion_concentrations * Undefined: g_to in component transient_outward_K_current * Defined: oa in component transient_outward_K_current_oa_gate * Defined: oi in component transient_outward_K_current_oi_gate * Defined: alpha_oa in component transient_outward_K_current_oa_gate * Defined: beta_oa in component transient_outward_K_current_oa_gate * Defined: tau_oa in component transient_outward_K_current_oa_gate * Defined: oa_infinity in component transient_outward_K_current_oa_gate * Defined: alpha_oi in component transient_outward_K_current_oi_gate * Defined: beta_oi in component transient_outward_K_current_oi_gate * Defined: tau_oi in component transient_outward_K_current_oi_gate * Defined: oi_infinity in component transient_outward_K_current_oi_gate * Defined: g_Kur_d in component ultrarapid_delayed_rectifier_K_current * Defined: ua in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: ui in component ultrarapid_delayed_rectifier_K_current_ui_gate * Defined: alpha_ua in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: beta_ua in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: tau_ua in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: ua_infinity in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: alpha_ui in component ultrarapid_delayed_rectifier_K_current_ui_gate * Defined: beta_ui in component ultrarapid_delayed_rectifier_K_current_ui_gate * Defined: tau_ui in component ultrarapid_delayed_rectifier_K_current_ui_gate * Defined: ui_infinity in component ultrarapid_delayed_rectifier_K_current_ui_gate * Undefined: g_Kr in component rapid_delayed_rectifier_K_current * Defined: xr in component rapid_delayed_rectifier_K_current_xr_gate * Defined: alpha_xr in component rapid_delayed_rectifier_K_current_xr_gate * Defined: beta_xr in component rapid_delayed_rectifier_K_current_xr_gate * Defined: tau_xr in component rapid_delayed_rectifier_K_current_xr_gate * Defined: xr_infinity in component rapid_delayed_rectifier_K_current_xr_gate * Undefined: g_Ks in component slow_delayed_rectifier_K_current * Defined: xs in component slow_delayed_rectifier_K_current_xs_gate * Defined: alpha_xs in component slow_delayed_rectifier_K_current_xs_gate * Defined: beta_xs in component slow_delayed_rectifier_K_current_xs_gate * Defined: tau_xs in component slow_delayed_rectifier_K_current_xs_gate * Defined: xs_infinity in component slow_delayed_rectifier_K_current_xs_gate * Undefined: g_Ca in component sarcolemmal_Ca_current * Defined: Ca_i in component intracellular_ion_concentrations * Defined: d in component sarcolemmal_Ca_current_d_gate * Defined: f in component sarcolemmal_Ca_current_f_gate * Defined: f_Ca in component sarcolemmal_Ca_current_f_Ca_gate * Defined: d_infinity in component sarcolemmal_Ca_current_d_gate * Defined: tau_d in component sarcolemmal_Ca_current_d_gate * Defined: f_infinity in component sarcolemmal_Ca_current_f_gate * Defined: tau_f in component sarcolemmal_Ca_current_f_gate * Defined: f_Ca_infinity in component sarcolemmal_Ca_current_f_Ca_gate * Undefined: tau_f_Ca in component sarcolemmal_Ca_current_f_Ca_gate * Undefined: g_Cl_Ca in component Ca_activated_Cl_current * Undefined: E_Cl in component Ca_activated_Cl_current * Undefined: Fn in component Ca_release_current_from_JSR * Defined: Cl_i in component intracellular_ion_concentrations * Undefined: Cl_o in component standard_ionic_concentrations * Undefined: q_Ca in component Ca_activated_Cl_current_q_Ca_gate * Undefined: q_Ca_infinity in component Ca_activated_Cl_current_q_Ca_gate * Undefined: tau_q_Ca in component Ca_activated_Cl_current_q_Ca_gate * Undefined: CT_NaCl in component Na_Cl_cotransporter * Undefined: n in component Na_Cl_cotransporter * Undefined: delta_CT_n in component Na_Cl_cotransporter * Undefined: g_CT in component Na_Cl_cotransporter * Undefined: Km_Na_i in component sodium_potassium_pump * Undefined: Km_K_o in component sodium_potassium_pump * Undefined: i_NaK_max in component sodium_potassium_pump * Undefined: f_NaK in component sodium_potassium_pump * Undefined: sigma in component sodium_potassium_pump * Undefined: I_NaCa_max in component Na_Ca_exchanger_current * Undefined: K_mNa in component Na_Ca_exchanger_current * Undefined: K_mCa in component Na_Ca_exchanger_current * Undefined: K_sat in component Na_Ca_exchanger_current * Undefined: Ca_o in component standard_ionic_concentrations * Undefined: i_B_K in component background_currents * Undefined: g_B_Na in component background_currents * Undefined: g_B_Ca in component background_currents * Undefined: g_B_K in component background_currents * Undefined: g_B_Cl in component background_currents * Undefined: E_Ca in component background_currents * Undefined: i_p_Ca_max in component Ca_pump_current * Undefined: i_rel in component Ca_release_current_from_JSR * Undefined: K_rel in component Ca_release_current_from_JSR * Undefined: V_rel in component Ca_release_current_from_JSR * Defined: Ca_rel in component intracellular_ion_concentrations * Defined: u in component Ca_release_current_from_JSR_u_gate * Defined: v in component Ca_release_current_from_JSR_v_gate * Defined: w in component Ca_release_current_from_JSR_w_gate * Defined: tau_u in component Ca_release_current_from_JSR_u_gate * Undefined: u_infinity in component Ca_release_current_from_JSR_u_gate * Undefined: tau_v in component Ca_release_current_from_JSR_v_gate * Undefined: v_infinity in component Ca_release_current_from_JSR_v_gate * Defined: tau_w in component Ca_release_current_from_JSR_w_gate * Defined: w_infinity in component Ca_release_current_from_JSR_w_gate * Undefined: i_tr in component transfer_current_from_NSR_to_JSR * Undefined: tau_tr in component transfer_current_from_NSR_to_JSR * Defined: Ca_up in component intracellular_ion_concentrations * Undefined: I_up_max in component Ca_uptake_current_by_the_NSR * Undefined: i_up in component Ca_uptake_current_by_the_NSR * Undefined: K_up in component Ca_uptake_current_by_the_NSR * Undefined: i_up_leak in component Ca_leak_current_by_the_NSR * Undefined: Ca_up_max in component Ca_leak_current_by_the_NSR * Defined: CMDN_max in component Ca_buffers * Defined: TRPN_max in component Ca_buffers * Defined: CSQN_max in component Ca_buffers * Undefined: J_Ca_CMDN in component Ca_buffers * Undefined: J_Ca_TRPN in component Ca_buffers * Undefined: J_Ca_CSQN in component Ca_buffers * Defined: Ca_CMDN in component Ca_buffers * Defined: Ca_TRPN in component Ca_buffers * Defined: Ca_CSQN in component Ca_buffers * Undefined: V_i in component intracellular_ion_concentrations * Undefined: V_rel in component intracellular_ion_concentrations * Undefined: V_up in component intracellular_ion_concentrations * Undefined: d/dt V in component membrane * Defined: d/dt m in component fast_sodium_current_m_gate * Defined: d/dt h in component fast_sodium_current_h_gate * Defined: d/dt j in component fast_sodium_current_j_gate * Defined: d/dt oa in component transient_outward_K_current_oa_gate * Defined: d/dt oi in component transient_outward_K_current_oi_gate * Defined: d/dt ua in component ultrarapid_delayed_rectifier_K_current_ua_gate * Defined: d/dt ui in component ultrarapid_delayed_rectifier_K_current_ui_gate * Defined: d/dt xr in component rapid_delayed_rectifier_K_current_xr_gate * Defined: d/dt xs in component slow_delayed_rectifier_K_current_xs_gate * Defined: d/dt d in component sarcolemmal_Ca_current_d_gate * Defined: d/dt f in component sarcolemmal_Ca_current_f_gate * Undefined: d/dt f_Ca in component sarcolemmal_Ca_current_f_Ca_gate * Undefined: d/dt u in component Ca_release_current_from_JSR_u_gate * Undefined: d/dt v in component Ca_release_current_from_JSR_v_gate * Defined: d/dt w in component Ca_release_current_from_JSR_w_gate * Undefined: d/dt Ca_CMDN in component Ca_buffers * Undefined: d/dt Ca_TRPN in component Ca_buffers * Undefined: d/dt Ca_CSQN in component Ca_buffers * Undefined: d/dt Na_i in component intracellular_ion_concentrations * Undefined: d/dt K_i in component intracellular_ion_concentrations * Undefined: d/dt Cl_i in component intracellular_ion_concentrations * Undefined: d/dt Ca_i in component intracellular_ion_concentrations * Undefined: d/dt Ca_up in component intracellular_ion_concentrations * Undefined: d/dt Ca_rel in component intracellular_ion_concentrations The following equations couldn't be used: * Equation in apply element with id membrane_voltage_diff_eq. * Equation in apply element with id i_Na_calculation. * Equation in apply element with id E_Na_calculation. * Equation in apply element with id i_K1_calculation. * Equation in apply element with id E_K_calculation. * Equation in apply element with id i_to_calculation. * Equation in apply element with id i_Kur_d_calculation. * Equation in apply element with id i_Kr_calculation. * Equation in apply element with id i_Ks_calculation. * Equation in apply element with id i_Ca_calculation. * Equation in apply element with id f_Ca_diff_eq. * Equation in apply element with id i_Cl_Ca_calculation. * Equation in apply element with id E_Cl_calculation. * Equation in apply element with id q_Ca_infinity_calculation. * Equation in apply element with id CT_NaCl_calculation. * Equation in apply element with id i_NaK_calculation. * Equation in apply element with id f_NaK_calculation. * Equation in apply element with id sigma_calculation. * Equation in apply element with id Na_Ca_exchanger. * Equation in apply element with id i_B_Na_calculation. * Equation in apply element with id i_B_Ca_calculation. * Equation in apply element with id i_B_K_calculation. * Equation in apply element with id i_B_Cl_calculation. * Equation in apply element with id E_Ca_calculation. * Equation in apply element with id i_p_Ca_calculation. * Equation in apply element with id i_rel_calculation. * Equation in apply element with id Fn_calculation. * Equation in apply element with id u_diff_eq. * Equation in apply element with id u_infinity_calculation. * Equation in apply element with id v_diff_eq. * Equation in apply element with id tau_v_calculation. * Equation in apply element with id v_infinity_calculation. * Equation in apply element with id i_tr_calculation. * Equation in apply element with id i_up_calculation. * Equation in apply element with id i_up_leak_calculation. * Equation in apply element with id J_Ca_CMDN_calculation. * Equation in apply element with id J_Ca_TRPN_calculation. * Equation in apply element with id J_Ca_CSQN_calculation. * Equation in apply element with id Na_i_diff_eq. * Equation in apply element with id K_i_diff_eq. * Equation in apply element with id Cl_i_diff_eq. * Equation in apply element with id Ca_i_diff_eq. * Equation in apply element with id Ca_up_diff_eq. * Equation in apply element with id Ca_rel_diff_eq.