Location: cellLib @ a7940fcacd45 / Components / Xi.cellml

Author:
WeiweiAi <wai484@aucklanduni.ac.nz>
Date:
2023-04-04 15:51:18+12:00
Desc:
Add a steady state example
Permanent Source URI:
https://models.fieldml.org/workspace/6bc/rawfile/a7940fcacd455a09bdb7beac0da91eca79cf1adb/Components/Xi.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="Xi" 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="mM" units_ref="mM"/>
        <units name="ms" units_ref="ms"/>
        <units name="pA_per_pF" units_ref="pA_per_pF"/>
        <units name="pA" units_ref="pA"/>
        <units name="C_per_mol" units_ref="C_per_mol"/>
        <units name="mF_per_cmsq" units_ref="mF_per_cmsq"/>
        <units name="cmsq" units_ref="cmsq"/>
        <units name="cm3" units_ref="cm3"/>
    </import>
    <component name="Xi">
        <variable name="time" public_interface="in" units="ms"/>
        <variable name="Xi_init" public_interface="in" units="mM"/>
        <variable name="IX_tot" public_interface="in" units="pA_per_pF"/>
        <variable name="Cm" public_interface="in" units="mF_per_cmsq"/>
        <variable name="Ac" public_interface="in" units="cmsq"/>
        <variable name="z_X" public_interface="in" units="dimensionless"/>
        <variable name="F" public_interface="in" units="C_per_mol"/>
        <variable name="Vc" public_interface="in" units="cm3"/>
        <variable initial_value="Xi_init" name="Xi" public_interface="out" units="mM"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>time</ci>
                    </bvar>
                    <ci>Xi</ci>
                </apply>
                <apply>
                    <times/>
                    <apply>
                        <divide/>
                        <apply>
                            <times/>
                            <apply>
                                <minus/>
                                <ci>Ac</ci>
                            </apply>
                            <ci>Cm</ci>
                        </apply>
                        <apply>
                            <times/>
                            <ci>Vc</ci>
                            <ci>z_X</ci>
                            <ci>F</ci>
                        </apply>
                    </apply>
                    <ci>IX_tot</ci>
                </apply>
            </apply>
        </math>
    </component>
</model>