- Author:
- David Nickerson <david.nickerson@gmail.com>
- Date:
- 2021-11-25 11:13:34+13:00
- Desc:
- making internal links in overview relative instead of absolute
- Permanent Source URI:
- https://models.cellml.org/workspace/702/rawfile/430939c5c1b887fcf0d899b0dd11370b77bf495f/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="104.7488" name="k_new" public_interface="out" units="dimensionless"/>
<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="dimensionless">150</cn>
<apply>
<eq/>
<ci>protocol</ci>
<cn cellml:units="dimensionless">1</cn>
</apply>
</piece>
<piece>
<cn cellml:units="dimensionless">148</cn>
<apply>
<eq/>
<ci>protocol</ci>
<cn cellml:units="dimensionless">2</cn>
</apply>
</piece>
<piece>
<ci>k_new</ci>
<apply>
<eq/>
<ci>protocol</ci>
<cn cellml:units="dimensionless">0</cn>
</apply>
</piece>
<otherwise>
<cn cellml:units="dimensionless">125</cn>
</otherwise>
</piecewise>
</apply>
</math>
</component>
</model>