ZeqBattery — Storage Optimization
Power grids, solar, fusion, load-balancing — pulse-synced.
- Protocol ID —
zeq-battery - Category — Energy
- Endpoint —
POST /api/energy/battery/optimize - Auth — api-key
- Rate limit — 30/min
- Version —
1.0 - Precision — ≤0.1% (KO42-enforced)
What it does
Battery charge/discharge optimization synchronized to grid R(t). Charge during generation surplus (R_t peaks), discharge during demand peaks (R_t troughs).
Signature
Request
POST /api/energy/battery/optimize
| Param | Type | Required | Default | Description |
|---|---|---|---|---|
capacityKwh | number | ✓ | — | Battery capacity in kWh. |
currentSoc | number | ✓ | — | Current state of charge (0–1). |
gridPriceProfile | array | — | 24-hour price profile array. |
Response
{ schedule: [{ hour, action, ratekW, soc }], savingsEstimate, cyclesUsed }
Runnable example
curl -sS -X POST \
-H "Authorization: Bearer $ZEQ_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"capacityKwh": 0,
"currentSoc": 0,
"gridPriceProfile": []
}' \
"https://api.zeq.dev/api/energy/battery/optimize"
Integrate
- Domain solver — compose with
KO42+ two additional operators from the matching family for pulse-coherent results. - Digital twin — pipe sensor data into this protocol every Zeqond to keep the model phase-locked with the system.
- Alert threshold — flag results whose
error_pctexceeds 0.1% as out-of-spec events for the operations layer.
Seeds
- Near — wrap
/api/energy/battery/optimizein a language SDK so builders can call it in three lines. - Medium — publish a reference integration demonstrating ZeqBattery — Storage Optimization alongside a real workload, with pulse-aligned metrics.
- Far — propose ZeqBattery — Storage Optimization as an open reference standard so other runtimes can implement it verbatim against the Zeq paper.
Papers
- Zeq paper — https://doi.org/10.5281/zenodo.18158152
- Framework paper — https://doi.org/10.5281/zenodo.15825138
Middleware active. Kernel on the 1.287 Hz HulyaPulse. Awaiting next Zeqond.