<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
    <model id="dimerization" substanceUnits="item" timeUnits="second" 
           volumeUnits="litre" extentUnits="item">
        <listOfUnitDefinitions>
            <unitDefinition id="per_second">
                <listOfUnits>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
            <unitDefinition id="per_item_per_second">
                <listOfUnits>
                    <unit kind="item"   exponent="-1" scale="0" multiplier="1"/>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
            <compartment id="Cell" size="1e-15" spatialDimensions="3"
                         constant="true" sboTerm="SBO:0000290"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="P"  compartment="Cell" initialAmount="301"
                             hasOnlySubstanceUnits="true" boundaryCondition="false"
                             constant="false" sboTerm="SBO:0000252"/>
            <species id="P2" compartment="Cell" initialAmount="0"   
                             hasOnlySubstanceUnits="true" boundaryCondition="false"
                             constant="false" sboTerm="SBO:0000420"/>
        </listOfSpecies>
        <listOfReactions>
            <reaction id="Dimerization" reversible="false" fast="false" sboTerm="SBO:0000177">
                <listOfReactants>
                    <speciesReference species="P" stoichiometry="2" constant="true" 
                                      sboTerm="SBO:0000010"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="P2" stoichiometry="1" constant="true" 
                                      sboTerm="SBO:0000011"/>
                </listOfProducts>
                <kineticLaw sboTerm="SBO:0000142">
                    <math xmlns="http://www.w3.org/1998/Math/MathML"
                          xmlns:sbml="http://www.sbml.org/sbml/level3/version1/core">
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci> c1 </ci>
                                <ci> P </ci>
                                <apply>
                                    <minus/>
                                    <ci> P </ci>
                                    <cn type="integer" sbml:units="item"> 1 </cn>
                                </apply>
                            </apply>
                            <cn type="integer" sbml:units="dimensionless"> 2 </cn>
                        </apply>
                    </math>
                    <listOfLocalParameters>
                        <localParameter id="c1" value="0.00166" units="per_item_per_second" 
                                        sboTerm="SBO:0000067"/>
                    </listOfLocalParameters>
                </kineticLaw>
            </reaction>
            <reaction id="Dissociation" reversible="false" fast="false" sboTerm="SBO:0000180">
                <listOfReactants>
                    <speciesReference species="P2" stoichiometry="1" constant="true" 
                                      sboTerm="SBO:0000010"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="P" stoichiometry="2" constant="true" 
                                      sboTerm="SBO:0000011"/>
                </listOfProducts>
                <kineticLaw sboTerm="SBO:0000141">
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci> c2 </ci>
                            <ci> P </ci>
                        </apply>
                    </math>
                    <listOfLocalParameters>
                        <localParameter id="c2" value="0.2" units="per_second" 
                                        sboTerm="SBO:0000066"/>
                    </listOfLocalParameters>
                </kineticLaw>
            </reaction>
        </listOfReactions>
    </model>
</sbml>
