From GridLAB-D Wiki
Jump to: navigation, search

The module directive is used in GLM file to indicate that a model utilizes classes defined in the specified module and all the classes, global variables, and functions implemented by that module must be loaded.

The module directive also can open a block in which the module's global variables can be altered.

GLM

module name;
module name {
  variable value;
  // ...
}

See also