- Author:
- Soroush <ssaf006@aucklanduni.ac.nz>
- Date:
- 2016-08-12 19:18:51+12:00
- Desc:
- fix unit
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/3a4/rawfile/5c556d54860adc61b4d9a59aa6abb25b01bad0b6/Ammonia_test.cellml
<?xml version='1.0'?>
<model cmeta:id="NH3_hydration" name="NH3_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="Ammonia.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.00282" name="NH3" public_interface="out" units="mM"/>
<variable initial_value="0.2" name="NH4" public_interface="out" units="mM"/>
<variable initial_value="7.305" name="pH" public_interface="out" units="dimensionless"/>
<variable initial_value="9.15" name="pK" 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>
<apply>
<minus/>
<cn cellml:units="per_s">0.1</cn>
</apply>
</apply>
</math>
</component>
<component name="fluxes">
<variable name="J_hyd" public_interface="in" units="mM_per_s"/>
</component>
<connection>
<map_components component_1="concentrations" component_2="Hydration"/>
<map_variables variable_1="NH3" variable_2="C_n"/>
<map_variables variable_1="NH4" variable_2="C_e"/>
<map_variables variable_1="pH" variable_2="pH"/>
<map_variables variable_1="pK" variable_2="pK"/>
</connection>
<connection>
<map_components component_1="fluxes" component_2="Hydration"/>
<map_variables variable_1="J_hyd" variable_2="J_hyd"/>
</connection>
<connection>
<map_components component_1="concentrations" component_2="environment"/>
<map_variables variable_1="time" variable_2="time"/>
</connection>
</model>