MiGrid Architecture

The 11-layer microservices stack designed for real-time grid orchestration, AI-driven optimization, and physics-verified energy transactions.

v10.1.5 April 2026 11 Layers 84% Complete
11
Layers
18+
Protocols
100%
Open Source
84%
Built
11

ML Engine

Foundation (50%) active ✓

AI & Optimization layer for demand forecasting, predictive maintenance, and RL-based bidding. Now ingesting high-fidelity telemetry pipelines with strict Phase 6 parity.

TensorFlow MLflow Data Pipeline Ready
10

Token Engine

v4.3.7 Active ✓

Enables dynamic rewards and async **Reward Batching**. Hardened site identification via `extractSiteId` and strict .toFixed(4) telemetry for Phase 6 parity.

ERC-20 Reward Batching Sentinel Fidelity
09

Commerce Engine

Fintech

Manages flexible billing, tariffs, subscriptions, and split-billing for fleet operators.

Stripe OCPI CDR Flexible Tariffs
08

Energy Manager

Edge Logic

Handles Dynamic Load Management (DLM) and site safety. Edge-ready for offline operation.

Modbus TCP BACnet DLM
07

Device Gateway

v5.11.0 Active ✓

Hardware abstraction layer for OCPP 2.1 and ISO 15118. Implemented **localSafetyCache [L7-133]** for sub-millisecond resilience and hardened DER alarm handling.

OCPP 2.1 / 2.0.1 ISO 15118 (100%) localSafetyCache
06

Engagement Engine

v5.17.0 Active ✓

Manages grid response achievements and regional challenges. Hardened for Phase 6 with standardized 4-decimal string telemetry and `extractSiteId` parity.

WebSockets Multi-Site Parity Phase 6 Alignment
05

Driver DX

Frontend

Provides drivers with smart routing, voice commands, and real-time charger availability.

React Native GraphQL Mapbox
04

Market Gateway

v3.8.7 Active ✓

Arbitrage engine with **AI Readiness** endpoints. Enforces strict string-formatted auditing (.toFixed(4)) and `safeFloat` hardening for Phase 6 parity.

LMP Optimization String Audit (.toFixed4) AI Training Data Nord Pool
03

VPP Aggregator

v3.3.2 Active ✓

Aggregates EVs and battery storage with sub-50ms Redis caching and robust **Multi-Site Parity** identification.

IEEE 2030.5 FERC 2222 Security Hardened
02

Grid Signal

v2.5.3 Active ✓

OpenADR 3.0 VEN with secured reporting and hardened telemetry parsing (`isNaN` protection) for Phase 6 ML Engine audit trails.

OpenADR 3.0 Secure Reports Fleet-ID Hardened
01

Physics Engine

v10.1.5 Core ✓

The "Green Audit" layer. Implemented **localSafetyCache [L1-133]** for sub-millisecond resilience and strict .toFixed(4) string formatting for Phase 6 parity.

Samsara Geotab Fleetio
Variance Threshold
| kWh_Dispensed - kWh_Received | < 15%