Commit 0399bdc
authored
PowerDistributing: Add support for n:m relations in invs:bats (#660)
- Allow component graph to be a DAG instead of a tree
- Fix comments in tests
- Don't guess missing power bounds from adjacent components
- GraphGenerator: Add function to generate list of components
- PowerDistributing: Add n:m support for inverters:batteries
refs #501File tree
8 files changed
+1356
-248
lines changed- src/frequenz/sdk
- actor/power_distributing
- _distribution_algorithm
- microgrid
- tests
- actor/power_distributing
- utils
8 files changed
+1356
-248
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
16 | 18 | | |
0 commit comments