The building simulator communicates with its environment via so-called eventstreams. A distinguished one is used to control the simulation itself, it is called the controlstream. It can be used to
A running simulation can be interrupted, either at a specified point of time, on request of a user, or because some internal problems in the building simulator occured.
The building simulator can be run as fast as possible -- loose
-- or run in a mode -- fixed -- in which it tries to maintain a
relation between real and simulation time. This means that it can run n seconds simulation time passing in 1 second real-time. A slack of
seconds simulation time is allowed before the building simulator
takes responsive action. Possible reactions are to issue a warning or to
stop the simulation.
Each configuration must contain exactly one definition of a controlstream. This must be an entry of the form
'[ controlstream,' Window | Silent '].' | |
Window | 'window' [',' End [',' Mode [',' Breaks [',' run ] ] ] ] |
End | 'infinity' | Seconds | Compound |
Compound | '{' [ [ Hours ',' ] Minutes ',' ] Seconds ',' Milliseconds'}' |
Hours | <non-negative integer> |
Minutes | <non-negative integer> |
Seconds | <non-negative integer> |
Milliseconds | <non-negative integer> |
Mode | 'loose' | 'fixed' | |
'[' fixed [',' Cont [',' Factor [',' Slack ] ] ] ']' | |
Cont | 'cont' | 'stop' |
Factor | <positive integer> |
Slack | <positive integer> |
Breaks | '[]' | '[' (Seconds | Compound) (',' (Seconds | Compound))* ']' |
Silent | 'silent' [',' End [',' Mode ] ] |
The meaning of the buttons and scales should be obvious. To enter breakpoints the focus of the window system has to be set to the corresponding input form. The required input syntax is in the configuration file is: