- Author:
- Soroush <ssaf006@aucklanduni.ac.nz>
- Date:
- 2016-08-15 18:43:54+12:00
- Desc:
- fix ref
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/34d/rawfile/5d1fde5298575e8780161433ad2d9fb229294290/CO2_test.cellml
<?xml version='1.0'?>
<model cmeta:id="CO2_hydration" name="CO2_hydration" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.0#" xmlns:xlink="http://www.w3.org/1999/xlink">
<import xlink:href="Units/Units.cellml">
<units name="mM" units_ref="mM"/>
<units name="per_s" units_ref="per_s"/>
<units name="mM_per_s" units_ref="mM_per_s"/>
</import>
<import xlink:href="CO2.cellml">
<component component_ref="Hydration" name="Hydration"/>
</import>
<component name="environment">
<variable name="time" public_interface="out" units="second"/>
</component>
<component name="concentrations">
<variable name="time" public_interface="in" units="second"/>
<variable initial_value="0.0" name="CO2" public_interface="out" units="mM"/>
<variable initial_value="1.0" name="HCO3" public_interface="out" units="mM"/>
<variable initial_value="7.4" name="pH" public_interface="out" units="dimensionless"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>pH</ci>
</apply>
<cn cellml:units="per_s">0.1</cn>
</apply>
</math>
</component>
<component name="fluxes">
<variable name="J" public_interface="in" units="mM_per_s"/>
</component>
<connection>
<map_components component_1="concentrations" component_2="Hydration"/>
<map_variables variable_1="CO2" variable_2="CO2"/>
<map_variables variable_1="HCO3" variable_2="HCO3"/>
<map_variables variable_1="pH" variable_2="pH"/>
</connection>
<connection>
<map_components component_1="fluxes" component_2="Hydration"/>
<map_variables variable_1="J" variable_2="J"/>
</connection>
<connection>
<map_components component_1="concentrations" component_2="environment"/>
<map_variables variable_1="time" variable_2="time"/>
</connection>
</model>