@@ -208,7 +208,6 @@ def new_ev_charger_pool(
208208 priority : int ,
209209 component_ids : abc .Set [int ] | None = None ,
210210 name : str | None = None ,
211- in_shifting_group : bool = False ,
212211 ) -> EVChargerPool :
213212 """Return the corresponding EVChargerPool instance for the given ids.
214213
@@ -221,8 +220,6 @@ def new_ev_charger_pool(
221220 EVChargerPool.
222221 name: An optional name used to identify this instance of the pool or a
223222 corresponding actor in the logs.
224- in_shifting_group: Whether the power requests get sent to the shifting group
225- in the PowerManager or not.
226223
227224 Returns:
228225 An EVChargerPool instance.
@@ -279,7 +276,6 @@ def new_ev_charger_pool(
279276 pool_ref_store = self ._ev_charger_pool_reference_stores [ref_store_key ],
280277 name = name ,
281278 priority = priority ,
282- in_shifting_group = in_shifting_group ,
283279 )
284280
285281 def new_pv_pool (
@@ -288,7 +284,6 @@ def new_pv_pool(
288284 priority : int ,
289285 component_ids : abc .Set [int ] | None = None ,
290286 name : str | None = None ,
291- in_shifting_group : bool = False ,
292287 ) -> PVPool :
293288 """Return a new `PVPool` instance for the given ids.
294289
@@ -301,8 +296,6 @@ def new_pv_pool(
301296 `PVPool`.
302297 name: An optional name used to identify this instance of the pool or a
303298 corresponding actor in the logs.
304- in_shifting_group: Whether the power requests get sent to the shifting group
305- in the PowerManager or not.
306299
307300 Returns:
308301 A `PVPool` instance.
@@ -356,7 +349,6 @@ def new_pv_pool(
356349 pool_ref_store = self ._pv_pool_reference_stores [ref_store_key ],
357350 name = name ,
358351 priority = priority ,
359- in_shifting_group = in_shifting_group ,
360352 )
361353
362354 def new_battery_pool (
@@ -365,7 +357,6 @@ def new_battery_pool(
365357 priority : int ,
366358 component_ids : abc .Set [int ] | None = None ,
367359 name : str | None = None ,
368- in_shifting_group : bool = False ,
369360 ) -> BatteryPool :
370361 """Return a new `BatteryPool` instance for the given ids.
371362
@@ -378,8 +369,6 @@ def new_battery_pool(
378369 `BatteryPool`.
379370 name: An optional name used to identify this instance of the pool or a
380371 corresponding actor in the logs.
381- in_shifting_group: Whether the power requests get sent to the shifting group
382- in the PowerManager or not.
383372
384373 Returns:
385374 A `BatteryPool` instance.
@@ -438,7 +427,6 @@ def new_battery_pool(
438427 pool_ref_store = self ._battery_pool_reference_stores [ref_store_key ],
439428 name = name ,
440429 priority = priority ,
441- in_shifting_group = in_shifting_group ,
442430 )
443431
444432 def _data_sourcing_request_sender (self ) -> Sender [ComponentMetricRequest ]:
@@ -555,7 +543,6 @@ def new_ev_charger_pool(
555543 priority : int ,
556544 component_ids : abc .Set [int ] | None = None ,
557545 name : str | None = None ,
558- in_shifting_group : bool = False ,
559546) -> EVChargerPool :
560547 """Return a new `EVChargerPool` instance for the given parameters.
561548
@@ -581,17 +568,12 @@ def new_ev_charger_pool(
581568 component graph are used.
582569 name: An optional name used to identify this instance of the pool or a
583570 corresponding actor in the logs.
584- in_shifting_group: Whether the power requests get sent to the shifting group
585- in the PowerManager or not.
586571
587572 Returns:
588573 An `EVChargerPool` instance.
589574 """
590575 return _get ().new_ev_charger_pool (
591- priority = priority ,
592- component_ids = component_ids ,
593- name = name ,
594- in_shifting_group = in_shifting_group ,
576+ priority = priority , component_ids = component_ids , name = name
595577 )
596578
597579
@@ -600,7 +582,6 @@ def new_battery_pool(
600582 priority : int ,
601583 component_ids : abc .Set [int ] | None = None ,
602584 name : str | None = None ,
603- in_shifting_group : bool = False ,
604585) -> BatteryPool :
605586 """Return a new `BatteryPool` instance for the given parameters.
606587
@@ -626,17 +607,12 @@ def new_battery_pool(
626607 graph are used.
627608 name: An optional name used to identify this instance of the pool or a
628609 corresponding actor in the logs.
629- in_shifting_group: Whether the power requests get sent to the shifting group
630- in the PowerManager or not.
631610
632611 Returns:
633612 A `BatteryPool` instance.
634613 """
635614 return _get ().new_battery_pool (
636- priority = priority ,
637- component_ids = component_ids ,
638- name = name ,
639- in_shifting_group = in_shifting_group ,
615+ priority = priority , component_ids = component_ids , name = name
640616 )
641617
642618
@@ -645,7 +621,6 @@ def new_pv_pool(
645621 priority : int ,
646622 component_ids : abc .Set [int ] | None = None ,
647623 name : str | None = None ,
648- in_shifting_group : bool = False ,
649624) -> PVPool :
650625 """Return a new `PVPool` instance for the given parameters.
651626
@@ -671,18 +646,11 @@ def new_pv_pool(
671646 graph are used.
672647 name: An optional name used to identify this instance of the pool or a
673648 corresponding actor in the logs.
674- in_shifting_group: Whether the power requests get sent to the shifting group
675- in the PowerManager or not.
676649
677650 Returns:
678651 A `PVPool` instance.
679652 """
680- return _get ().new_pv_pool (
681- priority = priority ,
682- component_ids = component_ids ,
683- name = name ,
684- in_shifting_group = in_shifting_group ,
685- )
653+ return _get ().new_pv_pool (priority = priority , component_ids = component_ids , name = name )
686654
687655
688656def grid () -> Grid :
0 commit comments