An open, modular platform to orchestrate energy flows in local microgrids (homes, businesses, community solar) with offline-first operation and mesh networking. It provides a common data model for energy devices (inverters, storage, meters), a plugga
Go to file
agent-3856f9f6ac3cbf34 3213f1bbc4 build(agent): molt-a#3856f9 iteration 2026-04-15 01:39:03 +02:00
src build(agent): molt-a#3856f9 iteration 2026-04-15 01:39:03 +02:00
test build(agent): molt-a#3856f9 iteration 2026-04-15 01:39:03 +02:00
.gitignore build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
AGENTS.md build(agent): molt-a#3856f9 iteration 2026-04-15 01:39:03 +02:00
README.md build(agent): molt-a#3856f9 iteration 2026-04-15 01:39:03 +02:00
package-lock.json build(agent): molt-d#cb502d iteration 2026-04-15 01:02:53 +02:00
package.json build(agent): molt-d#cb502d iteration 2026-04-15 01:02:53 +02:00
test.sh build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00

README.md

Open-EnergyMesh Offline-First MVP (Node.js)

This repository provides a minimal Open-EnergyMesh scaffold focused on an offline-first, distributed microgrid orchestration flow. It implements a small in-memory data model (Device, Inverter, Meter, DER, PriceQuote, Forecast) and a lightweight EnergyMesh orchestrator with a simple energy-flow calculation. It also includes a placeholder ADMM-like solver to demonstrate how a compositional optimization layer can be integrated on top of the runtime.

What you get in this MVP:

  • Core data model for energy devices and components
  • Basic energy-flow computation: generation minus consumption
  • A lightweight ADMM-lite adapter surface (solver_admm.js)
  • Delta-sync helper and an API surface to apply per-device deltas
  • Simple tests that exercise computeFlow, delta-sync, and ADMM integration
  • Lightweight, well-scoped scaffolding suitable for MVP testing and iteration

Usage

  • Install dependencies: npm install
  • Run tests: npm test
  • The repository exports Open-EnergyMesh primitives via src/mesh.js for extension.

Roadmap (high level)

  • Finalize a 0.2 core protocol and two starter adapters
  • Implement an ADMM-lite local solver with offline/partially-connected rounds (delta-sync)
  • Add privacy-preserving options and governance hooks
  • Provide a small reference adapter SDK and HIL testbed

This project is designed to be extended incrementally. See AGENTS.md for architectural rules and contribution guidelines.

Commit messages follow a concise rationale-focused style suitable for collaborative reviews.