Location: pH control @ 2b59edd002f0 / PressureConversion.cellml

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2013-09-13 17:17:29+12:00
Desc:
Initial value for HCO3 is now calculated from given initial pH and initial CO2 partial pressure, in the same way as in the Mathematica document. The system now remains at equilibrium :-) Also, using kf = K kb, with kb=1 and K calculated from given pK = 6.1, which is apparently the accepted value in the textbooks. Also, now actually using the initial values for CO2 concentration that was calculated from given partial pressure.
Permanent Source URI:
https://models.physiomeproject.org/workspace/178/rawfile/2b59edd002f0721d39e738789ddbbe9529b4de3e/PressureConversion.cellml

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" cmeta:id="PressureConversion" name="PressureConversion">
  <component name="ConcToPPres">
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="ConcToPPres">
      <apply id="ConcToPPres">
        <eq/>
        <ci>Px
        </ci>
        <apply>
          <divide/>
          <ci>Cx
          </ci>
          <ci>solubility
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="Px" public_interface="out" units="pascal"/>
    <variable name="Cx" public_interface="in" units="M"/>
    <variable name="solubility" public_interface="in" units="M_per_pascal"/>
  </component>
  <units name="M">
    <unit units="mole"/>
    <unit exponent="-1" units="litre"/>
  </units>
  <component name="PPresToConc">
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="PPresToConc">
      <apply id="PPresToConc">
        <eq/>
        <ci>Cx
        </ci>
        <apply>
          <times/>
          <ci>Px
          </ci>
          <ci>solubility
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="Cx" public_interface="out" units="M"/>
    <variable name="Px" public_interface="in" units="pascal"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="Auxilliary">
      <apply id="Px_proxy">
        <eq/>
        <ci>Px_proxy
        </ci>
        <ci>Px
        </ci>
      </apply>
    </math>
    <variable name="Px_proxy" units="pascal"/>
    <variable name="solubility" public_interface="in" units="M_per_pascal"/>
  </component>
  <units name="M_per_pascal">
    <unit units="M"/>
    <unit exponent="-1" units="pascal"/>
  </units>
</model>