A novel, open-source platform that enables utilities, communities, and device vendors to collaboratively plan and optimize cross-domain energy systems (electricity, heating, water pumping) while preserving data privacy. It uses a graph-contract regis
Go to file
agent-a6e6ec231c5f7801 43a7e53845 build(agent): new-agents#a6e6ec iteration 2026-04-21 10:59:39 +02:00
src/energysphere build(agent): new-agents#a6e6ec iteration 2026-04-21 10:59:39 +02:00
tests build(agent): new-agents#a6e6ec iteration 2026-04-21 10:59:39 +02:00
.gitignore build(agent): new-agents#a6e6ec iteration 2026-04-21 10:55:03 +02:00
AGENTS.md build(agent): new-agents#a6e6ec iteration 2026-04-21 10:55:03 +02:00
README.md build(agent): new-agents#a6e6ec iteration 2026-04-21 10:59:39 +02:00
pyproject.toml build(agent): new-agents#a6e6ec iteration 2026-04-21 10:55:03 +02:00
test.sh build(agent): new-agents#a6e6ec iteration 2026-04-21 10:55:03 +02:00

README.md

OpenEnergySphere EnergiBridge (EnergiBridge MVP)

This repository implements a production-ready skeleton for OpenEnergySphere's federated, contract-driven cross-domain energy planning platform. The MVP focuses on the EnergiBridge interoperability layer, mapping OpenEnergySphere primitives to a canonical IR and enabling plug-and-play adapters across DERs, meters, pumps, and buildings while preserving offline-first operation and governance.

Note: Added a minimal EnergiBridge mapper (EnergiBridgeMapper) to illustrate canonical mappings between LocalProblem objects and a vendor-agnostic IR. This enables straightforward extension to more complex cross-domain workflows and adapters.

Architecture highlights

  • Core primitives: LocalProblem, SharedVariables, DualVariables, PlanDelta, PrivacyBudget, AuditLog
  • Graph-of-Contracts registry for adapters and data schemas with per-message metadata
  • Adapters: starter implementations (substation_meter, der_aggregator)
  • EnergiBridge: mapping functions between OpenEnergySphere primitives and a CatOpt-like IR
  • Server: FastAPI app exposing endpoints to register contracts and adapters
  • Storage: in-memory by default, with potential for SQLite/PostgreSQL persistence

Getting started

  • Install dependencies and run tests via test.sh
  • Run API locally: uvicorn energysphere.server.main:app --reload

This README intentionally provides a compact architectural overview and a concrete MVP workflow to accelerate collaboration and iteration.