pypowsybl.network.scalable.StackScalable¶
- class StackScalable(scalables, min_value=None, max_value=None)[source]¶
Scalable that applies the asked modification on a list of underlying scalables, using them in order. The power change is applied to the first Scalable in the list until it is at its limit, then to the next one.
Methods
__init__(scalables[, min_value, max_value])from_injections(injection_ids[, min_value, ...])Create a StackScalable from a list of injection ids.
from_scalables(scalables[, min_value, max_value])Create a StackScalable from a list of underlying Scalable.
scale(network, asked[, parameters])Apply the active power scaling to a given network.
Attributes
childrenmax_valuemin_valuetype