- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-09-14 17:32:05+12:00
- Desc:
- Add NS currents
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/701/rawfile/1e8a68c9f92122aab2a28b05b34afe5aac611fdf/Components/ISOCNa.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="ISOCNa" 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="../cellLib/Components/units.cellml">
<units name="pA_per_pF" units_ref="pA_per_pF"/>
<units name="pA" units_ref="pA"/>
<units name="nS" units_ref="nS"/>
<units name="mV" units_ref="mV"/>
<units name="mM" units_ref="mM"/>
<units name="nS_per_pF" units_ref="nS_per_pF"/>
<units name="J_per_K_mol" units_ref="J_per_K_mol"/>
<units name="C_per_mmol" units_ref="C_per_mmol"/>
<units name="pF_per_cmsq" units_ref="pF_per_cmsq"/>
<units name="cmsq" units_ref="cmsq"/>
</import>
<import xlink:href="../cellLib/Components/Ionic_currents.cellml">
<component component_ref="Ionic_currents" name="I_SOCNa_pA"/>
</import>
<import xlink:href="../cellLib/Components/E_Nernst.cellml">
<component component_ref="E_Na" name="E_Na"/>
</import>
<import xlink:href="../cellLib/Components/Hillfcn.cellml">
<component component_ref="Hillfcn" name="P_SOC"/>
</import>
<component name="ISOCNa">
<variable name="V" private_interface="out" public_interface="in" units="mV"/>
<variable name="g_SOCNa" private_interface="out" public_interface="in" units="nS_per_pF"/>
<variable name="Cm" private_interface="out" public_interface="in" units="pF_per_cmsq"/>
<variable name="Ac" private_interface="out" public_interface="in" units="cmsq"/>
<variable name="R" private_interface="out" public_interface="in" units="J_per_K_mol"/>
<variable name="F" private_interface="out" public_interface="in" units="C_per_mmol"/>
<variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
<variable name="Nao" private_interface="out" public_interface="in" units="mM"/>
<variable name="Nai" private_interface="out" public_interface="in" units="mM"/>
<variable name="Cai" private_interface="out" public_interface="in" units="mM"/>
<variable name="K_mSOC" public_interface="in" units="mM"/>
<variable name="x_h" private_interface="out" units="dimensionless"/>
<variable initial_value="1" name="n_h" private_interface="out" units="dimensionless"/>
<variable name="I_SOCNa" private_interface="in" public_interface="out" units="pA_per_pF"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>x_h</ci>
<apply>
<divide/>
<ci>Cai</ci>
<ci>K_mSOC</ci>
</apply>
</apply>
</math>
</component>
<connection>
<map_components component_1="ISOCNa" component_2="P_SOC"/>
<map_variables variable_1="x_h" variable_2="x"/>
<map_variables variable_1="n_h" variable_2="n"/>
</connection>
<component name="convert_I_SOCNa_pA">
<variable name="I_SOCNa" public_interface="out" units="pA_per_pF"/>
<variable name="g_SOCNa_ns" public_interface="out" units="nS"/>
<variable name="I_SOCNa_pA" public_interface="in" units="pA"/>
<variable name="g_SOCNa" public_interface="in" units="nS_per_pF"/>
<variable name="Cm" public_interface="in" units="pF_per_cmsq"/>
<variable name="Ac" public_interface="in" units="cmsq"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>g_SOCNa_ns</ci>
<apply>
<times/>
<ci>g_SOCNa</ci>
<ci>Cm</ci>
<ci>Ac</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>I_SOCNa</ci>
<apply>
<divide/>
<ci>I_SOCNa_pA</ci>
<apply>
<times/>
<ci>Cm</ci>
<ci>Ac</ci>
</apply>
</apply>
</apply>
</math>
</component>
<group>
<relationship_ref relationship="encapsulation"/>
<component_ref component="ISOCNa">
<component_ref component="I_SOCNa_pA"/>
<component_ref component="convert_I_SOCNa_pA"/>
<component_ref component="E_Na"/>
<component_ref component="P_SOC"/>
</component_ref>
</group>
<connection>
<map_components component_1="ISOCNa" component_2="I_SOCNa_pA"/>
<map_variables variable_1="V" variable_2="V"/>
</connection>
<connection>
<map_components component_1="ISOCNa" component_2="E_Na"/>
<map_variables variable_1="R" variable_2="R"/>
<map_variables variable_1="F" variable_2="F"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="Nai" variable_2="Nai"/>
<map_variables variable_1="Nao" variable_2="Nao"/>
</connection>
<connection>
<map_components component_1="E_Na" component_2="I_SOCNa_pA"/>
<map_variables variable_1="E_Na" variable_2="E"/>
</connection>
<connection>
<map_components component_1="P_SOC" component_2="I_SOCNa_pA"/>
<map_variables variable_1="H" variable_2="PO"/>
</connection>
<connection>
<map_components component_1="convert_I_SOCNa_pA" component_2="I_SOCNa_pA"/>
<map_variables variable_1="I_SOCNa_pA" variable_2="I"/>
<map_variables variable_1="g_SOCNa_ns" variable_2="g_max"/>
</connection>
<connection>
<map_components component_1="ISOCNa" component_2="convert_I_SOCNa_pA"/>
<map_variables variable_1="I_SOCNa" variable_2="I_SOCNa"/>
<map_variables variable_1="g_SOCNa" variable_2="g_SOCNa"/>
<map_variables variable_1="Cm" variable_2="Cm"/>
<map_variables variable_1="Ac" variable_2="Ac"/>
</connection>
</model>