<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2/version4" level="2" version="4">
    <model id="dimerization">
        <listOfUnitDefinitions>
            <unitDefinition id="substance">
                <listOfUnits>
                    <unit kind="item" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
            <unitDefinition id="per_second">
                <listOfUnits>
                    <unit kind="second" exponent="-1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
            <compartment id="Cell" size="1e-15"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="P"  compartment="Cell" initialAmount="301"
                             hasOnlySubstanceUnits="true"/>
            <species id="P2" compartment="Cell" initialAmount="0"   
                             hasOnlySubstanceUnits="true"/>
        </listOfSpecies>
        <listOfReactions>
            <reaction id="Dimerization" reversible="false">
                <listOfReactants>
                    <speciesReference species="P" stoichiometry="2"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="P2"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <divide/>
                            <apply>
                                <times/>
                                <ci> c1 </ci>
                                <ci> P </ci>
                                <apply>
                                    <minus/>
                                    <ci> P </ci>
                                    <cn type="integer"> 1 </cn>
                                </apply>
                            </apply>
                            <cn type="integer"> 2 </cn>
                        </apply>
                    </math>
                    <listOfParameters>
                        <parameter id="c1" value="0.00166" units="per_second"/>
                    </listOfParameters>
                </kineticLaw>
            </reaction>
            <reaction id="Dissociation" reversible="false">
                <listOfReactants>
                    <speciesReference species="P2"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="P" stoichiometry="2"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci> c2 </ci>
                            <ci> P </ci>
                        </apply>
                    </math>
                    <listOfParameters>
                        <parameter id="c2" value="0.2" units="per_second"/>
                    </listOfParameters>
                </kineticLaw>
            </reaction>
        </listOfReactions>
    </model>
</sbml>
