<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
    <model id="example" substanceUnits="mole" volumeUnits="litre"
           timeUnits="second" extentUnits="mole">
        <listOfUnitDefinitions>
            <unitDefinition id="per_concent_per_time">
                <listOfUnits>
                    <unit kind="litre"  exponent="1"  scale="0" multiplier="1"/>
                    <unit kind="mole"   exponent="-1" scale="0" multiplier="1"/>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
            <compartment id="C" size="1" spatialDimensions="3" constant="true"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="S1" compartment="C" initialConcentration="1" constant="false"
                             boundaryCondition="false" hasOnlySubstanceUnits="false"/>
            <species id="S2" compartment="C" initialConcentration="0" constant="false"
                             boundaryCondition="false" hasOnlySubstanceUnits="false"/>
        </listOfSpecies>
        <listOfRules>
            <algebraicRule>
                <math xmlns="http://www.w3.org/1998/Math/MathML">
                    <apply>
                        <minus/>
                        <apply> <plus/> <ci> S1 </ci> <ci> S2 </ci> </apply>
                        <cn> 5 </cn>
                    </apply>
                </math>
            </algebraicRule>
        </listOfRules>
        <listOfReactions>
            <reaction id="R" reversible="false" fast="false">
                <listOfReactants>
                    <speciesReference species="S1" stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="S2" stoichiometry="1" constant="true"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply> <times/> <ci> C </ci> <ci> k1 </ci> <ci> S1 </ci> </apply>
                    </math>
                    <listOfLocalParameters>
                        <localParameter id="k1" value="0.1" units="per_concent_per_time"/>
                    </listOfLocalParameters>
                </kineticLaw>
            </reaction>
        </listOfReactions>
    </model>
</sbml>
