IDLE
Explicit no-op. The EMS runs its loop but issues no control commands.
| Mode string | IDLE (EMS_OP_IDLE) |
| Dispatcher | ems_main.py — inline branch |
| Config block | none |
| Status | Implemented |
Behaviour
The dispatch chain has a dedicated branch that logs and does nothing else:
elif mode == EMS_OP_IDLE:
print(f"[EMS] cycle={cycle} mode=IDLE (no control actions)")
The loop still runs at the configured refresh rate, still loads telemetry, and still performs its start/stop bookkeeping for the fast controllers:
- The frequency-regulation fast controller is stopped when the mode is not
FREQUENCY_REGULATION. - The external-control bridge is stopped when
is_external_control_active()is false.
Configuration
None. IDLE has no functions.* block — it is not in the configuration file at all.
Safety
The safest mode to select. No power or reactive setpoints are written, so no set_power_kw /
set_reactive_kvar / mode_* command is queued.
Caution: it does not clear the PCS write queue or force the PCS to zero. Any command queued by a previous mode and not yet applied will still be picked up by the PCS client. To actively stop the plant use STOP_ALL-style handling via
discard_pending_automatic_power_commandsandqueue_diagnostic_zero_power_commands.
Outputs
None.