Location: Cardiovascular Circulation DVad @ 13fe14bd8114 / TempDPump.cellml

Author:
Hanne <Hanne@hanne-nielsens-macbook.local>
Date:
2010-06-10 11:06:48+12:00
Desc:
Added images in ai svg and png format
Permanent Source URI:
https://models.cellml.org/workspace/cardiovascular_circulation_dvad/rawfile/13fe14bd8114c208c66f3b720e45f56530fcabe0/TempDPump.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="TempDPump" name="TempDPump">

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="Units.cellml">
<units name="UnitP" units_ref="UnitP"/>
<units name="UnitQ" units_ref="UnitQ"/>
<units name="UnitR" units_ref="UnitR"/>
<units name="UnitC" units_ref="UnitC"/>
</import>

<component name="TempDPump">
<variable name="Qvi" public_interface="out" units="UnitQ"/>
<variable name="Qvo" public_interface="out" units="UnitQ"/>
<variable name="t" public_interface="in" units="second"/>
<variable name="Qai" public_interface="in" units="UnitQ"/>
<variable name="Qao" public_interface="in" units="UnitQ"/>
<variable name="mt" units="second"/>
<variable name="Ts2" public_interface="in" units="dimensionless"/>
<variable name="T" public_interface="in" units="second"/>

<math xmlns="http://www.w3.org/1998/Math/MathML">

<apply><eq/><ci>mt</ci><apply><minus/><ci>t</ci><apply><times/><ci>T</ci><apply><floor/><apply><divide/><ci>t</ci><ci>T</ci></apply></apply></apply></apply></apply>
<apply><eq/><ci>Qvi</ci><piecewise><piece><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.5</cn><ci>Qai</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><cos/><apply><divide/><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3.14159</cn><ci>mt</ci></apply><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply></apply></apply></apply><apply><and/><apply><geq/><ci>mt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0</cn></apply><apply><leq/><ci>mt</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply></apply></piece><piece><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="UnitQ">0</cn><apply><and/><apply><gt/><ci>mt</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply><apply><lt/><ci>mt</ci><ci>T</ci></apply></apply></piece></piecewise></apply>
<apply><eq/><ci>Qvo</ci><piecewise><piece><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="UnitQ">0</cn><apply><and/><apply><geq/><ci>mt</ci><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="second">0</cn></apply><apply><leq/><ci>mt</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply></apply></piece><piece><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">0.5</cn><ci>Qao</ci><apply><minus/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">1</cn><apply><cos/><apply><divide/><apply><times/><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">3.14159</cn><apply><minus/><ci>mt</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply></apply><apply><minus/><ci>T</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply></apply></apply></apply></apply><apply><and/><apply><gt/><ci>mt</ci><apply><times/><ci>Ts2</ci><ci>T</ci></apply></apply><apply><lt/><ci>mt</ci><ci>T</ci></apply></apply></piece></piecewise></apply>

</math>

</component>

</model>