InitialConditions

InitialConditions
is a list of rules ({x1cval, ...}) attribute containing the initial conditions of a model.
Access the initial conditions of a model
Set new initial conditions for model (discard old ones)
Set initial conditions to previous values
Updating the initial conditions will add to the already existing conditions. Newly defined initial conditions take precedence over already existing ones.
In[1]:=
Click for copyable input
Access the initial conditions of a model
In[2]:=
Click for copyable input
Out[2]//Short=
Set new initial conditions for model (discard old ones)
In[3]:=
Click for copyable input
In[4]:=
Click for copyable input
Out[4]=
Set initial conditions to previous values
In[5]:=
Click for copyable input
In[6]:=
Click for copyable input
Out[6]=
Updating the initial conditions will add to the already existing conditions. Newly defined initial conditions take precedence over already existing ones.
In[7]:=
Click for copyable input
Out[7]=
In[8]:=
Click for copyable input
In[9]:=
Click for copyable input
Out[9]=
Some functions like simulate and findSteadyState provde InitialConditions as an option.