Location: pH control @ f005ef715944 / PressureConversion.cellml

Author:
Randall Britten <r.britten@auckland.ac.nz>
Date:
2013-09-11 17:30:34+12:00
Desc:
Turns out that you have to use the reciprocal as the multiplier!
Permanent Source URI:
https://models.physiomeproject.org/workspace/178/rawfile/f005ef715944cfc7f4035a7a7d5cad7f8a1da2a5/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="GasConstant">
      <apply>
        <eq/>
        <ci>R
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="GasConstantUnits">8314.462100000000646
        </cn>
      </apply>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="ConcToPPres">
      <apply id="ConcToPPres">
        <eq/>
        <ci>Px
        </ci>
        <apply>
          <times/>
          <ci>R
          </ci>
          <ci>T
          </ci>
          <ci>Cx
          </ci>
        </apply>
      </apply>
    </math>
    <variable name="Px" public_interface="out" units="pascal"/>
    <variable name="R" units="GasConstantUnits"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <variable name="Cx" public_interface="in" units="M"/>
  </component>
  <units name="mmHg">
    <unit multiplier="0.00750064" units="pascal"/>
  </units>
  <units name="M">
    <unit units="mole"/>
    <unit exponent="-1" units="litre"/>
  </units>
  <units name="GasConstantUnits">
    <unit exponent="-1" units="kelvin"/>
    <unit exponent="-1" units="mole"/>
    <unit units="litre"/>
    <unit units="pascal"/>
  </units>
  <component name="PPresToConc">
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="GasConstant">
      <apply>
        <eq/>
        <ci>R
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="GasConstantUnits">8314.462100000000646
        </cn>
      </apply>
    </math>
    <math xmlns="http://www.w3.org/1998/Math/MathML" id="PPresToConc">
      <apply id="PPresToConc">
        <eq/>
        <ci>Cx
        </ci>
        <apply>
          <divide/>
          <ci>Px
          </ci>
          <apply>
            <times/>
            <ci>R
            </ci>
            <ci>T
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="Cx" public_interface="out" units="M"/>
    <variable name="Px" public_interface="in" units="pascal"/>
    <variable name="R" units="GasConstantUnits"/>
    <variable name="T" public_interface="in" units="kelvin"/>
    <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="mmHg"/>
  </component>
</model>