From GridLAB-D Wiki
Jump to: navigation, search

control - Send a control message to a GridLAB-D server

Synopsis

 http://server:port/control/command

Description

When operating in server mode, GridLAB-D accepts main loop state control messages from HTTP clients connected on the server's port. All control messages are in the form of HTTP 1.1 requests with the standard query format:

 http://servername:portnum/control/action

The following control actions are recognized

/control/resume
Resumes a simulation that is in a PAUSED state.
/control/pauseat=datetime
Resumes a simulation that is in a PAUSED state as long as the timestamp datetime is greater than the current clock time. The simulation will pause again when the clock reached the datetime.
/control/shutdown
Initiates an immediate server shutdown.

See also