Distributed energy resources
GridOS
Status
The repository README is titled "under construction". The supported scope is the API service for device registration, telemetry and control; digital twin, forecasting and optimisation modules are experimental and not mounted in the default app.
Problem
DER devices speak different protocols and report in different shapes. A small, runnable service that registers devices, accepts telemetry and records control commands gives a first working path without a large deployment.
Approach
A FastAPI application with device, telemetry and control routes, in-memory storage by default and an SQLite file backend for persistence. Modbus TCP and MQTT adapters come with built-in device and broker simulators. Optional InfluxDB or TimescaleDB storage and an optional API-key gate on mutating endpoints are available. The README also describes economic dispatch and ROI backtest endpoints and a browser demo page.
Architecture
GridOS request path
- Client: Script, browser demo or other service
- FastAPI service: Device routes · telemetry routes · control routes
- Adapters: Modbus TCP · MQTT (with built-in simulators)
- Storage: In-memory (default) · SQLite · InfluxDB / TimescaleDB (optional)
Simplified from the architecture diagram in the repository README. Experimental modules are not part of the default app.
Limits
Under construction. Protocol adapters beyond Modbus TCP and MQTT, digital twin simulation, forecasting and optimisation are experimental. It is not a certified control system.