From GridLAB-D Wiki
Jump to: navigation, search

init_sequence - Initialization sequence control Template:NEW30

Synopsis

#set init_sequence=DEFERRED

CREATION

Objects are initialized in the order in which they are created. This was the default initialization sequences used prior to Hassayampa (Version 3.0).

DEFERRED

Objects are initialized in the order in which they are created and can defer initialization if desired. This is the default initialization sequence used as of Hassayampa (Version 3.0).

BOTTOMUP

Objects are initialized in bottom-up rank order, in the order in which they are created within each rank, and can defer initialization if desired.

TOPDOWN

Objects are initialized in top-down rank order, in the order in which they are created within each rank, and can defer initialization if desired.

AUTO

Object are initialized in the order in which they are created but are automatically deferred if either the object parent or any object referred by an object property is not yet initialized.

Remarks

The initialization sequence can be controlled using the init_sequence global variable. When CREATION is used, the initialization sequence will be the one used prior to Hassayampa (Version 3.0), i.e., objects will be initialization in the order in which they are defined in the GLM file.

As of Hassayampa (Version 3.0), the default initialization sequence is DEFERRED – objects are initialized in the order in which they are defined in the GLM file. However, objects may request deferred initialization if another object on which they depend is not yet initialized.

Version

The init_sequence variable was introduced in Hassayampa (Version 3.0).

See also