How azzabouzir/green-lanterns--gridbalance works
GRIDBALANCE is an operator-led decision-support platform for manual rotating load shedding; it allocates and tracks shedding but does not control the grid directly. The main workflow runs from the DN’s situation and flexibility inputs through a shedding order, CRC acknowledgement/allocation, BCC acceptance and execution, then simulated SCADA breaker telemetry, alarms and restoration. Citizens receive alerts, while history, audit and learned statistics support accountability. The README documents several capabilities whose implementation details were not sampled, so those components and relationships are shown at the documented subsystem level.
Main entry points: index.html Web client · server.js Order workflow · scada-sim.js RTU simulator
Components 19
Decision support
- DN assistant
server.js - Scenario planning
server.js - Flexibility requests
server.js - Regional allocation
server.js
Grid operations
- Order workflow
server.js - Protected sites
server.js - SCADA API
server.js - RTU simulator
scada-sim.js - Telemetry and alarms
server.js
Platform services
- Web client
public/index.html - SQLite store
server.js - Role-based auth
server.js
Accountability
- Audit and history
server.js - Learning statistics
server.js - Citizen alerts
server.js - Audit reporting
server.js
Other components
- Grid operators
- Industrial users
- Citizens
Connections 23
- Grid operators → Web client: use screens
README.md - Industrial users → Web client: respond to requests
README.md - Citizens → Web client: view alerts
README.md - Web client → DN assistant: submit inputs
README.md - DN assistant → Scenario planning: request scenarios
README.md - DN assistant → Flexibility requests: request flexibility
README.md - DN assistant → Order workflow: create order
README.md - Web client → Regional allocation: submit allocation
README.md - Web client → Order workflow: acknowledge and execute
README.md - Order workflow → Protected sites: check feeders
README.md - Order workflow → SCADA API: issue commands
README.md - RTU simulator → SCADA API: poll and send telemetry
scada-sim.js - SCADA API → Telemetry and alarms: process telemetry
README.md - Telemetry and alarms → Order workflow: propose rotation
README.md - Web client → Role-based auth: log in
README.md - Role-based auth → SQLite store: read and seed records
server.js - Audit and history → SQLite store: write and verify events
server.js - Order workflow → Audit and history: record actions
README.md - Order workflow → Learning statistics: update after outage
README.md - Web client → Citizen alerts: request citizen status
README.md - Citizen alerts → Citizens: show alerts
README.md - Web client → Audit reporting: request report
README.md - Audit reporting → Audit and history: export audit log
README.md