pypowsybl.network.scalable.UpDownScalable.from_scalables

classmethod UpDownScalable.from_scalables(up_scalable, down_scalable, min_value=None, max_value=None)[source]

Create an UpDownScalable from two Scalable.

Parameters:
  • up_scalable (Scalable) – The Scalable used to up power

  • down_scalable (Scalable) – The Scalable used to lower power

  • 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