@@ -210,7 +210,6 @@ def new_ev_charger_pool(
210210 priority : int ,
211211 component_ids : abc .Set [int ] | None = None ,
212212 name : str | None = None ,
213- in_shifting_group : bool = False ,
214213 ) -> EVChargerPool :
215214 """Return the corresponding EVChargerPool instance for the given ids.
216215
@@ -223,8 +222,6 @@ def new_ev_charger_pool(
223222 EVChargerPool.
224223 name: An optional name used to identify this instance of the pool or a
225224 corresponding actor in the logs.
226- in_shifting_group: Whether the power requests get sent to the shifting group
227- in the PowerManager or not.
228225
229226 Returns:
230227 An EVChargerPool instance.
@@ -281,7 +278,6 @@ def new_ev_charger_pool(
281278 pool_ref_store = self ._ev_charger_pool_reference_stores [ref_store_key ],
282279 name = name ,
283280 priority = priority ,
284- in_shifting_group = in_shifting_group ,
285281 )
286282
287283 def new_pv_pool (
@@ -290,7 +286,6 @@ def new_pv_pool(
290286 priority : int ,
291287 component_ids : abc .Set [int ] | None = None ,
292288 name : str | None = None ,
293- in_shifting_group : bool = False ,
294289 ) -> PVPool :
295290 """Return a new `PVPool` instance for the given ids.
296291
@@ -303,8 +298,6 @@ def new_pv_pool(
303298 `PVPool`.
304299 name: An optional name used to identify this instance of the pool or a
305300 corresponding actor in the logs.
306- in_shifting_group: Whether the power requests get sent to the shifting group
307- in the PowerManager or not.
308301
309302 Returns:
310303 A `PVPool` instance.
@@ -358,7 +351,6 @@ def new_pv_pool(
358351 pool_ref_store = self ._pv_pool_reference_stores [ref_store_key ],
359352 name = name ,
360353 priority = priority ,
361- in_shifting_group = in_shifting_group ,
362354 )
363355
364356 def new_battery_pool (
@@ -367,7 +359,6 @@ def new_battery_pool(
367359 priority : int ,
368360 component_ids : abc .Set [int ] | None = None ,
369361 name : str | None = None ,
370- in_shifting_group : bool = False ,
371362 ) -> BatteryPool :
372363 """Return a new `BatteryPool` instance for the given ids.
373364
@@ -380,8 +371,6 @@ def new_battery_pool(
380371 `BatteryPool`.
381372 name: An optional name used to identify this instance of the pool or a
382373 corresponding actor in the logs.
383- in_shifting_group: Whether the power requests get sent to the shifting group
384- in the PowerManager or not.
385374
386375 Returns:
387376 A `BatteryPool` instance.
@@ -440,7 +429,6 @@ def new_battery_pool(
440429 pool_ref_store = self ._battery_pool_reference_stores [ref_store_key ],
441430 name = name ,
442431 priority = priority ,
443- in_shifting_group = in_shifting_group ,
444432 )
445433
446434 def _data_sourcing_request_sender (self ) -> Sender [ComponentMetricRequest ]:
@@ -557,7 +545,6 @@ def new_ev_charger_pool(
557545 priority : int ,
558546 component_ids : abc .Set [int ] | None = None ,
559547 name : str | None = None ,
560- in_shifting_group : bool = False ,
561548) -> EVChargerPool :
562549 """Return a new `EVChargerPool` instance for the given parameters.
563550
@@ -583,17 +570,12 @@ def new_ev_charger_pool(
583570 component graph are used.
584571 name: An optional name used to identify this instance of the pool or a
585572 corresponding actor in the logs.
586- in_shifting_group: Whether the power requests get sent to the shifting group
587- in the PowerManager or not.
588573
589574 Returns:
590575 An `EVChargerPool` instance.
591576 """
592577 return _get ().new_ev_charger_pool (
593- priority = priority ,
594- component_ids = component_ids ,
595- name = name ,
596- in_shifting_group = in_shifting_group ,
578+ priority = priority , component_ids = component_ids , name = name
597579 )
598580
599581
@@ -602,7 +584,6 @@ def new_battery_pool(
602584 priority : int ,
603585 component_ids : abc .Set [int ] | None = None ,
604586 name : str | None = None ,
605- in_shifting_group : bool = False ,
606587) -> BatteryPool :
607588 """Return a new `BatteryPool` instance for the given parameters.
608589
@@ -628,17 +609,12 @@ def new_battery_pool(
628609 graph are used.
629610 name: An optional name used to identify this instance of the pool or a
630611 corresponding actor in the logs.
631- in_shifting_group: Whether the power requests get sent to the shifting group
632- in the PowerManager or not.
633612
634613 Returns:
635614 A `BatteryPool` instance.
636615 """
637616 return _get ().new_battery_pool (
638- priority = priority ,
639- component_ids = component_ids ,
640- name = name ,
641- in_shifting_group = in_shifting_group ,
617+ priority = priority , component_ids = component_ids , name = name
642618 )
643619
644620
@@ -647,7 +623,6 @@ def new_pv_pool(
647623 priority : int ,
648624 component_ids : abc .Set [int ] | None = None ,
649625 name : str | None = None ,
650- in_shifting_group : bool = False ,
651626) -> PVPool :
652627 """Return a new `PVPool` instance for the given parameters.
653628
@@ -673,18 +648,11 @@ def new_pv_pool(
673648 graph are used.
674649 name: An optional name used to identify this instance of the pool or a
675650 corresponding actor in the logs.
676- in_shifting_group: Whether the power requests get sent to the shifting group
677- in the PowerManager or not.
678651
679652 Returns:
680653 A `PVPool` instance.
681654 """
682- return _get ().new_pv_pool (
683- priority = priority ,
684- component_ids = component_ids ,
685- name = name ,
686- in_shifting_group = in_shifting_group ,
687- )
655+ return _get ().new_pv_pool (priority = priority , component_ids = component_ids , name = name )
688656
689657
690658def grid () -> Grid :
0 commit comments