<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
  <model id="Model_1" name="Reaction on membrane" substanceUnits="micromole"
         timeUnits="minute" extentUnits="micromole">
    <listOfFunctionDefinitions>
      <functionDefinition id="MM_enzyme" name="MM_enzyme">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <lambda>
            <bvar> <ci> size </ci> </bvar>
            <bvar> <ci> k </ci> </bvar>
            <bvar> <ci> enz </ci> </bvar>
            <bvar> <ci> subs </ci> </bvar>
            <bvar> <ci> Km </ci> </bvar>
            <apply>
              <divide/>
              <apply>
                <times/>
                <ci> size </ci>
                <ci> k </ci>
                <ci> enz </ci>
                <ci> subs </ci>
              </apply>
              <apply>
                <plus/>
                <ci> Km </ci>
                <ci> subs </ci>
              </apply>
            </apply>
          </lambda>
        </math>
      </functionDefinition>
    </listOfFunctionDefinitions>
    <listOfUnitDefinitions>
      <unitDefinition id="minute">
        <listOfUnits>
          <unit kind="second" exponent="1" scale="0" multiplier="60"/>
        </listOfUnits>
      </unitDefinition>
      <unitDefinition id="per_minute">
        <listOfUnits>
          <unit kind="second" exponent="-1" scale="0" multiplier="60"/>
        </listOfUnits>
      </unitDefinition>
      <unitDefinition id="micromole">
        <listOfUnits>
          <unit kind="mole" exponent="1" scale="-6" multiplier="1"/>
        </listOfUnits>
      </unitDefinition>
      <unitDefinition id="micromole_per_l">
        <listOfUnits>
          <unit kind="mole" exponent="1" scale="-6" multiplier="1"/>
          <unit kind="litre" exponent="-1" scale="0" multiplier="1"/>
        </listOfUnits>
      </unitDefinition>
      <unitDefinition id="sqrmicrometre">
        <listOfUnits>
          <unit kind="metre" exponent="2" scale="-6" multiplier="1"/>
        </listOfUnits>
      </unitDefinition>
    </listOfUnitDefinitions>
    <listOfCompartments>
      <compartment id="cyt" name="Cytosol" 
                   spatialDimensions="3" units="litre"
                   size="1e-15" constant="true"/>
      <compartment id="mem" name="Membrane"  
                   spatialDimensions="2" units="sqrmicrometre"
                   size="1" constant="true"/>
    </listOfCompartments>
    <listOfSpecies>
      <species id="species_1" name="substrate" compartment="cyt" 
               hasOnlySubstanceUnits="false" boundaryCondition="false"
               initialConcentration="1" constant="false"/>
      <species id="species_2" name="product" compartment="cyt" 
               hasOnlySubstanceUnits="false" boundaryCondition="false"
               initialConcentration="1" constant="false"/>
      <species id="species_3" name="enzyme" compartment="mem" 
               hasOnlySubstanceUnits="false" boundaryCondition="false"
               initialConcentration="1" constant="false"/>
    </listOfSpecies>
    <listOfReactions>
      <reaction id="reaction_1" name="Reaction" reversible="false"
                fast="false" compartment="mem">
        <listOfReactants>
          <speciesReference species="species_1" stoichiometry="1" constant="true"/>
        </listOfReactants>
        <listOfProducts>
          <speciesReference species="species_2" stoichiometry="1" constant="true"/>
        </listOfProducts>
        <listOfModifiers>
          <modifierSpeciesReference species="species_3"/>
        </listOfModifiers>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
              <ci> MM_enzyme </ci>
              <ci> mem </ci>
              <ci> k </ci>
              <ci> species_3 </ci>
              <ci> species_1 </ci>
              <ci> Km </ci>
              </apply>
          </math>
          <listOfLocalParameters>
            <localParameter id="k" value="0.1" units="per_minute"/>
            <localParameter id="Km" value="0.1" units="micromole_per_l"/>
          </listOfLocalParameters>
        </kineticLaw>
      </reaction>
    </listOfReactions>
  </model>
</sbml>
