Clock (directive)

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:


 * The default timezone used for schedules and reading and writing timestamp value.
 * The clock starttime
 * The clock stoptime

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.