fms

CLI reference

Choose an FMS command for simulation, commissioning, replay or protocol development.

Decision engine and evidence🔗

CommandResult
fms daysList the seven reference days.
fms sim cold-snap --seed 1 --out runRun one day with and without control and save its evidence, register and telemetry.
fms floor --mode ems heat-pump:9 wallbox:11Calculate the protected minimum import power for a connection.
fms verify LOG --expect-head HASHVerify the chain against an independently recorded head.
fms explain LOG CONNECTIONInspect a connection’s recorded limits, reasons and acknowledgements.
fms publish review --manifest FILE --jsonReview one reporting month. Check the returned status and blockers before export.
fms publish export --manifest FILE --approval NAME --out NEW.csvExport an approved, reconciled field month.
fms sr-id IDValidate or complete a market resource identifier.

Reporting inputs and approval · Reference days

Edge service🔗

CommandResult
fmsd serve --demo feeder-trends --port 0Start a local operator desk and print its address.
fmsd example baseline --out NEW.jsonWrite a bundled example to a new file. Use fmsd example --help to list examples.
fmsd import-cim --model FILE --bindings FILEPreview a radial equipment extract. Add --out NEW.json to write the feeder.
fmsd commission BUNDLE --on YYYY-MM-DDValidate feeder inventory and show the target floors for a Berlin civil date.
fmsd monitor --helpShow inputs for receiving IEC 104 measurements and capturing shadow decisions.
fmsd replay-input BUNDLE --evidence NEW.jsonlReproduce decisions and write a JSON report to stdout.
fmsd compare BASELINE CANDIDATE --jsonCompare decisions and coverage. Exit 0 means equal, 1 means a material difference and 2 means invalid or incomparable inputs.
fmsd shadow LOGSelect commands and releases from a verified log.
fmsd reconcile-ingress LOG TRANSCRIPT --jsonMatch orders to receiver admissions. Exit 0 means reconciled, 1 means a discrepancy and 2 means invalid inputs.
fmsd flex request BUNDLE --forecast FILE --expiration TIMEAssess a day-ahead congestion forecast and print the flex-request@1 event, or nothing to ask.
fmsd flex order BUNDLE --forecast FILE --expiration TIME --offer FILE…Order the cheapest offers that cover the need; print the flex-order@1 events, the shortfall and the skipped offers.
fmsd flex settle --order FILE --prognosis EVENT… --actual FILESettle a D-Prognosis order against the received flex-prognosis@1 events and print the flex-settlement@1 event. --d-prognosis FILE replaces the events in the lab.
fmsd erasure EVENT --export FILE --evidence FILEAnswer an erasure@1 event. Exit 0 with the final confirmation, 3 with a pending one when an export still holds the premises.
--ops-listen ADDROn serve, monitor and serve-register: serve /livez, /readyz and /metrics for an orchestrator. Probes and metrics

Feeder import · Commissioning and replay · Live telemetry · Flexibility market

Development lab🔗

fms-lab provides an IEC 104 outstation, Control Measures controller and receiver, local TLS identities, and an OpenADR site-cap rehearsal. Use fms-lab --help for the subcommands. Protocol lab walkthroughs