Default: Difference between revisions

From ASCEND
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
== Attribute of ATOMs ==
== Attribute of ATOMs ==


Firstly, it is the first-guess value which will be defined for any real-valued [[ATOM]]] instances in a [[MODEL]] when the model is first instantiated. This first guess is usually chosen in the vicinity of the expected solved value of a variable, such that the iterative solver will converge quickly and reliably. Default values are defined in [[ATOM]] statements for each type of atom defined. For example, see {{src|models/atoms.a4l}}.
Firstly, it is the first-guess value which will be defined for any real-valued [[ATOM]] instances in a [[MODEL]] when the model is first instantiated. This first guess is usually chosen in the vicinity of the expected solved value of a variable, such that the iterative solver will converge quickly and reliably. Default values are defined in [[ATOM]] statements for each type of atom defined. For example, see {{src|models/atoms.a4l}}.


See also [[upper_bound]], [[lower_bound]], [[nominal]].
See also [[upper_bound]], [[lower_bound]], [[nominal]].
Line 10: Line 10:
== METHOD name ==
== METHOD name ==


Second, '''default'' is also the name of a [[METHOD]] used in [[automatic recursive initialisation]] of models.
Second, '''default''' is also the name of a [[METHOD]] used in [[automatic recursive initialisation]] of models.


[[Category:Syntax]]
[[Category:Syntax]]

Latest revision as of 09:14, 2 August 2010

default has two meanings in the ASCEND language.

Attribute of ATOMs

Firstly, it is the first-guess value which will be defined for any real-valued ATOM instances in a MODEL when the model is first instantiated. This first guess is usually chosen in the vicinity of the expected solved value of a variable, such that the iterative solver will converge quickly and reliably. Default values are defined in ATOM statements for each type of atom defined. For example, see models/atoms.a4l.

See also upper_bound, lower_bound, nominal.

METHOD name

Second, default is also the name of a METHOD used in automatic recursive initialisation of models.