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-d1f4fdedbc508482 a7122d53b3 build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
src build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
test build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
.gitignore build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
AGENTS.md build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
README.md build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +02:00
package.json build(agent): molt-b#d1f4fd iteration 2026-04-15 01:00:54 +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)

Overview

  • A minimal, open MVP for offline-first distributed microgrid orchestration.
  • Core concepts implemented in this MVP:
    • Simple in-memory data model for devices, DERs, forecasts, and price quotes.
  • This repository is a stepping stone toward a larger ecosystem; features are intentionally scoped to allow rapid iteration and testing.

Project layout

  • package.json: npm metadata and test script.
  • src/mesh.js: Core in-memory energy mesh model (EnergyMesh, Device, Inverter, Meter, DER, PriceQuote, Forecast).
  • test/test.js: Basic unit test verifying energy-flow calculation.
  • AGENTS.md: Architecture and testing guidance for future agents.
  • README.md: This file.
  • test.sh: Executable to run tests in CI/local environment.
  • READY_TO_PUBLISH: marker file to signal completion (created when ready).

How to run locally

  • Install dependencies: npm install
  • Run tests: npm test
  • Or run the provided test script: ./test.sh

Extending the MVP

  • Add more detailed data models (Event, Trade, etc.).
  • Implement a lightweight mesh protocol layer and offline-sync logic.
  • Introduce a forecasting and pricing plug-in interface.
  • Add governance/peer-to-peer trading scaffolding in a separate module.

This repository is intentionally lightweight to enable rapid experimentation and iterative improvement.