<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
    <model name="LotkaVolterra_tranport" substanceUnits="mole" volumeUnits="litre"
           extentUnits="mole" timeUnits="second">
        <listOfUnitDefinitions>
            <unitDefinition id="per_second">
                <listOfUnits>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
            <unitDefinition id="litre_per_mole_per_second">
                <listOfUnits>
                    <unit kind="mole"   exponent="-1" scale="0" multiplier="1"/>
                    <unit kind="litre"  exponent="1"  scale="0" multiplier="1"/>
                    <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
                </listOfUnits>
            </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
            <compartment id="cytoplasm" size="5" constant="true"/>
            <compartment id="nucleus" size="1" constant="true"/>
        </listOfCompartments>
        <listOfSpecies>
            <species id="X"   compartment="nucleus" initialAmount="1" constant="false"
                              boundaryCondition="true"  hasOnlySubstanceUnits="false"/>
            <species id="Y1n" compartment="nucleus" initialAmount="1" constant="false"
                              boundaryCondition="false" hasOnlySubstanceUnits="false"/>
            <species id="Y1c" compartment="cytoplasm"   initialAmount="0" constant="false"
                              boundaryCondition="false" hasOnlySubstanceUnits="false"/>
            <species id="Y2"  compartment="cytoplasm"   initialAmount="1" constant="false"
                              boundaryCondition="false" hasOnlySubstanceUnits="false"/>
        </listOfSpecies>
        <listOfParameters>
            <parameter id="k1" value="2500"  units="litre_per_mole_per_second" constant="true"/>
            <parameter id="k2" value="2500"  units="litre_per_mole_per_second" constant="true"/>
            <parameter id="KT" value="25000" units="per_second"                constant="true"/>
            <parameter id="k3" value="2500"  units="per_second"                constant="true"/>
        </listOfParameters>
        <listOfReactions>
            <reaction id="production" reversible="false" fast="false">
                <listOfReactants>
                    <speciesReference species="X"   stoichiometry="1" constant="true"/>
                    <speciesReference species="Y1n" stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y1n" stoichiometry="1" constant="true"/>
                    <speciesReference species="Y1n" stoichiometry="1" constant="true"/>
                </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" fast="false">
                <listOfReactants>
                    <speciesReference species="Y1n" stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y1c" stoichiometry="1" constant="true"/>
                </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" fast="false">
                <listOfReactants>
                    <speciesReference species="Y1c" stoichiometry="1" constant="true"/>
                    <speciesReference species="Y2"  stoichiometry="1" constant="true"/>
                </listOfReactants>
                <listOfProducts>
                    <speciesReference species="Y2"  stoichiometry="2" constant="true"/>
                </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" fast="false">
                <listOfReactants>
                    <speciesReference species="Y2" stoichiometry="1" constant="true"/>
                </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>
