Location: Ikeda BMadonna QKDB @ c560868b736d / cellml / Kidney2.cellml

Author:
Ting Yu <ting.yu@auckland.ac.nz>
Date:
2014-05-05 11:11:02+12:00
Desc:
Change the unit from dimensionless to TODO.
Permanent Source URI:
https://models.cellml.org/workspace/194/rawfile/c560868b736d95fd544954a4a3d5875175c194dc/cellml/Kidney2.cellml

<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" name="Kidney2">
  <component name="Kidney2">
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="1">
        <eq/>
        <ci>YCAI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.007
        </cn>
      </apply>
      <apply id="2">
        <eq/>
        <ci>YMGI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.008
        </cn>
      </apply>
      <apply id="3">
        <eq/>
        <ci>YOGI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.01
        </cn>
      </apply>
      <apply id="4">
        <eq/>
        <ci>YPOI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.025
        </cn>
      </apply>
      <apply id="5">
        <eq/>
        <ci>YSOI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.02
        </cn>
      </apply>
      <apply id="6">
        <eq/>
        <ci>F50
        </ci>
        <apply>
          <plus/>
          <apply>
            <divide/>
            <apply>
              <minus/>
              <ci>PCOA
              </ci>
            </apply>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">120
            </cn>
          </apply>
          <apply>
            <divide/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">4
            </cn>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">3
            </cn>
          </apply>
        </apply>
      </apply>
      <apply id="7">
        <eq/>
        <ci>YCO3
        </ci>
        <piecewise>
          <piece>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
            </cn>
            <apply>
              <leq/>
              <apply>
                <times/>
                <ci>XCO3
                </ci>
                <ci>GFR
                </ci>
                <ci>F50
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">2
              </cn>
            </apply>
          </piece>
          <piece>
            <apply>
              <times/>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.1638
              </cn>
              <apply>
                <power/>
                <apply>
                  <minus/>
                  <apply>
                    <times/>
                    <ci>XCO3
                    </ci>
                    <ci>GFR
                    </ci>
                    <ci>F50
                    </ci>
                  </apply>
                  <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">2
                  </cn>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">2.61
                </cn>
              </apply>
            </apply>
            <apply>
              <and/>
              <apply>
                <gt/>
                <apply>
                  <times/>
                  <ci>XCO3
                  </ci>
                  <ci>GFR
                  </ci>
                  <ci>F50
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">2
                </cn>
              </apply>
              <apply>
                <leq/>
                <apply>
                  <times/>
                  <ci>XCO3
                  </ci>
                  <ci>GFR
                  </ci>
                  <ci>F50
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">4
                </cn>
              </apply>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>XCO3
                </ci>
                <ci>GFR
                </ci>
                <ci>F50
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">3
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="8">
        <eq/>
        <ci>YCA
        </ci>
        <piecewise>
          <piece>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
            </cn>
            <apply>
              <lt/>
              <apply>
                <times/>
                <ci>XCAE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.493
              </cn>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>XCAE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.493
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="9">
        <eq/>
        <ci>YMG
        </ci>
        <piecewise>
          <piece>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
            </cn>
            <apply>
              <lt/>
              <apply>
                <times/>
                <ci>XMGE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.292
              </cn>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>XMGE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.292
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="10">
        <eq/>
        <ci>YSO4
        </ci>
        <piecewise>
          <piece>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
            </cn>
            <apply>
              <lt/>
              <apply>
                <times/>
                <ci>XSO4
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.08
              </cn>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>XSO4
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.08
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="11">
        <eq/>
        <ci>YPO4
        </ci>
        <piecewise>
          <piece>
            <apply>
              <times/>
              <apply>
                <divide/>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">5
                </cn>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">22
                </cn>
              </apply>
              <ci>XPO4
              </ci>
              <ci>GFR
              </ci>
            </apply>
            <apply>
              <leq/>
              <apply>
                <times/>
                <ci>XPO4
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.11
              </cn>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <times/>
                <ci>XPO4
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.085
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="12">
        <eq/>
        <ci>YORG
        </ci>
        <piecewise>
          <piece>
            <apply>
              <divide/>
              <apply>
                <times/>
                <ci>XOGE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">60
              </cn>
            </apply>
            <apply>
              <leq/>
              <apply>
                <times/>
                <ci>XOGE
                </ci>
                <ci>GFR
                </ci>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.6
              </cn>
            </apply>
          </piece>
          <otherwise>
            <apply>
              <minus/>
              <apply>
                <divide/>
                <apply>
                  <times/>
                  <ci>XOGE
                  </ci>
                  <ci>GFR
                  </ci>
                </apply>
                <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">3
                </cn>
              </apply>
              <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.19
              </cn>
            </apply>
          </otherwise>
        </piecewise>
      </apply>
      <apply id="13">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZCAE
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YCAI
          </ci>
          <ci>YCA
          </ci>
        </apply>
      </apply>
      <apply id="14">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZMGE
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YMGI
          </ci>
          <ci>YMG
          </ci>
        </apply>
      </apply>
      <apply id="15">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZSO4
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YSOI
          </ci>
          <ci>YSO4
          </ci>
        </apply>
      </apply>
      <apply id="16">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZPO4
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YPOI
          </ci>
          <ci>YPO4
          </ci>
        </apply>
      </apply>
      <apply id="17">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZOGE
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YOGI
          </ci>
          <ci>YORG
          </ci>
        </apply>
      </apply>
      <apply id="18">
        <eq/>
        <apply>
          <diff/>
          <bvar>
            <ci>t
            </ci>
          </bvar>
          <ci>ZCLE
          </ci>
        </apply>
        <apply>
          <minus/>
          <ci>YCLI
          </ci>
          <ci>YCLU
          </ci>
        </apply>
      </apply>
      <apply id="19">
        <eq/>
        <ci>XCAE
        </ci>
        <apply>
          <divide/>
          <ci>ZCAE
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="20">
        <eq/>
        <ci>XMGE
        </ci>
        <apply>
          <divide/>
          <ci>ZMGE
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="21">
        <eq/>
        <ci>XSO4
        </ci>
        <apply>
          <divide/>
          <ci>ZSO4
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="22">
        <eq/>
        <ci>XPO4
        </ci>
        <apply>
          <divide/>
          <ci>ZPO4
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="23">
        <eq/>
        <ci>XOGE
        </ci>
        <apply>
          <divide/>
          <ci>ZOGE
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="24">
        <eq/>
        <ci>XCLE
        </ci>
        <apply>
          <divide/>
          <ci>ZCLE
          </ci>
          <ci>VEC
          </ci>
        </apply>
      </apply>
      <apply id="25">
        <eq/>
        <ci>XCLA
        </ci>
        <apply>
          <minus/>
          <ci>XCLE
          </ci>
          <ci>DCLA
          </ci>
        </apply>
      </apply>
      <apply id="26">
        <eq/>
        <ci>STBC
        </ci>
        <apply>
          <minus/>
          <apply>
            <plus/>
            <apply>
              <minus/>
              <apply>
                <minus/>
                <apply>
                  <minus/>
                  <apply>
                    <minus/>
                    <apply>
                      <plus/>
                      <ci>XCAE
                      </ci>
                      <ci>XMGE
                      </ci>
                    </apply>
                    <ci>XSO4
                    </ci>
                  </apply>
                  <apply>
                    <times/>
                    <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">1.8
                    </cn>
                    <ci>XPO4
                    </ci>
                  </apply>
                </apply>
                <ci>XOGE
                </ci>
              </apply>
              <ci>XCLE
              </ci>
            </apply>
            <ci>XNE
            </ci>
            <ci>XKE
            </ci>
          </apply>
          <apply>
            <times/>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.2214
            </cn>
            <ci>XPP
            </ci>
          </apply>
        </apply>
      </apply>
      <apply id="27">
        <eq/>
        <ci>YCLU
        </ci>
        <apply>
          <max/>
          <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
          </cn>
          <apply>
            <minus/>
            <apply>
              <plus/>
              <apply>
                <minus/>
                <apply>
                  <plus/>
                  <apply>
                    <minus/>
                    <apply>
                      <plus/>
                      <ci>YNU
                      </ci>
                      <ci>YKU
                      </ci>
                    </apply>
                    <ci>STPG
                    </ci>
                  </apply>
                  <ci>YNH4
                  </ci>
                </apply>
                <ci>YCO3
                </ci>
              </apply>
              <ci>YCA
              </ci>
              <ci>YMG
              </ci>
            </apply>
            <ci>YSO4
            </ci>
          </apply>
        </apply>
      </apply>
    </math>
    <variable name="YCAI" units="TODO"/>
    <variable name="YMGI" units="TODO"/>
    <variable name="YOGI" units="TODO"/>
    <variable name="YPOI" units="TODO"/>
    <variable name="YSOI" units="TODO"/>
    <variable name="F50" units="TODO"/>
    <variable name="PCOA" public_interface="in" units="TODO"/>
    <variable name="YCO3" public_interface="out" units="TODO"/>
    <variable name="XCO3" public_interface="in" units="TODO"/>
    <variable name="GFR" public_interface="in" units="TODO"/>
    <variable name="YCA" units="TODO"/>
    <variable name="XCAE" units="TODO"/>
    <variable name="YMG" units="TODO"/>
    <variable name="XMGE" units="TODO"/>
    <variable name="YSO4" units="TODO"/>
    <variable name="XSO4" units="TODO"/>
    <variable name="YPO4" public_interface="out" units="TODO"/>
    <variable name="XPO4" units="TODO"/>
    <variable name="YORG" public_interface="out" units="TODO"/>
    <variable name="XOGE" units="TODO"/>
    <variable name="t" public_interface="in" units="TODO"/>
    <variable initial_value="55" name="ZCAE" units="TODO"/>
    <variable initial_value="33" name="ZMGE" units="TODO"/>
    <variable initial_value="11" name="ZSO4" units="TODO"/>
    <variable initial_value="12.1" name="ZPO4" units="TODO"/>
    <variable initial_value="66" name="ZOGE" units="TODO"/>
    <variable initial_value="1144" name="ZCLE" units="TODO"/>
    <variable name="YCLI" public_interface="in" units="TODO"/>
    <variable name="YCLU" units="TODO"/>
    <variable name="VEC" public_interface="in" units="TODO"/>
    <variable name="XCLE" units="TODO"/>
    <variable name="XCLA" units="TODO"/>
    <variable name="DCLA" public_interface="in" units="TODO"/>
    <variable name="STBC" public_interface="out" units="TODO"/>
    <variable name="XNE" public_interface="in" units="TODO"/>
    <variable name="XKE" public_interface="in" units="TODO"/>
    <variable name="XPP" public_interface="in" units="TODO"/>
    <variable name="YNU" public_interface="in" units="TODO"/>
    <variable name="YKU" public_interface="in" units="TODO"/>
    <variable name="STPG" public_interface="in" units="TODO"/>
    <variable name="YNH4" public_interface="in" units="TODO"/>
  </component>
  <component name="InputsDummies5">
    <variable name="DCLA" public_interface="out" units="TODO"/>
    <math xmlns="http://www.w3.org/1998/Math/MathML">
      <apply id="28">
        <eq/>
        <ci>DCLA
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">24
        </cn>
      </apply>
      <apply id="29">
        <eq/>
        <ci>GFR
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.2
        </cn>
      </apply>
      <apply id="30">
        <eq/>
        <ci>PCOA
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">39.999299999999998
        </cn>
      </apply>
      <apply id="31">
        <eq/>
        <ci>VEC
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">2
        </cn>
      </apply>
      <apply id="32">
        <eq/>
        <ci>XCO3
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">24
        </cn>
      </apply>
      <apply id="33">
        <eq/>
        <ci>XKE
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">24.75
        </cn>
      </apply>
      <apply id="34">
        <eq/>
        <ci>XNE
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">770
        </cn>
      </apply>
      <apply id="35">
        <eq/>
        <ci>XPP
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">70
        </cn>
      </apply>
      <apply id="36">
        <eq/>
        <ci>YKU
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.39
        </cn>
      </apply>
      <apply id="37">
        <eq/>
        <ci>YNH4
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.024
        </cn>
      </apply>
      <apply id="38">
        <eq/>
        <ci>YNU
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
        </cn>
      </apply>
      <apply id="39">
        <eq/>
        <ci>STPG
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0
        </cn>
      </apply>
      <apply id="40">
        <eq/>
        <ci>YCLI
        </ci>
        <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="TODO">0.1328
        </cn>
      </apply>
    </math>
    <variable name="GFR" public_interface="out" units="TODO"/>
    <variable name="PCOA" public_interface="out" units="TODO"/>
    <variable name="VEC" public_interface="out" units="TODO"/>
    <variable name="XCO3" public_interface="out" units="TODO"/>
    <variable name="XKE" public_interface="out" units="TODO"/>
    <variable name="XNE" public_interface="out" units="TODO"/>
    <variable name="XPP" public_interface="out" units="TODO"/>
    <variable name="YKU" public_interface="out" units="TODO"/>
    <variable name="YNH4" public_interface="out" units="TODO"/>
    <variable name="YNU" public_interface="out" units="TODO"/>
    <variable name="STPG" public_interface="out" units="TODO"/>
    <variable name="YCLI" public_interface="out" units="TODO"/>
    <variable initial_value="0" name="t" public_interface="out" units="TODO"/>
  </component>
  <connection>
    <map_components component_1="Kidney2" component_2="InputsDummies5"/>
    <map_variables variable_1="DCLA" variable_2="DCLA"/>
    <map_variables variable_1="GFR" variable_2="GFR"/>
    <map_variables variable_1="PCOA" variable_2="PCOA"/>
    <map_variables variable_1="VEC" variable_2="VEC"/>
    <map_variables variable_1="XCO3" variable_2="XCO3"/>
    <map_variables variable_1="XKE" variable_2="XKE"/>
    <map_variables variable_1="XNE" variable_2="XNE"/>
    <map_variables variable_1="XPP" variable_2="XPP"/>
    <map_variables variable_1="YKU" variable_2="YKU"/>
    <map_variables variable_1="YNH4" variable_2="YNH4"/>
    <map_variables variable_1="YNU" variable_2="YNU"/>
    <map_variables variable_1="STPG" variable_2="STPG"/>
    <map_variables variable_1="YCLI" variable_2="YCLI"/>
    <map_variables variable_1="t" variable_2="t"/>
  </connection>
  <units name="TODO">
	  <unit units="dimensionless"/>
  </units>
</model>