Pauseat

The pauseat time is a timestamp global variable that enables a synchronization event on the main loop state when the clock reaches or exceeds the pauseat time. The default pauseat time is NEVER.

= GLM =

The pauseat time can be set in a GLM file using the directive


 * 1) set pauseat=datetime

where datetime is a timestamp. If datetime is NEVER, then the pauseat time is cleared and no synchronization event will occur on the main loop state.

= Command line =

The pauseat time can be set from the command line using the define command line option:

host% gridlabd --define pauseat=datetime -or- host% gridlabd -D pauseat=datetime

where datetime is a timestamp. If datetime is NEVER, then the pauseat time is cleared and no synchronization event will occur on the main loop.

= Server control =

The server main loop synchronization event may be directly controlled using the server control commands. The pauseat can be cancelled using the control query:

http://hostname:portnum/control/resume

and it may be set to a new value

http://hostname:portnum/control/pauseat=datetime

which will implicitly restart the simulation if the new datetime is greater than the current clock value.

= See also =


 * timestamp
 * clock
 * main loop
 * server control