Location: Cardiovascular Circulation Westkessel @ 5860b42bdf21 / ModelHeart.cellml

Author:
David Nickerson <nickerso@users.sourceforge.net>
Date:
2014-04-06 07:18:02+12:00
Desc:
adding a flattened version of the model created by code from https://github.com/nickerso/flattenCellML; this flattened model works in the 1D transient flow OpenCMISS-Iron example
Permanent Source URI:
https://models.cellml.org/workspace/197/rawfile/5860b42bdf210de346e2556fe99a5c7dd8199514/ModelHeart.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="ModelHeart" name="ModelHeart">

<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="UnitV" units_ref="UnitV"/>
<units name="UnitCV" units_ref="UnitCV"/>
<units name="UnitE" units_ref="UnitE"/>
</import>

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="TempCDv.cellml">
<component component_ref="TempCDv" name="LV"/>
</import>

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="TempCDa.cellml">
<component component_ref="TempCDa" name="LA"/>
</import>

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="EAtrium.cellml">
<component component_ref="EAtrium" name="Ela"/>
</import>

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="EVentricle.cellml">
<component component_ref="EVentricle" name="Elv"/>
</import>

<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="ParamHeart.cellml">
<component component_ref="ParamHeart" name="ParamHeart"/>
</import>

<component name="environment">
<variable initial_value="0.0" name="t" public_interface="out" units="second"/>
</component>

<component name="Heart">
<variable name="Pi" private_interface="in" public_interface="out" units="UnitP"/>
<variable initial_value="1.0" name="Po" private_interface="out" public_interface="out" units="UnitP"/>
<variable initial_value="1.0" name="Qi" private_interface="out" public_interface="out" units="UnitQ"/>
<variable name="Qo" private_interface="in" public_interface="out" units="UnitQ"/>
</component>

<group>
<relationship_ref relationship="encapsulation"/>
<component_ref component="Heart">
<component_ref component="environment"/>
<component_ref component="LV"/>
<component_ref component="LA"/>
<component_ref component="Elv"/>
<component_ref component="Ela"/>
<component_ref component="ParamHeart"/>
</component_ref>
</group>

<connection>
<map_components component_1="environment" component_2="Ela"/>
<map_variables variable_1="t" variable_2="t"/>
</connection>

<connection>
<map_components component_1="environment" component_2="Elv"/>
<map_variables variable_1="t" variable_2="t"/>
</connection>

<connection>
<map_components component_1="environment" component_2="LA"/>
<map_variables variable_1="t" variable_2="t"/>
</connection>

<connection>
<map_components component_1="environment" component_2="LV"/>
<map_variables variable_1="t" variable_2="t"/>
</connection>

<connection>
<map_components component_1="Heart" component_2="LA"/>
<map_variables variable_1="Pi" variable_2="Pi"/>
<map_variables variable_1="Qi" variable_2="Qi"/>
</connection>

<connection>
<map_components component_1="Heart" component_2="LV"/>
<map_variables variable_1="Po" variable_2="Po"/>
<map_variables variable_1="Qo" variable_2="Qo"/>
</connection>

<connection>
<map_components component_1="LA" component_2="LV"/>
<map_variables variable_1="Po" variable_2="Pi"/>
<map_variables variable_1="Qo" variable_2="Qi"/>
</connection>

<connection>
<map_components component_1="ParamHeart" component_2="LA"/>
<map_variables variable_1="PlaIni" variable_2="Pini"/>
<map_variables variable_1="VlaIni" variable_2="Vini"/>
<map_variables variable_1="CVmi" variable_2="CV"/>
<map_variables variable_1="Vla0" variable_2="V0"/>
</connection>

<connection>
<map_components component_1="ParamHeart" component_2="LV"/>
<map_variables variable_1="PlvIni" variable_2="Pini"/>
<map_variables variable_1="VlvIni" variable_2="Vini"/>
<map_variables variable_1="CVao" variable_2="CV"/>
<map_variables variable_1="Vlv0" variable_2="V0"/>
</connection>

<connection>
<map_components component_1="ParamHeart" component_2="Ela"/>
<map_variables variable_1="ElaMax" variable_2="Emax"/>
<map_variables variable_1="ElaMin" variable_2="Emin"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="Tpwb" variable_2="Tpwb"/>
<map_variables variable_1="Tpww" variable_2="Tpww"/>
</connection>

<connection>
<map_components component_1="ParamHeart" component_2="Elv"/>
<map_variables variable_1="ElvMax" variable_2="Emax"/>
<map_variables variable_1="ElvMin" variable_2="Emin"/>
<map_variables variable_1="T" variable_2="T"/>
<map_variables variable_1="Ts1" variable_2="Ts1"/>
<map_variables variable_1="Ts2" variable_2="Ts2"/>
</connection>

<connection>
<map_components component_1="LA" component_2="Ela"/>
<map_variables variable_1="E" variable_2="E"/>
</connection>

<connection>
<map_components component_1="LV" component_2="Elv"/>
<map_variables variable_1="E" variable_2="E"/>
</connection>

</model>