- Author:
- nima <nafs080@aucklanduni.ac.nz>
- Date:
- 2021-11-20 11:34:16+13:00
- Desc:
- Modular version
- Permanent Source URI:
- https://models.cellml.org/workspace/702/rawfile/74afce5d6e0e50d8c69eba7a7d8e5fc37f8c022a/Components/gating_Ik1.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="gating_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="per_ms" units_ref="per_ms"/>
<units name="mV" units_ref="mV"/>
<!-- unit mM using unit mM;-->
<units name="mV_ms" units_ref="mV_ms"/>
<units name="ms" units_ref="ms"/>
<!-- unit pA_per_pF using unit pA_per_pF;
unit nS_per_pF using unit nS_per_pF;-->
</import>
<component name="gating_Ik1">
<variable name="v" public_interface="in" units="mV"/>
<!--Equation for Ik1 gatting-->
<variable name="alpha_act" public_interface="out" units="per_ms"/>
<variable name="beta_act" public_interface="out" units="per_ms"/>
<!-- var tau: ms {pub: out};-->
<variable name="x_inf_act_Ik1" public_interface="out" units="dimensionless"/>
<!-- var var_1: nS_per_pF {pub: in};-->
<variable name="var_2" public_interface="in" units="per_ms"/>
<variable name="var_3" public_interface="in" units="mV"/>
<variable name="var_4" public_interface="in" units="mV"/>
<variable name="var_5" public_interface="in" units="mV_ms"/>
<variable name="var_6" public_interface="in" units="mV"/>
<!-- // var x3: dimensionless {pub: out};-->
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>alpha_act</ci>
<apply>
<times/>
<ci>var_2</ci>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>v</ci>
<ci>var_4</ci>
</apply>
<ci>var_3</ci>
</apply>
</apply>
</apply>
</apply>
<apply>
<eq/>
<ci>beta_act</ci>
<apply>
<exp/>
<apply>
<divide/>
<apply>
<plus/>
<ci>v</ci>
<ci>var_6</ci>
</apply>
<ci>var_5</ci>
</apply>
</apply>
</apply>
<!-- // tau = 1{dimensionless}/(alpha+beta)+x7;-->
<apply>
<eq/>
<ci>x_inf_act_Ik1</ci>
<apply>
<divide/>
<ci>alpha_act</ci>
<apply>
<plus/>
<ci>alpha_act</ci>
<ci>beta_act</ci>
</apply>
</apply>
</apply>
</math>
</component>
</model>