- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2022-08-17 11:26:32+12:00
- Desc:
- Add readMatrices and writeBGparas; modify whichComp to be string array; update readme
- Permanent Source URI:
- https://models.fieldml.org/workspace/6bc/rawfile/7a0891202d18fe6d01956b6768e3f10c3dc802c6/Components/Ionic_currents.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="Ionic_currents" 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="units.cellml">
<units name="nS" units_ref="nS"/>
<units name="pA" units_ref="pA"/>
<units name="mV" units_ref="mV"/>
</import>
<component name="Ionic_currents">
<variable name="V" public_interface="in" units="mV"/>
<variable name="E" public_interface="in" units="mV"/>
<variable name="g_max" public_interface="in" units="nS"/>
<variable name="PO" public_interface="in" units="dimensionless"/>
<variable name="I" public_interface="out" units="pA"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply id="I_calculation">
<eq/>
<ci>I</ci>
<apply>
<times/>
<ci>g_max</ci>
<ci>PO</ci>
<apply>
<minus/>
<ci>V</ci>
<ci>E</ci>
</apply>
</apply>
</apply>
</math>
</component>
</model>