DAO DRES is a distributed resilience and energy-operations suite for coordinating hybrid power assets under disruption scenarios. It combines environmental data ingestion, predictive analytics, optimization planning, microgrid device control, geothermal baseload stabilization, orchestration loops, and audit capture into a single technical system.
This repository is intentionally technical. Its main value is to demonstrate system design depth: service decomposition, control-loop behavior, optimization under uncertainty, operational telemetry, and cross-service execution flow.
See PUBLIC_EDITION_SCOPE.md for public-boundary notes.
DAO DRES represents the resilient energy operations layer within the broader Sampo AI OS ecosystem. It is not a consumer-facing application. It is an infrastructure-grade backend system designed for resilient control, contingency planning, and operational decision support.
-
Data Integration Service Loads and normalizes environmental event data into weather, flood, and seismic risk signals.
-
Predictive Analytics Engine Generates short-horizon production forecasts and infrastructure risk assessments.
-
Dynamic Optimization Engine Produces action plans for storage and baseload behavior under risk constraints.
-
Microgrid Device Controller Simulates controllable energy assets and records state transitions.
-
Geothermal Baseload Stability Service Maintains simulated geothermal output using PID control.
-
Orchestration Service Executes the control loop by fetching plans and dispatching commands.
-
Audit Log Service Collects operational state-transition events for traceability.
- decomposed multi-service runtime instead of a single monolith
- deterministic seeded event dataset for reproducible scenarios
- real optimization logic using binary decision variables and constrained planning
- closed-loop orchestration across multiple service boundaries
- simulated plant-control logic with PID-based geothermal regulation
- operational event history for auditability
- Prometheus-compatible metrics on critical services
- resilient energy control in remote or disrupted environments
- microgrid orchestration demonstrations
- technical portfolio evidence for distributed systems and control engineering
- research and prototyping for energy resilience workflows
- architecture reviews for operational AI systems
data_integration_service.pynormalizes seeded event data into structured system signalspredictive_analytics_engine.pyconverts operating context into production and risk predictionsdynamic_optimization_engine.pycreates actionable plans using constrained optimizationmicrogrid_device_controller.pyprovides controllable asset endpoints and event recordinggeothermal_stability_service.pyruns a PID control loop over a simulated plantorchestration_service.pydrives the end-to-end control loopaudit_log_service.pygathers device-event traces into an audit surface
docker compose up --buildMain service endpoints:
- orchestration status:
http://localhost:18118/status - optimization plan:
http://localhost:18114/optimize - device list:
http://localhost:18112/devices - geothermal status:
http://localhost:18115/status - audit logs:
http://localhost:18117/logs
pip install -r requirements.txt
pytest -qThe public edition is designed to be technically representative and locally runnable. It keeps the distributed control pattern visible while using seeded data and lighter message-flow assumptions suitable for public release.
DAO DRES is one of the highest-complexity infrastructure services within Sampo AI OS. In ecosystem terms, DAO Hub remains the orchestration center, while DAO DRES demonstrates the energy-resilience and operational-control layer that can sit beneath larger governance and analytics surfaces.
