MiGrid Architecture

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

v10.1.6 June 2026 11 Layers 85% Complete
11
Layers
18+
Protocols
100%
Open Source
85%
Built
11

ML Engine

Foundation (60%) 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.9 Active ✓

Enables dynamic rewards and behavioral triggers (DER alarm, solar ramp). Hardened via `safeFloat` and `.toFixed(4)` telemetry for Phase 6 parity.

ERC-20 Behavioral Rewards 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.13.0 Active ✓

Hardware abstraction for OCPP 2.1. Implemented **localSafetyCache [L7-133]**, **safeFloat hardening**, and **Heartbeat availability tracking**.

OCPP 2.1 / 2.0.1 ISO 15118 (100%) Heartbeat Indexing
06

Engagement Engine

v5.18.0 Active ✓

Manages grid response achievements and regional challenges. New **'Hardware Health Guardian'** achievement rewards drivers for sites with zero regional alarms.

WebSockets Health Guardian 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.9.0 Active ✓

Arbitrage engine with **localSafetyCache [L4-133]**. Enforces strict string-formatted auditing and `safeFloat` hardening for Phase 6 parity.

LMP Optimization localSafetyCache AI Training Data Nord Pool
03

VPP Aggregator

v3.3.3 Active ✓

Aggregates EVs and battery storage. Enforces strict 20% SoC floor and sub-50ms Redis caching with robust **Multi-Site Parity** identification.

IEEE 2030.5 safeFloat Parity Security Hardened
02

Grid Signal

v2.5.6 Active ✓

OpenADR 3.0 VEN with **localSafetyCache [L2-133]** and **safeFloat hardening** for Phase 6 ML Engine audit trails.

OpenADR 3.0 localSafetyCache Fleet-ID Hardened
01

Physics Engine

v10.1.6 Core ✓

The "Green Audit" layer. Implemented **localSafetyCache [L1-133]**, **safeFloat hardening**, and strict Phase 6 telemetry parity.

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