pypowsybl.network.scalable.UpDownScalable.from_injections

classmethod UpDownScalable.from_injections(up_injection_id, down_injection_id, min_value=None, max_value=None)[source]

Create an UpDownScalable from two injection ids.

Parameters:
  • up_injection_id (str) – The id of the injection with which to create the up scalable

  • down_injection_id (str) – The id of the injection with which to create the down scalable

  • min_value (optional) – The minimum active power value the modification can reach

  • max_value (optional) – The maximum active power value the modification can reach

Return type:

UpDownScalable