From GridLAB-D Wiki
Jump to: navigation, search

The strictnames global variable enforces rules that prevent implicit creation of variable using the #set directive. By default strict naming rules are enabled.

GLM

To enforce strict assignment rules, use the directive

#set strictnames=TRUE

To relax strict naming rules, use the directive

#set strictnames=FALSE

Command line

To enforce strict assignment rules, use the command

host% gridlabd -D strictnames=TRUE

or

host% gridlabd --define strictnames=TRUE

To relax strict assignment rules, use the command

host% gridlabd -D strictnames=FALSE

or

host% gridlabd --define strictnames=FALSE

Note

Do not confuse strictnames with relax_naming_rules, which affect whether certain legacy naming conventions are permitted.

See also