BoundaryConditions

BoundaryConditions
is a list attribute containing species in the model whose time derivatives are set to zero.
Access the boundary conditions of a model
The differential equations of h2oc
Set new boundary conditions for model (discard old ones)
Now the time derivative of h2oc[t] is set to zero
Updating the parameters will add to the already existing parameters. Newly defined parameters take precedence over already existing ones.
Now the time derivates of both h2oc[t] and hc[t] are set to zero.
In[1]:=
Click for copyable input
Access the boundary conditions of a model
In[2]:=
Click for copyable input
Out[2]//Short=
The differential equations of h2oc
In[3]:=
Click for copyable input
Out[3]=
Set new boundary conditions for model (discard old ones)
In[4]:=
Click for copyable input
In[5]:=
Click for copyable input
Out[5]=
Now the time derivative of h2oc[t] is set to zero
In[6]:=
Click for copyable input
Out[6]=
Updating the parameters will add to the already existing parameters. Newly defined parameters take precedence over already existing ones.
In[7]:=
Click for copyable input
In[8]:=
Click for copyable input
Out[8]=
Now the time derivates of both h2oc[t] and hc[t] are set to zero.
In[9]:=
Click for copyable input
Out[9]//TableForm=