Distributed energy resources
DERIM
Status
Public repository with a published roadmap in the README. The README lists further adapters (for example DNP3 and IEC 61850) and a WebSocket API as future work.
Problem
Solar inverters, battery storage and EV chargers report through different protocols and data formats. Applications that need a consistent view have to rebuild the same integration layer each time.
Approach
Protocol adapters (Modbus, MQTT, SunSpec, OCPP) feed a normaliser that maps data to a CIM-aligned model (IEEE 2030.5 and IEC 61968/61970). A FastAPI REST API exposes it, time-series data is stored in InfluxDB or SQLite, and a digital twin module (LSTM and baseline forecasting, simulation) works on the same data. Built with Python 3.11+, FastAPI, PyTorch and InfluxDB, container-first.
Architecture
DERIM layers
- DER hardware: Inverters · battery storage · EV chargers · meters
- Protocol adapters: Modbus · MQTT · SunSpec · OCPP
- Normaliser: Data normalisation and CIM mapping
- Core services: REST API · time-series storage · digital twin engine
- Applications: SCADA · VPP · DERMS · dashboards
Simplified from the high-level architecture diagram in the repository README.
Limits
Adapters beyond the four listed and the WebSocket API are roadmap items. Forecast quality depends on the data supplied; no benchmark is claimed here.