Location: Carbon Dioxide pH/Gas Transport and Exchange @ 82e07d5d21b2 / rees_co2.cellml

Author:
Anand Rampadarath <aram148@UoA.auckland.ac.nz>
Date:
2022-07-14 11:40:06+12:00
Desc:
Working pH models
Permanent Source URI:
https://models.physiomeproject.org/workspace/8c0/rawfile/82e07d5d21b23c5f7c5fd6f33a2f5e8cc54c30fb/rees_co2.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="rees_co2" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
    <units name="dim">
        <unit units="dimensionless"/>
    </units>
    <units name="kPa">
        <unit units="joule"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="mmol_l">
        <unit prefix="milli" units="mole"/>
        <unit exponent="-1" units="litre"/>
    </units>
    <units name="L_per_s">
        <unit units="litre"/>
        <unit exponent="-1" units="second"/>
    </units>
    <component name="main">
        <variable initial_value="1" name="CO2_l" units="mmol_l"/>
        <variable initial_value="0" name="CO2_t" units="mmol_l"/>
        <variable initial_value="1" name="V_la" units="L_per_s"/>
        <variable name="V_Ae" units="L_per_s"/>
        <variable name="V_A" units="L_per_s"/>
        <variable name="PA_co2" units="kPa"/>
        <variable initial_value="101.3" name="BP" units="kPa"/>
        <variable initial_value="6.3" name="pH20" units="kPa"/>
        <variable initial_value="0.5" name="V_tp" units="L_per_s"/>
        <variable initial_value="0.25" name="V_tc" units="L_per_s"/>
        <variable initial_value="0" name="CO2_p" units="mmol_l"/>
        <variable initial_value="0.21" name="K" units="dim"/>
        <variable initial_value="0" name="t" units="dim"/>
        <variable name="A" units="L_per_s"/>
        <variable initial_value="0.25" name="f" units="dim"/>
        <variable initial_value="1" name="V_t" units="litre"/>
        <variable initial_value="0.5" name="V_D" units="litre"/>
        <variable initial_value="0.025" name="CO2_I" units="mmol_l"/>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>CO2_l</ci>
                </apply>
                <apply>
                    <divide/>
                    <apply>
                        <minus/>
                        <ci>V_la</ci>
                        <ci>V_Ae</ci>
                    </apply>
                    <ci>V_A</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>CO2_t</ci>
                </apply>
                <ci>A</ci>
            </apply>
            <apply>
                <eq/>
                <ci>A</ci>
                <apply>
                    <minus/>
                    <ci>V_tp</ci>
                    <ci>V_tc</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>PA_co2</ci>
                <apply>
                    <times/>
                    <ci>CO2_l</ci>
                    <apply>
                        <minus/>
                        <ci>BP</ci>
                        <ci>pH20</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <apply>
                    <diff/>
                    <bvar>
                        <ci>t</ci>
                    </bvar>
                    <ci>CO2_p</ci>
                </apply>
                <apply>
                    <times/>
                    <ci>K</ci>
                    <ci>A</ci>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_A</ci>
                <apply>
                    <times/>
                    <ci>f</ci>
                    <apply>
                        <minus/>
                        <ci>V_t</ci>
                        <ci>V_D</ci>
                    </apply>
                </apply>
            </apply>
            <apply>
                <eq/>
                <ci>V_Ae</ci>
                <apply>
                    <times/>
                    <ci>V_A</ci>
                    <apply>
                        <minus/>
                        <ci>CO2_l</ci>
                        <ci>CO2_I</ci>
                    </apply>
                </apply>
            </apply>
        </math>
    </component>
</model>