Commit bc18941
committed
Update MockMicrogrid to produce same values from connected components
The MockMicrogrid assigns component_ids based on group and
component_type. For example, for the second meter/inverter/battery
group, meter_id would be `27`, inverter_id would be `28`, and
battery_id would be `29`.
The change in this commit ensures that connected meters and inverters
will produce similar power values.
Signed-off-by: Sahas Subramanian <[email protected]>1 parent 830b53b commit bc18941
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | | - | |
157 | | - | |
| 156 | + | |
158 | 157 | | |
159 | 158 | | |
160 | 159 | | |
| |||
0 commit comments