/usr/share/SBMLToolbox/Test/test-data/rateRules.xml is in sbmltoolbox 4.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | <?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2" level="2" version="1">
<model id="rateRules">
<listOfUnitDefinitions>
<unitDefinition id="myUnit">
<listOfUnits>
<unit kind="mole"/>
<unit kind="litre" exponent="-1"/>
<unit kind="second" exponent="-1"/>
</listOfUnits>
</unitDefinition>
<unitDefinition id="vol_per_time">
<listOfUnits>
<unit kind="litre"/>
<unit kind="second" exponent="-1"/>
</listOfUnits>
</unitDefinition>
</listOfUnitDefinitions>
<listOfCompartments>
<compartment id="c" size="1"/>
</listOfCompartments>
<listOfSpecies>
<species id="s1" compartment="c" initialAmount="0" boundaryCondition="true"/>
<species id="s2" compartment="c" initialAmount="0"/>
</listOfSpecies>
<listOfParameters>
<parameter id="k" value="5" units="myUnit"/>
<parameter id="kt" value="5" units="vol_per_time"/>
</listOfParameters>
<listOfRules>
<rateRule variable="s1">
<math xmlns="http://www.w3.org/1998/Math/MathML">
<ci> k </ci>
</math>
</rateRule>
</listOfRules>
<listOfReactions>
<reaction id="r">
<listOfReactants>
<speciesReference species="s1"/>
</listOfReactants>
<listOfProducts>
<speciesReference species="s2"/>
</listOfProducts>
<kineticLaw>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<apply>
<times/>
<ci> kt </ci>
<ci> s1 </ci>
</apply>
</math>
</kineticLaw>
</reaction>
</listOfReactions>
</model>
</sbml>
|