Commit 2aa9de3
authored
Introduce the BatteryPool, and implement power bounds calculation for the pool (#32)
This PR introduces a high-level `BatteryPool` API and supporting
telemetry/bounds trackers to compute aggregated dispatch power bounds
for a pool of batteries (grouped by inverter↔battery topology), along
with a refactor of formula streaming APIs to use metric generics.
**Changes:**
- Add battery pool telemetry tracking (healthy/unhealthy partitioning
with latest telemetry) and bounds aggregation across inverter-battery
groups.
- Expose `Microgrid`/`BatteryPool` as public high-level APIs and add a
bounds example.26 files changed
Lines changed: 2117 additions & 46 deletions
File tree
- examples
- src
- client
- proto
- logical_meter
- formula
- microgrid
- telemetry_tracker
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
31 | 39 | | |
32 | 40 | | |
33 | 41 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
0 commit comments