File: initialAssignments.xml

package info (click to toggle)
sbmltoolbox 4.1.0-5.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,032 kB
  • sloc: xml: 2,438; makefile: 8; sh: 7
file content (136 lines) | stat: -rw-r--r-- 4,227 bytes parent folder | download | duplicates (5)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<?xml version="1.0" encoding="UTF-8"?>
<sbml xmlns="http://www.sbml.org/sbml/level2/version2" level="2" version="2">
  <model id="initialAssignments">
    <listOfUnitDefinitions>
      <unitDefinition id="speciesUnits">
        <listOfUnits>
          <unit kind="mole"/>
          <unit kind="litre" exponent="-1"/>
        </listOfUnits>
      </unitDefinition>
      <unitDefinition id="vol_per_time">
        <listOfUnits>
          <unit kind="litre"/>
          <unit kind="second" exponent="-1"/>
        </listOfUnits>
      </unitDefinition>
    </listOfUnitDefinitions>
    <listOfCompartments>
      <compartment id="compartment" size="1"/>
    </listOfCompartments>
    <listOfSpecies>
      <species id="S1" compartment="compartment" initialAmount="3"/>
      <species id="S2" compartment="compartment" initialAmount="6"/>
      <species id="S3" compartment="compartment" initialAmount="0"/>
      <species id="X" compartment="compartment"/>
      <species id="S4" compartment="compartment" initialAmount="0"/>
    </listOfSpecies>
    <listOfParameters>
      <parameter id="k" value="1" units="vol_per_time"/>
      <parameter id="k1" value="2" units="vol_per_time"/>
      <parameter id="s1" value="3" units="speciesUnits"/>
      <parameter id="s2" value="4" units="speciesUnits"/>
      <parameter id="s3" value="1" units="speciesUnits"/>
      <parameter id="c" value="6" units="litre"/>
      <parameter id="c1" value="2" units="dimensionless"/>
    </listOfParameters>
    <listOfInitialAssignments>
      <initialAssignment symbol="k">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <divide/>
            <apply>
              <times/>
              <ci> s1 </ci>
              <ci> k1 </ci>
            </apply>
            <ci> s3 </ci>
          </apply>
        </math>
      </initialAssignment>
      <initialAssignment symbol="compartment">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <divide/>
            <ci> c </ci>
            <ci> c1 </ci>
          </apply>
        </math>
      </initialAssignment>
      <initialAssignment symbol="X">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <plus/>
            <ci> s1 </ci>
            <ci> s2 </ci>
            <ci> s3 </ci>
            <ci> s3 </ci>
          </apply>
        </math>
      </initialAssignment>
    </listOfInitialAssignments>
    <listOfRules>
      <algebraicRule>
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <minus/>
            <apply>
              <plus/>
              <ci> X </ci>
              <ci> S1 </ci>
            </apply>
            <ci> S3 </ci>
          </apply>
        </math>
      </algebraicRule>
      <assignmentRule variable="S3">
        <math xmlns="http://www.w3.org/1998/Math/MathML">
          <apply>
            <plus/>
            <ci> s1 </ci>
            <ci> s2 </ci>
          </apply>
        </math>
      </assignmentRule>
    </listOfRules>
    <listOfReactions>
      <reaction id="R1" reversible="false">
        <listOfReactants>
          <speciesReference species="S1"/>
        </listOfReactants>
        <listOfProducts>
          <speciesReference species="S2"/>
        </listOfProducts>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
              <times/>
              <ci> k </ci>
              <ci> S1 </ci>
            </apply>
          </math>
        </kineticLaw>
      </reaction>
      <reaction id="R2" reversible="false">
        <listOfReactants>
          <speciesReference species="S2"/>
        </listOfReactants>
        <listOfProducts>
          <speciesReference species="S4"/>
        </listOfProducts>
        <kineticLaw>
          <math xmlns="http://www.w3.org/1998/Math/MathML">
            <apply>
              <times/>
              <ci> k </ci>
              <ci> S2 </ci>
            </apply>
          </math>
          <listOfParameters>
            <parameter id="k" value="0.1" units="vol_per_time"/>
          </listOfParameters>
        </kineticLaw>
      </reaction>
    </listOfReactions>
  </model>
</sbml>