EMS V2 Documentation
Documentation for the EMS (Energy Management System) V2 platform, including the Python EMS backend, the Modbus simulators/clients, the diagnostic test suite, and the Laravel frontend integration.
Sections
- Python Code — Modbus TCP server, simulators (AC, BMU, PCS, meters, sensor), save-data clients, runtime JSON templates, logging, and the test API. Includes the high-rate Frequency Meter client (10–100 ms sampling with batched writes).
- EMS Backend — developer index, HTTP API endpoints, the 5-second settings pull, schedule control, deployment, troubleshooting, and installation. The Frequency Meter Data Pipeline page traces one sample from the simulator register map through both databases to the rendered dashboard chart.
- Diagnostic Tests — the diagnostic framework API, its JSON parameters, and one document per implemented test (SOH, SOC, cell balancing, internal resistance, thermal response).
- Laravel Integration — how the
ems-frontendcontainer proxies calls to the Python EMS service, with the API contract and deployment/testing notes. - Bash code — start/stop scripts for the EMS and the simulators.
- Guides — task-oriented how-tos (rate limiting, debug local mode, device identity, settings configuration, PCS client usage and log viewing).
- Scada server Setup — SCADA server setup and the EMS VPN installation.
Use the search bar (top-right) to find functions, classes, endpoints, and concepts.