www.delorie.com/gnu/docs/mcsim/mcsim_21.html   search  
 
Buy GNU books!


MCSim User' Manual

[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5.2.6 Parameter scaling

The parameter scaling section begins with the keyword Scale and is enclosed in curly braces. The equations given in this section will define a function that will be called by the simulation program at the beginning of each simulation of an Experiment (see section 6.4.1 Experiment definition). They can therefore be used for initialization of the simulations.

All model variables and parameters can be changed in this section. Modifications to state variables affect initial values only. Modifying an input is not allowed and state variables can only appear at the left hand side of equations.

The dt() operator (see section 5.2.5 Dynamics specifications) cannot be used in this section, since derivatives have not yet been computed when the scaling function is called.


  webmaster     delorie software   privacy  
  Copyright 2003   by The Free Software Foundation     Updated Jun 2003