From GridLAB-D Wiki
Jump to: navigation, search

The clock directive declares how the internal clock in GridLAB-D is to function during the simulation. The clock directive control the following features of the internal clock:

GLM

clock {
  timezone tzspec;
  starttime YYYY-MM-DD hh:mm:ss ZZZ;
  stoptime YYYY-MM-DD hh:mm:ss ZZZ;
}
Note 
If the TZ environment variable is not set, the timezone should be the first feature specified because it is needed to read the starttime and stoptime.

See also