Main.Parameters History

Hide minor edits - Show changes to markup

September 25, 2008, at 10:41 AM by 158.35.225.230 -
Changed lines 9-22 from:

(:table class='markup horiz' align='left':) (:cellnr class='markup1':)

! Example model that demonstrates parameter declarations
Model example
  Parameters
    p0                 ! no initial value provided - default = 1
    p1 = 1.5           ! initializes to 1.5
    p2 = 2 * p1        ! initializes to 3.0
    p3 = exp(p2) * p1  ! initializes to exp(3.0) * 1.5
    my_parameter = 1   ! initializes to 1.0
  End Parameters
End Model
to:

(:table border=1 width=50% align=left bgcolor=#EEEEEE cellspacing=0:) (:cellnr:)

 ! Example model that demonstrates parameter declarations
 Model example
   Parameters
     p0                 ! no initial value provided - default = 1
     p1 = 1.5           ! initializes to 1.5
     p2 = 2 * p1        ! initializes to 3.0
     p3 = exp(p2) * p1  ! initializes to exp(3.0) * 1.5
     my_parameter = 1   ! initializes to 1.0
   End Parameters
 End Model
September 25, 2008, at 10:08 AM by 158.35.225.230 -
Added lines 6-7:

Example

September 25, 2008, at 09:48 AM by 158.35.225.230 -
September 25, 2008, at 09:48 AM by 158.35.225.230 -
Changed line 5 from:

Parameters are declared in the Parameters ... End Parameters section of the model file. The parameters may be defined in one section or in multiple declarations throughout the model. Parameter initialization is performed sequentially, from top to bottom. If a parameter does Parameters may also be a function of other parameters or variable initial conditions.

to:

Parameters are declared in the Parameters ... End Parameters section of the model file. The parameters may be defined in one section or in multiple declarations throughout the model. Parameter initialization is performed sequentially, from top to bottom. If a parameter does not have an initial value given, a default value of 1.0 is assigned. Parameters may also be a function of other parameters or variable initial conditions. These initial conditions are processed once as the first step after the model parsing.

September 25, 2008, at 08:48 AM by 158.35.225.230 -
Added lines 1-21:

Parameters

Parameters are fixed values that represent model inputs, fixed constants, or any other value that does not change. Parameters are not modified by the solver as it searches for a solution. As such, parameters do not contribute to the number of degrees of freedom (DOF).

Parameters are declared in the Parameters ... End Parameters section of the model file. The parameters may be defined in one section or in multiple declarations throughout the model. Parameter initialization is performed sequentially, from top to bottom. If a parameter does Parameters may also be a function of other parameters or variable initial conditions.

(:table class='markup horiz' align='left':) (:cellnr class='markup1':)

! Example model that demonstrates parameter declarations
Model example
  Parameters
    p0                 ! no initial value provided - default = 1
    p1 = 1.5           ! initializes to 1.5
    p2 = 2 * p1        ! initializes to 3.0
    p3 = exp(p2) * p1  ! initializes to exp(3.0) * 1.5
    my_parameter = 1   ! initializes to 1.0
  End Parameters
End Model

(:tableend:)