- Author:
- Shelley Fong <sfon036@UoA.auckland.ac.nz>
- Date:
- 2024-09-27 09:52:37+12:00
- Desc:
- init
- Permanent Source URI:
- https://models.cellml.org/workspace/702/rawfile/841bbcd6641a430406471e20e4c7466aaea97112/Current_Iks.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="Current_eq" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:xlink="http://www.w3.org/1999/xlink">
<import xlink:href="unit.cellml">
<units name="ms" units_ref="ms"/>
<units name="per_ms" units_ref="per_ms"/>
<units name="mV" units_ref="mV"/>
<units name="mM" units_ref="mM"/>
<units name="mM3" units_ref="mM3"/>
<units name="J_per_mol_per_kelvin" units_ref="J_per_mol_per_kelvin"/>
<units name="C_per_mol" units_ref="C_per_mol"/>
<units name="nS_per_pF" units_ref="nS_per_pF"/>
<units name="pA_per_pF" units_ref="pA_per_pF"/>
<units name="mV_ms" units_ref="mV_ms"/>
<units name="mM_per_ms" units_ref="mM_per_ms"/>
<units name="per_mM_per_ms" units_ref="per_mM_per_ms"/>
<units name="per_mM2_per_ms" units_ref="per_mM2_per_ms"/>
</import>
<import xlink:href="parameter.cellml">
<component component_ref="parameter" name="parameter"/>
</import>
<import xlink:href="parameter_Iks.cellml">
<component component_ref="parameter_Iks" name="parameter_Iks"/>
</import>
<import xlink:href="gating_Iks.cellml">
<component component_ref="gating_Iks" name="gating_Iks"/>
</import>
<component name="Current_Iks">
<variable name="v" private_interface="in" public_interface="out" units="mV"/>
<variable initial_value="8.314472" name="R" public_interface="out" units="J_per_mol_per_kelvin"/>
<variable initial_value="310.0" name="T" public_interface="out" units="kelvin"/>
<variable initial_value="96.4853415" name="F" public_interface="out" units="C_per_mol"/>
<variable name="E_K" public_interface="out" units="mV"/>
<variable name="Ko" private_interface="in" public_interface="out" units="mM"/>
<variable initial_value="150" name="Ki" public_interface="out" units="mM"/>
<variable name="x_ks_inf_act" public_interface="in" units="dimensionless"/>
<variable initial_value="0" name="X_ks_act" public_interface="out" units="dimensionless"/>
<!-- var dX_ks_act: dimensionless {pub: out};-->
<variable name="i_Ks" public_interface="out" units="pA_per_pF"/>
<variable name="ks_0" private_interface="in" public_interface="out" units="nS_per_pF"/>
<variable name="ks_1" private_interface="in" public_interface="out" units="dimensionless"/>
<variable name="ks_2" private_interface="in" public_interface="out" units="dimensionless"/>
<variable name="ks_5" private_interface="in" public_interface="out" units="dimensionless"/>
<variable name="ks_6" private_interface="in" public_interface="out" units="dimensionless"/>
<variable name="tau_ks_const" private_interface="in" public_interface="out" units="dimensionless"/>
<variable name="g_Ks" public_interface="out" units="nS_per_pF"/>
<variable name="tau_ks_act" public_interface="in" units="ms"/>
<variable initial_value="1" name="t" public_interface="out" units="ms"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>E_K</ci>
<apply>
<times/>
<apply>
<divide/>
<apply>
<times/>
<ci>R</ci>
<ci>T</ci>
</apply>
<ci>F</ci>
</apply>
<apply>
<ln/>
<apply>
<divide/>
<ci>Ko</ci>
<ci>Ki</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>X_ks_act</ci>
</apply>
<apply>
<divide/>
<apply>
<minus/>
<ci>x_ks_inf_act</ci>
<ci>X_ks_act</ci>
</apply>
<ci>tau_ks_act</ci>
</apply>
</apply>
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>t</ci>
</bvar>
<ci>v</ci>
</apply>
<cn cellml:units="dimensionless">0</cn>
</apply>
<apply>
<eq/>
<ci>g_Ks</ci>
<ci>ks_0</ci>
</apply>
<apply>
<eq/>
<ci>i_Ks</ci>
<apply>
<times/>
<ci>g_Ks</ci>
<apply>
<power/>
<ci>X_ks_act</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
<apply>
<minus/>
<ci>v</ci>
<ci>E_K</ci>
</apply>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="Current_Iks" component_2="gating_Iks"/>
<map_variables variable_1="x_ks_inf_act" variable_2="x_ks_inf_act"/>
<map_variables variable_1="tau_ks_act" variable_2="tau_ks_act"/>
</connection>
<connection>
<map_components component_1="Current_Iks" component_2="parameter_Iks"/>
<map_variables variable_1="ks_0" variable_2="ks_0"/>
<map_variables variable_1="ks_1" variable_2="ks_1"/>
<map_variables variable_1="ks_2" variable_2="ks_2"/>
<map_variables variable_1="ks_5" variable_2="ks_5"/>
<map_variables variable_1="ks_6" variable_2="ks_6"/>
<map_variables variable_1="tau_ks_const" variable_2="tau_ks_const"/>
</connection>
<connection>
<map_components component_1="Current_Iks" component_2="parameter"/>
<map_variables variable_1="v" variable_2="v"/>
<map_variables variable_1="Ko" variable_2="Ko"/>
</connection>
<connection>
<map_components component_1="gating_Iks" component_2="parameter"/>
<map_variables variable_1="v" variable_2="v"/>
</connection>
<connection>
<map_components component_1="parameter_Iks" component_2="gating_Iks"/>
<map_variables variable_1="ks_1" variable_2="ks_1"/>
<map_variables variable_1="ks_2" variable_2="ks_2"/>
<map_variables variable_1="ks_5" variable_2="ks_5"/>
<map_variables variable_1="ks_6" variable_2="ks_6"/>
<map_variables variable_1="tau_ks_const" variable_2="tau_ks_const"/>
</connection>
</model>