From GridLAB-D Wiki
Jump to: navigation, search

GLM file directives are used to define a GridLAB-D model. The following directives are recognized

Class
The class directive is used to declare or modify a class.
Clock
The clock directive is used to specify the how the model's clock works.
Extern Template:NEW30
The extern directive is used to link external function definition to object variables.
Global
The global directive is used to define global variables.
Instance Template:NEW30
The instance directive is used to connect two or more GridLAB-D instances in multirun mode.
Link Template:NEW30
The link directive is used to connect an instance of GridLAB-D to an external application.
Module
The module directive is used to load a module.
Modify  New in 4.0! 
The modify directive is used to change object properties after they have been created.
Object
The object directive is used to declare an object.
Schedule
The schedule directive is used to define a schedule.
Script Template:NEW30
The script directive is used to executive an external program or script.

See also