fms

Getting started

Run the operator desk, simulate a feeder day and verify the evidence.

Build from source🔗

With Rust 1.96 or newer, run these commands from the workspace root. The desk includes a synthetic feeder and two recorded EMS responses.

cargo install --locked --path crates/fms
cargo install --locked --path services/fmsd
fmsd serve --demo partial-delivery --port 0

Open the printed investigation URL. Select each target’s reply, then inspect the next transformer reading. Press Ctrl-C to stop the service. Partial-delivery walkthrough

Run a day🔗

fms days
fms sim cold-snap

Compare the transformer loading and congestion minutes with and without control. The floor checks count limits below the guaranteed minimum. Use fms sim all for all seven reference days or --seed to try another simulated feeder. Simulator inputs and scenarios

Keep the evidence🔗

fms sim cold-snap --out day/
fms verify day/evidence.jsonl
fms explain day/evidence.jsonl H101c
fms publish review --manifest day/reporting-month.json

verify checks the recorded chain. explain shows one connection’s decisions. The reporting review identifies missing coverage because the simulation supplies one day of the month. Reporting review and export

Try a corrected feeder🔗

Write the bundled exports with fmsd example baseline --out baseline.json and fmsd example corrected --out corrected.json. Run fmsd compare baseline.json corrected.json to find the first changed decision. This example returns exit code 1. Open the changed decision in the desk