Location: Carbon Dioxide pH/Gas Transport and Exchange @ afeeca156d18 / rees_co2_exported.cellml

Author:
aram148 <42922407+aram148@users.noreply.github.com>
Date:
2022-07-19 16:08:46+12:00
Desc:
Added CO2 exchange and pH bg models
Permanent Source URI:
https://models.physiomeproject.org/workspace/8c0/rawfile/afeeca156d18d9435303b544ea071f7cf868595d/rees_co2_exported.cellml

<?xml version='1.0' encoding='UTF-8'?>
<model name="rees_co2" xmlns="http://www.cellml.org/cellml/1.0#">
    <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 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 name="V_tp" units="L_per_s"/>
        <variable 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" xmlns:cellml="http://www.cellml.org/cellml/1.0#">
            <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>