Location: Weak Acid Hydration @ 75c1c5a596eb / CO2.cellml

Author:
Soroush Safaei <ssaf006@aucklanduni.ac.nz>
Date:
2016-07-20 18:58:20+12:00
Desc:
update units
Permanent Source URI:
https://models.cellml.org/workspace/34d/rawfile/75c1c5a596eb89d1833e1f064aebe8f4872a16bf/CO2.cellml

<?xml version='1.0'?>
<!-- If J_hyd>0 then [CO2] is decreasing and [HCO3] is increasing and vice versa.-->
<model cmeta:id="CO2_hydration" name="CO2_hydration" 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/Units.cellml">
        <units name="mM" units_ref="mM"/>
        <units name="cm_per_s" units_ref="cm_per_s"/>
        <units name="umol_per_s_per_cm2" units_ref="umol_per_s_per_cm2"/>
    </import>
    <component name="Hydration">
        <variable name="J_hyd" public_interface="out" units="umol_per_s_per_cm2"/>
        <variable initial_value="0.365" name="k_hyd_1" units="cm_per_s"/>
        <variable initial_value="0.48e6" name="k_hyd_2" units="cm_per_s"/>
        <variable name="pH" public_interface="in" units="dimensionless"/>
        <variable name="CO2" public_interface="in" units="mM"/>
        <variable name="HCO3" public_interface="in" units="mM"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <ci>J_hyd</ci>
                <apply>
                    <minus/>
                    <apply>
                        <times/>
                        <ci>k_hyd_1</ci>
                        <ci>CO2</ci>
                    </apply>
                    <apply>
                        <times/>
                        <ci>k_hyd_2</ci>
                        <apply>
                            <power/>
                            <cn cellml:units="dimensionless">10</cn>
                            <apply>
                                <minus/>
                                <ci>pH</ci>
                            </apply>
                        </apply>
                        <ci>HCO3</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>