- Author:
- WeiweiAi <wai484@aucklanduni.ac.nz>
- Date:
- 2021-10-18 15:02:26+13:00
- Desc:
- correction based on cross checking
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/701/rawfile/51ff74a5d6cec74225547f776376085466bd2985/testrate.cellml
<?xml version='1.0' encoding='UTF-8'?>
<model name="my_model" xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#">
<units name="ms">
<unit prefix="milli" units="second"/>
</units>
<units name="s">
<unit units="second"/>
</units>
<units name="per_ms">
<unit exponent="-1" prefix="milli" units="second"/>
</units>
<units name="per_s">
<unit exponent="-1" units="second"/>
</units>
<component name="time_component">
<variable name="time" public_interface="out" units="ms"/>
<variable initial_value="1" name="rate" public_interface="out" units="per_ms"/>
</component>
<component name="ms_time">
<variable name="time" public_interface="in" units="ms"/>
<variable initial_value="0" name="x" units="dimensionless"/>
<variable name="rate" public_interface="in" units="per_ms"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>x</ci>
</apply>
<ci>rate</ci>
</apply>
</math>
</component>
<component name="s_time">
<variable name="time" public_interface="in" units="s"/>
<variable initial_value="1" name="x" units="dimensionless"/>
<variable name="rate" public_interface="in" units="per_s"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<eq/>
<apply>
<diff/>
<bvar>
<ci>time</ci>
</bvar>
<ci>x</ci>
</apply>
<ci>rate</ci>
</apply>
</math>
</component>
<connection>
<map_components component_1="time_component" component_2="ms_time"/>
<map_variables variable_1="time" variable_2="time"/>
<map_variables variable_1="rate" variable_2="rate"/>
</connection>
<connection>
<map_components component_1="time_component" component_2="s_time"/>
<map_variables variable_1="time" variable_2="time"/>
<map_variables variable_1="rate" variable_2="rate"/>
</connection>
</model>