Location: Weak Acid Hydration @ a9e07a6d819b / CO2.cellml

Author:
Soroush Safaei <ssaf006@aucklanduni.ac.nz>
Date:
2016-07-05 14:22:02+12:00
Desc:
adding the CO2 hydration model
Permanent Source URI:
https://models.cellml.org/workspace/34d/rawfile/a9e07a6d819bc82450cb189cf85f3932a2c09f0f/CO2.cellml

<?xml version='1.0'?>
<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="per_s" units_ref="per_s"/>
    </import>
    <component name="Hydration">
        <variable name="J_hyd" public_interface="out" units="mM_per_s"/>
        <variable initial_value="0.365" name="k_hyd_1" units="per_s"/>
        <variable initial_value="0.48e6" name="k_hyd_2" units="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>