Location: Metabolic Component Library @ b9be078f1e21 / CellML-source / CellMLTools / test_import / Example_MassAction_1.cellml

Author:
Matthias K?nig <matthias.koenig@charite.de>
Date:
2013-04-18 21:52:42+02:00
Desc:
Wolf Heinrich Example implemented and working !
Permanent Source URI:
https://models.cellml.org/w/matthiaskoenig/MetabolicComponentLibrary/rawfile/b9be078f1e2152d7c1b817af12a7ddcb8db3c0df/CellML-source/CellMLTools/test_import/Example_MassAction_1.cellml

<?xml version="1.0"?>
<!--
This CellML file was generated on 4/10/2013 at 10:49:05 at AM using:

COR (0.9.31.1409)
Copyright 2002-2013 Dr Alan Garny
http://cor.physiol.ox.ac.uk/ - cor@physiol.ox.ac.uk

CellML 1.0 was used to generate this model
http://www.cellml.org/
--><model xmlns="http://www.cellml.org/cellml/1.1#" xmlns:cmeta="http://www.cellml.org/metadata/1.1#" cmeta:id="Example_MassAction_1" name="Example_MassAction_1">
   <units name="mM">
      <unit prefix="milli" units="mole"/>
      <unit exponent="-1" units="liter"/>
   </units>
   <units name="per_second">
      <unit exponent="-1" units="second"/>
   </units>
   <units name="mM_per_second">
      <unit units="mM"/>
      <unit exponent="-1" units="second"/>
   </units>
   <component name="Network">
      <variable name="t" units="second"/>
      <variable name="v1" public_interface="in" units="mM_per_second"/>
      <variable initial_value="1" name="S" public_interface="out" units="mM"/>
      <variable initial_value="0" name="P" public_interface="out" units="mM"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>S</ci>
            </apply>
            <apply>
               <minus/>
               <ci>v1</ci>
            </apply>
         </apply>
         <apply>
            <eq/>
            <apply>
               <diff/>
               <bvar>
                  <ci>t</ci>
               </bvar>
               <ci>P</ci>
            </apply>
            <ci>v1</ci>
         </apply>
      </math>
   </component>
   <component name="Reaction_1">
      <variable name="J" private_interface="in" public_interface="out" units="mM_per_second"/>
      <variable name="S" private_interface="out" public_interface="in" units="mM"/>
      <variable name="P" private_interface="out" public_interface="in" units="mM"/>
      <variable name="k_f" private_interface="out" units="per_second"/>
      <variable name="k_b" private_interface="out" units="per_second"/>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
         <apply>
            <eq/>
            <ci>k_f</ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_second">10</cn>
         </apply>
         <apply>
            <eq/>
            <ci>k_b</ci>
            <cn xmlns:cellml="http://www.cellml.org/cellml/1.1#" cellml:units="per_second">3</cn>
         </apply>
      </math>
   </component>
   <group>
      <relationship_ref relationship="encapsulation"/>
      <component_ref component="Reaction_1">
         <component_ref component="MassActionUniUniRev"/>
      </component_ref>
   </group>
   <connection>
      <map_components component_1="Network" component_2="Reaction_1"/>
      <map_variables variable_1="v1" variable_2="J"/>
      <map_variables variable_1="S" variable_2="S"/>
      <map_variables variable_1="P" variable_2="P"/>
   </connection>
   <connection>
      <map_components component_1="Reaction_1" component_2="MassActionUniUniRev"/>
      <map_variables variable_1="J" variable_2="J"/>
      <map_variables variable_1="S" variable_2="S"/>
      <map_variables variable_1="P" variable_2="P"/>
      <map_variables variable_1="k_f" variable_2="k_f"/>
      <map_variables variable_1="k_b" variable_2="k_b"/>
   </connection>
<import xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="MassActionUniUniRev.cellml"><component component_ref="MassActionUniUniRev" name="MassActionUniUniRev"/></import></model>