- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-01-20 12:46:30+13:00
- Desc:
- revert the scaling in the currents
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/701/rawfile/1451a14f3fbe8fd7aacd0d0a73d87cec591b26de/Components/IKleak.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="IKleak" 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="ms" units_ref="ms"/>
<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="uJ_per_K_mmol" units_ref="uJ_per_K_mmol"/>
<units name="C_per_mol" units_ref="C_per_mol"/>
<units name="pF" units_ref="pF"/>
</import>
<import xlink:href="../cellLib/Components/Ionic_currents.cellml">
<component component_ref="Ionic_currents" name="I_pA"/>
</import>
<import xlink:href="../cellLib/Components/E_Nernst.cellml">
<component component_ref="E_K" name="E_K"/>
</import>
<component name="IKleak">
<variable name="time" private_interface="out" public_interface="in" units="ms"/>
<variable name="I_Kleak" private_interface="in" public_interface="out" units="pA_per_pF"/>
<variable name="V" private_interface="out" public_interface="in" units="mV"/>
<variable name="g_Kleak" private_interface="out" public_interface="in" units="nS_per_pF"/>
<variable name="C_est" private_interface="out" public_interface="in" units="pF"/>
<variable name="R" private_interface="out" public_interface="in" units="uJ_per_K_mmol"/>
<variable name="F" private_interface="out" public_interface="in" units="C_per_mol"/>
<variable name="T" private_interface="out" public_interface="in" units="kelvin"/>
<variable name="Ko" private_interface="out" public_interface="in" units="mM"/>
<variable name="Ki" private_interface="out" public_interface="in" units="mM"/>
<variable name="P_Kleak" private_interface="out" public_interface="out" units="dimensionless"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>P_Kleak</ci>
<cn cellml:units="dimensionless">1</cn>
</apply>
</math>
</component>
<component name="convert_I_pA">
<variable name="I_Kleak" public_interface="out" units="pA_per_pF"/>
<variable name="g_Kleak_ns" public_interface="out" units="nS"/>
<variable name="I_pA" public_interface="in" units="pA"/>
<variable name="g_Kleak" public_interface="in" units="nS_per_pF"/>
<variable name="C_est" public_interface="in" units="pF"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>g_Kleak_ns</ci>
<apply>
<times/>
<ci>g_Kleak</ci>
<ci>C_est</ci>
</apply>
</apply>
<apply>
<eq/>
<ci>I_Kleak</ci>
<apply>
<divide/>
<ci>I_pA</ci>
<ci>C_est</ci>
</apply>
</apply>
</math>
</component>
<group>
<relationship_ref relationship="encapsulation"/>
<component_ref component="IKleak">
<component_ref component="I_pA"/>
<component_ref component="convert_I_pA"/>
<component_ref component="E_K"/>
</component_ref>
</group>
<connection>
<map_components component_1="IKleak" component_2="I_pA"/>
<map_variables variable_1="V" variable_2="V"/>
<map_variables variable_1="P_Kleak" variable_2="PO"/>
</connection>
<connection>
<map_components component_1="IKleak" component_2="E_K"/>
<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="Ki" variable_2="Ki"/>
<map_variables variable_1="Ko" variable_2="Ko"/>
</connection>
<connection>
<map_components component_1="E_K" component_2="I_pA"/>
<map_variables variable_1="E_K" variable_2="E"/>
</connection>
<connection>
<map_components component_1="convert_I_pA" component_2="I_pA"/>
<map_variables variable_1="I_pA" variable_2="I"/>
<map_variables variable_1="g_Kleak_ns" variable_2="g_max"/>
</connection>
<connection>
<map_components component_1="IKleak" component_2="convert_I_pA"/>
<map_variables variable_1="I_Kleak" variable_2="I_Kleak"/>
<map_variables variable_1="g_Kleak" variable_2="g_Kleak"/>
<map_variables variable_1="C_est" variable_2="C_est"/>
</connection>
</model>