Load SBML file and manipulate using the model builder API
load the file
display the current model
| ID | Name | Dimension | Size | Units | Derived Units | Outside | Constant |
| cell | cell | 3 | ··· | volume | volume | ··· | True |
| ID | Name | Compartment | Type | I.C. | Units | Derived Units | B.C | Constant | Charge |
| x | x | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| y | y | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| z | z | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| py | py | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| px | px | cell | amount | 5. | substance | substance | False | False | ··· |
| pz | pz | cell | amount | 15. | substance | substance | False | False | ··· |
| null | null | cell | ··· | ··· | ··· | ··· | True | True | ··· |
| ID | Name | Value | Units | Derived Units | Constant |
| alpha | alpha | 250. | ··· | ··· | True |
| beta | beta | 5. | ··· | ··· | True |
| alpha0 | alpha0 | 0 | ··· | ··· | True |
| alpha1 | alpha1 | 0 | ··· | ··· | True |
| n | n | 2.1 | ··· | ··· | True |
| k1 | k1 | 1. | ··· | ··· | True |
| K | K | 1. | ··· | ··· | True |
| ID | Name | Fast | Reaction | Modifiers | Parameters | Formula | Contribution to ODEs | ||
| reaction1 | reaction1 | False | null ⇔ x |
|
··· | alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
|
||
| reaction2 | reaction2 | False | null ⇔ y |
|
··· | alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
|
||
| reaction3 | reaction3 | False | null ⇔ z |
|
··· | alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
|
||
| reaction4 | reaction4 | False | px ⇔ null |
|
··· | -(beta*(-px[t] + x[t])) |
|
||
| reaction5 | reaction5 | False | py ⇔ null |
|
··· | -(beta*(-py[t] + y[t])) |
|
||
| reaction6 | reaction6 | False | pz ⇔ null |
|
··· | -(beta*(-pz[t] + z[t])) |
|
| Variable | ODEs |
| px | px'[t]==beta*(-px[t] + x[t]) |
| py | py'[t]==beta*(-py[t] + y[t]) |
| pz | pz'[t]==beta*(-pz[t] + z[t]) |
| x | x'[t]==alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
| y | y'[t]==alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
| z | z'[t]==alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
add a reaction
observe that the species A and B have not been previously defined so thay are first added to the model in the single compartment cell
| ID | Name | Dimension | Size | Units | Derived Units | Outside | Constant |
| cell | cell | 3 | ··· | volume | volume | ··· | True |
| ID | Name | Compartment | Type | I.C. | Units | Derived Units | B.C | Constant | Charge |
| x | x | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| y | y | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| z | z | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| py | py | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| px | px | cell | amount | 5. | substance | substance | False | False | ··· |
| pz | pz | cell | amount | 15. | substance | substance | False | False | ··· |
| null | null | cell | ··· | ··· | ··· | ··· | True | True | ··· |
| A | A | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| B | B | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| ID | Name | Value | Units | Derived Units | Constant |
| alpha | alpha | 250. | ··· | ··· | True |
| beta | beta | 5. | ··· | ··· | True |
| alpha0 | alpha0 | 0 | ··· | ··· | True |
| alpha1 | alpha1 | 0 | ··· | ··· | True |
| n | n | 2.1 | ··· | ··· | True |
| k1 | k1 | 1. | ··· | ··· | True |
| K | K | 1. | ··· | ··· | True |
| ID | Name | Fast | Reaction | Modifiers | Parameters | Formula | Contribution to ODEs | ||||
| reaction1 | reaction1 | False | null ⇔ x |
|
··· | alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
|
||||
| reaction2 | reaction2 | False | null ⇔ y |
|
··· | alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
|
||||
| reaction3 | reaction3 | False | null ⇔ z |
|
··· | alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
|
||||
| reaction4 | reaction4 | False | px ⇔ null |
|
··· | -(beta*(-px[t] + x[t])) |
|
||||
| reaction5 | reaction5 | False | py ⇔ null |
|
··· | -(beta*(-py[t] + y[t])) |
|
||||
| reaction6 | reaction6 | False | pz ⇔ null |
|
··· | -(beta*(-pz[t] + z[t])) |
|
||||
| reaction7 | reaction7 | False | A ⇔ B | ··· |
|
(k5*A[t]*x[t])/(k6 + x[t]) |
|
| Variable | ODEs |
| A | A'[t]==-((reaction7`k5*A[t]*x[t])/(reaction7`k6 + x[t])) |
| B | B'[t]==(reaction7`k5*A[t]*x[t])/(reaction7`k6 + x[t]) |
| px | px'[t]==beta*(-px[t] + x[t]) |
| py | py'[t]==beta*(-py[t] + y[t]) |
| pz | pz'[t]==beta*(-pz[t] + z[t]) |
| x | x'[t]==alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
| y | y'[t]==alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
| z | z'[t]==alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
realize that you forgot to set initial conditions on A and B, so set them now
Show the model again
| ID | Name | Dimension | Size | Units | Derived Units | Outside | Constant |
| cell | cell | 3 | ··· | volume | volume | ··· | True |
| ID | Name | Compartment | Type | I.C. | Units | Derived Units | B.C | Constant | Charge |
| x | x | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| y | y | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| z | z | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| py | py | cell | ··· | ··· | ··· | ··· | False | False | ··· |
| px | px | cell | amount | 5. | substance | substance | False | False | ··· |
| pz | pz | cell | amount | 15. | substance | substance | False | False | ··· |
| null | null | cell | ··· | ··· | ··· | ··· | True | True | ··· |
| A | A | cell | amount | 5. | substance | substance | False | False | ··· |
| B | B | cell | amount | 0 | substance | substance | False | False | ··· |
| ID | Name | Value | Units | Derived Units | Constant |
| alpha | alpha | 250. | ··· | ··· | True |
| beta | beta | 5. | ··· | ··· | True |
| alpha0 | alpha0 | 0 | ··· | ··· | True |
| alpha1 | alpha1 | 0 | ··· | ··· | True |
| n | n | 2.1 | ··· | ··· | True |
| k1 | k1 | 1. | ··· | ··· | True |
| K | K | 1. | ··· | ··· | True |
| ID | Name | Fast | Reaction | Modifiers | Parameters | Formula | Contribution to ODEs | ||||
| reaction1 | reaction1 | False | null ⇔ x |
|
··· | alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
|
||||
| reaction2 | reaction2 | False | null ⇔ y |
|
··· | alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
|
||||
| reaction3 | reaction3 | False | null ⇔ z |
|
··· | alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
|
||||
| reaction4 | reaction4 | False | px ⇔ null |
|
··· | -(beta*(-px[t] + x[t])) |
|
||||
| reaction5 | reaction5 | False | py ⇔ null |
|
··· | -(beta*(-py[t] + y[t])) |
|
||||
| reaction6 | reaction6 | False | pz ⇔ null |
|
··· | -(beta*(-pz[t] + z[t])) |
|
||||
| reaction7 | reaction7 | False | A ⇔ B | ··· |
|
(k5*A[t]*x[t])/(k6 + x[t]) |
|
| Variable | ODEs |
| A | A'[t]==-((reaction7`k5*A[t]*x[t])/(reaction7`k6 + x[t])) |
| B | B'[t]==(reaction7`k5*A[t]*x[t])/(reaction7`k6 + x[t]) |
| px | px'[t]==beta*(-px[t] + x[t]) |
| py | py'[t]==beta*(-py[t] + y[t]) |
| pz | pz'[t]==beta*(-pz[t] + z[t]) |
| x | x'[t]==alpha0 + (alpha + alpha1*pz[t]^n)/(K^n + pz[t]^n) - k1*x[t] |
| y | y'[t]==alpha0 + (alpha + alpha1*px[t]^n)/(K^n + px[t]^n) - k1*y[t] |
| z | z'[t]==alpha0 + (alpha + alpha1*py[t]^n)/(K^n + py[t]^n) - k1*z[t] |
Everything looks good so create the sbml and write it to the screen
Created by Mathematica (February 27, 2004)