Location: OpenCOR @ 902e04339cd9 / tests / cellml / cellml_1_1 / components / Ileak.xml

Author:
Alan Garny <a.garny@auckland.ac.nz>
Date:
2018-12-05 18:16:37-05:00
Desc:
Models that come with the OpenCOR repository.
Permanent Source URI:
http://models.cellml.org/workspace/55d/rawfile/902e04339cd9643a375562c2b871da8a3a801060/tests/cellml/cellml_1_1/components/Ileak.xml

<?xml version='1.0'?>
<model name="Ileak" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink">
    <import xlink:href="units.xml">
        <units name="mV" units_ref="mV"/>
        <units name="uA_per_cmsq" units_ref="uA_per_cmsq"/>
        <units name="mS_per_cmsq" units_ref="mS_per_cmsq"/>
    </import>
    <component name="Ileak">
        <variable name="Ileak" private_interface="out" public_interface="out" units="uA_per_cmsq"/>
        <variable name="V" private_interface="out" public_interface="in" units="mV"/>
        <variable name="Vleak" private_interface="out" public_interface="in" units="mV"/>
        <variable name="gleak_max" private_interface="out" public_interface="in" units="mS_per_cmsq"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply cmeta:id="Ileak_calculation">
                <eq/>
                <ci>Ileak</ci>
                <apply>
                    <times/>
                    <ci>gleak_max</ci>
                    <apply>
                        <minus/>
                        <ci>V</ci>
                        <ci>Vleak</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>