<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2/version4" level="2" version="4">
    <model id="LotkaVolterra_tranport">
        <listOfUnitDefinitions>
            <unitDefinition id="per_second">
                <listOfUnits>
                    <unit kind="second" exponent="-1"/>
                </listOfUnits>
            </unitDefinition>
            <unitDefinition id="litre_per_mole_per_second">
                <listOfUnits>
                    <unit kind="mole" exponent="-1"/>
                    <unit kind="litre" exponent="1"/>
                    <unit kind="second" exponent="-1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfSpeciesTypes>
            <speciesType id="Y1"/>
        </listOfSpeciesTypes>
        <listOfCompartments>
            <compartment id="cytoplasm" size="5"/>
            <compartment id="nucleus" outside="cytoplasm" size="1"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="X"   compartment="nucleus"   initialAmount="1" constant="true" 
                              boundaryCondition="true"/>
            <species id="Y1n" compartment="nucleus"   speciesType="Y1"  initialAmount="1"/>
            <species id="Y1c" compartment="cytoplasm" speciesType="Y1"  initialAmount="0"/>
            <species id="Y2"  compartment="cytoplasm" initialAmount="1"/>
        </listOfSpecies>
        <listOfParameters>
            <parameter id="k1" value="2500"  units="litre_per_mole_per_second"/>
            <parameter id="k2" value="2500"  units="litre_per_mole_per_second"/>
            <parameter id="KT" value="25000" units="per_second"/>
            <parameter id="k3" value="2500"  units="per_second"/>
        </listOfParameters>
        <listOfReactions>
            <reaction id="production" reversible="false">
                <listOfReactants>
                    <speciesReference species="X"/>
                    <speciesReference species="Y1n"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y1n"/>
                    <speciesReference species="Y1n"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci>nucleus</ci>
                            <ci>k1</ci>
                            <ci>X</ci>
                            <ci>Y1n</ci>
                        </apply>
                    </math>
                </kineticLaw>
            </reaction>
            <reaction id="transport" reversible="true">
                <listOfReactants>
                    <speciesReference species="Y1n"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y1c"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci>cytoplasm</ci>
                            <ci>KT</ci>
                            <apply>
                                <minus/>
                                <ci>Y1n</ci>
                                <ci>Y1c</ci>
                            </apply>
                        </apply>
                    </math>
                </kineticLaw>
            </reaction>
            <reaction id="transformation" reversible="false">
                <listOfReactants>
                    <speciesReference species="Y1c"/>
                    <speciesReference species="Y2"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y2" stoichiometry="2"/>
                </listOfProducts>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci>cytoplasm</ci>
                            <ci>k2</ci>
                            <ci>Y1c</ci>
                            <ci>Y2</ci>
                        </apply>
                    </math>
                </kineticLaw>
            </reaction>
            <reaction id="degradation" reversible="false">
                <listOfReactants>
                    <speciesReference species="Y2"/>
                </listOfReactants>
                <kineticLaw>
                    <math xmlns="http://www.w3.org/1998/Math/MathML">
                        <apply>
                            <times/>
                            <ci>cytoplasm</ci>
                            <ci>k3</ci>
                            <ci>Y2</ci>
                        </apply>
                    </math>
                </kineticLaw>
            </reaction>
        </listOfReactions>
    </model>
</sbml>
