pypowsybl.network.scalable.UpDownScalable¶
- class UpDownScalable(up_scalable, down_scalable, min_value=None, max_value=None)[source]¶
Scalable based on two others : one used when scaling the power up and one to scale the power down
Methods
__init__(up_scalable, down_scalable[, ...])from_injections(up_injection_id, ...[, ...])Create an UpDownScalable from two injection ids.
from_scalables(up_scalable, down_scalable[, ...])Create an UpDownScalable from two Scalable.
scale(network, asked[, parameters])Apply the active power scaling to a given network.
Attributes
max_valuemin_valueup_scalabledown_scalabletype