- Author:
- nima <nafs080@aucklanduni.ac.nz>
- Date:
- 2021-10-20 17:20:29+13:00
- Desc:
- Updated documentation
- Permanent Source URI:
- https://models.cellml.org/workspace/702/rawfile/039d86eef7a89663b867710b506bd7a266fcdbeb/Components/Protocol.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="Protocol_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="mV_ms" units_ref="mV_ms"/>
</import>
<component name="Protocol">
<variable name="Ki" public_interface="out" units="mM"/>
<variable initial_value="0" name="protocol" public_interface="out" units="dimensionless"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<ci>Ki</ci>
<piecewise>
<piece>
<cn cellml:units="mM">150</cn>
<apply>
<eq/>
<ci>protocol</ci>
<cn cellml:units="dimensionless">1</cn>
</apply>
</piece>
<piece>
<cn cellml:units="mM">148</cn>
<apply>
<eq/>
<ci>protocol</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
</piece>
<otherwise>
<cn cellml:units="mM">125</cn>
</otherwise>
</piecewise>
</apply>
</math>
</component>
</model>