Commit bd8a9f0
committed
Start EV charger manager only if there are EV chargers in the graph
The EV charger manager has its own task that tracks the status of the
EV chargers and redistributes power to them as EVs are connected and
disconnected. This approach is specific to the EV charger pool,
because the status of the components is dynamic, unlike the
BatteryPool and the PVPool.
This task needs to run only in locations where there are EV chargers,
because it expects that there be at least one EV charger in a location
and runs into issues if that's not the case.
Signed-off-by: Sahas Subramanian <[email protected]>1 parent 7240eca commit bd8a9f0
File tree
1 file changed
+5
-2
lines changed- src/frequenz/sdk/actor/power_distributing/_component_managers/_ev_charger_manager
1 file changed
+5
-2
lines changedLines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
81 | 83 | | |
82 | 84 | | |
83 | 85 | | |
| |||
86 | 88 | | |
87 | 89 | | |
88 | 90 | | |
89 | | - | |
| 91 | + | |
| 92 | + | |
90 | 93 | | |
91 | 94 | | |
92 | 95 | | |
| |||
0 commit comments