Location: Shi, Hose, 2009 @ 9886c6abed5a / EVentricle.cellml

Author:
Yubing Shi <y.shi@shef.ac.uk>
Date:
2010-10-20 16:07:08+13:00
Desc:
Test model to test heart valve model. Still requires some other changes to files that it depends on via imports.
Permanent Source URI:
http://models.cellml.org/workspace/shi_hose_2009/rawfile/9886c6abed5ad7a503aed5bb8ee3f3f39733e9f1/EVentricle.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="EVentricle" name="EVentricle">

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="Units.cellml">



<units name="UnitE" units_ref="UnitE"/>
</import>

<component name="EVentricle">

<variable name="Emax" public_interface="in" units="UnitE"/>
<variable name="Emin" public_interface="in" units="UnitE"/>
<variable name="T" public_interface="in" units="second"/>
<variable name="Ts1" public_interface="in" units="dimensionless"/>
<variable name="Ts2" public_interface="in" units="dimensionless"/>
<variable name="E" public_interface="out" units="UnitE"/>
<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>et</ci><piecewise><piece><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="radian">3.14159</cn><ci>mt</ci></apply><apply><times/><ci>Ts1</ci><ci>T</ci></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>Ts1</ci><ci>T</ci></apply></apply></apply></piece><piece><apply><plus/><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="radian">3.14159</cn><apply><minus/><ci>mt</ci><apply><times/><ci>Ts1</ci><ci>T</ci></apply></apply></apply><apply><times/><apply><minus/><ci>Ts2</ci><ci>Ts1</ci></apply><ci>T</ci></apply></apply></apply></apply><apply><and/><apply><gt/><ci>mt</ci><apply><times/><ci>Ts1</ci><ci>T</ci></apply></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="dimensionless">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>E</ci><apply><plus/><ci>Emin</ci><apply><divide/><apply><times/><ci>et</ci><apply><minus/><ci>Emax</ci><ci>Emin</ci></apply></apply><cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="dimensionless">2</cn></apply></apply></apply></math>
<variable name="mt" units="second"/><variable name="et" units="dimensionless"/></component>

</model>