- Author:
- David Nickerson <nickerso@users.sourceforge.net>
- Date:
- 2014-05-26 21:51:37+12:00
- Desc:
- update initial value to get non-zero result by default
- Permanent Source URI:
- https://models.physiomeproject.org/workspace/1aa/rawfile/64285f27b91652a04d30541005c9ebe088e53d06/model.xml
<?xml version="1.0"?>
<model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cellml="http://www.cellml.org/cellml/1.1#"
xmlns:xlink="http://www.w3.org/1999/xlink" name="can_divide_model">
<component name="model">
<!-- this is the variable that will have its value set by the dataset -->
<variable name="dataValue" public_interface="out" units="dimensionless" initial_value="1.0"/>
<!-- this variable may have its value overridden -->
<variable name="scaleFactor" public_interface="out" units="dimensionless" initial_value="1.0"/>
<variable name="x" public_interface="out" units="dimensionless"/>
<variable name="time" public_interface="out" units="dimensionless"/>
<variable name="y" public_interface="out" units="dimensionless" initial_value="0.0"/>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply><eq/>
<ci>x</ci>
<apply><times/>
<ci>scaleFactor</ci>
<ci>dataValue</ci>
</apply>
</apply>
</math>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply><eq/>
<apply><diff/>
<bvar><ci>time</ci></bvar>
<ci>y</ci>
</apply>
<ci>dataValue</ci>
</apply>
</math>
</component>
</model>