<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2" level="2" version="1">
  <model id="subtraction">
    <listOfCompartments>
      <compartment id="reactor"/>
    </listOfCompartments>
    <listOfSpecies>
      <species id="A" compartment="reactor" initialAmount="6"/>
      <species id="B" compartment="reactor" initialAmount="2"/>
      <species id="Y" compartment="reactor" initialAmount="0"/>
      <species id="Z" compartment="reactor" initialAmount="0"/>
    </listOfSpecies>
    <listOfReactions>
      <reaction id="production_of_Y" reversible="false">
        <listOfReactants>
          <speciesReference species="A"/>
        </listOfReactants>
        <listOfProducts>
          <speciesReference species="A"/>
          <speciesReference species="Y"/>
        </listOfProducts>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
              <ci> A </ci>
          </math>
        </kineticLaw>
      </reaction>
      <reaction id="production_of_Z" reversible="false">
        <listOfReactants>
          <speciesReference species="B"/>
        </listOfReactants>
        <listOfProducts>
          <speciesReference species="B"/>
          <speciesReference species="Z"/>
        </listOfProducts>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
              <ci> B </ci>
          </math>
        </kineticLaw>
      </reaction>
      <reaction id="decay_of_Y" reversible="false">
        <listOfReactants>
          <speciesReference species="Y"/>
        </listOfReactants>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
              <ci> Y </ci>
          </math>
        </kineticLaw>
      </reaction>
      <reaction id="reacting_Y_and_Z" reversible="false">
        <listOfReactants>
          <speciesReference species="Y"/>
          <speciesReference species="Z"/>
        </listOfReactants>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
              <times/>
              <ci> Y </ci>
              <ci> Z </ci>
            </apply>
          </math>
        </kineticLaw>
      </reaction>
    </listOfReactions>
  </model>
</sbml>

