File: boundarycondition.xml

package info (click to toggle)
libsbml 5.17.2%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 156,336 kB
  • sloc: cpp: 1,012,766; xml: 314,374; cs: 58,129; ansic: 54,053; python: 27,299; java: 27,152; makefile: 9,721; perl: 9,039; sh: 8,777; ruby: 4,760; php: 202; csh: 3
file content (74 lines) | stat: -rw-r--r-- 3,662 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level3/version1/core" level="3" version="1">
    <model id="BoundaryCondExampleModel" 
           volumeUnits="litre" substanceUnits="mole" timeUnits="second" extentUnits="mole">
        <listOfUnitDefinitions>
           <unitDefinition id="mole_per_litre_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>
           <unitDefinition id="litre_sq_per_mole_sq_per_second">
              <listOfUnits>
                  <unit kind="mole" exponent="-2" scale="0" multiplier="1"/>
                  <unit kind="litre" exponent="2" scale="0" multiplier="1"/>
                  <unit kind="second" exponent="-1" scale="0" multiplier="1"/>
              </listOfUnits>
           </unitDefinition>
        </listOfUnitDefinitions>
        <listOfCompartments>
           <compartment id="compartmentOne" size="1" spatialDimensions="3" constant="true"/>
        </listOfCompartments>
        <listOfSpecies>
          <species id="S1" initialConcentration="0" compartment="compartmentOne" constant="false"
                           hasOnlySubstanceUnits="false" boundaryCondition="true"/>
          <species id="S2" initialConcentration="1" compartment="compartmentOne" constant="false"
                           hasOnlySubstanceUnits="false" boundaryCondition="true"/>
          <species id="S3" initialConcentration="3" compartment="compartmentOne" constant="false"
                           hasOnlySubstanceUnits="false" boundaryCondition="false"/>
          <species id="S4" initialConcentration="0" compartment="compartmentOne" constant="false"
                           hasOnlySubstanceUnits="false" boundaryCondition="false"/>
        </listOfSpecies>
        <listOfParameters>
           <parameter id="k1" value="0.5" units="litre_sq_per_mole_sq_per_second"
                      constant="true"/>
           <parameter id="k2" value="0.1" units="mole_per_litre_per_second"
                      constant="true"/>
        </listOfParameters>
        <listOfRules>
           <rateRule variable="S1">
               <math xmlns="http://www.w3.org/1998/Math/MathML">
                   <ci> k2 </ci>
               </math>
           </rateRule>
        </listOfRules>
        <listOfReactions>
           <reaction id="reaction_1" reversible="false" fast="false">
              <listOfReactants>
                  <speciesReference species="S1" stoichiometry="1" constant="true"/>
                  <speciesReference species="S2" stoichiometry="1" constant="true"/>
              </listOfReactants>
              <listOfProducts>
                  <speciesReference species="S4" stoichiometry="1" constant="true"/>
              </listOfProducts>
              <listOfModifiers>
                  <modifierSpeciesReference species="S3"/>
              </listOfModifiers>
              <kineticLaw>
                  <math xmlns="http://www.w3.org/1998/Math/MathML">
                      <apply>
                          <times/>
                          <ci> k1 </ci>
                          <ci> S1 </ci>
                          <ci> S2 </ci>
                          <ci> S3 </ci>
                          <ci> compartmentOne </ci>
                      </apply>
                  </math>
              </kineticLaw>
          </reaction>
        </listOfReactions>
    </model>
</sbml>