From GridLAB-D Wiki
Jump to: navigation, search

The clock is a timestamp and it is the most important global variable in GridLAB-D. It defines the current simulation time. When a simulation starts it is by default defined as INIT.


In GLM files, the clock block is used to control how the clock works. The block syntax is as follows

clock {
  timezone specifications;
  starttime "YYYY-MM-DD hh:mm:ss ZZZ";
  stoptime "YYYY-MM-DD hh:mm:ss ZZZ";

See also