pypowsybl.network.scalable.ProportionalScalable¶
- class ProportionalScalable(scalables, percentages, min_value=None, max_value=None)[source]¶
Scalable based on a proportional repartition of power change between underlying elements.
Methods
__init__(scalables, percentages[, ...])compute_scalables_percentages(injection_ids, ...)from_injections_and_distribution_mode(...[, ...])Create a ProportionalScalable from a list of injection IDs, computing their respective percentage of power repartition according to a given distribution mode.
from_injections_and_percentages(...[, ...])Create a ProportionalScalable from a list of injection IDs and their corresponding percentage of power repartition.
from_scalables_and_percentages(scalables, ...)Create a ProportionalScalable from a list of Scalable and their corresponding percentage of power repartition.
scale(network, asked[, parameters])Apply the active power scaling to a given network.
Attributes
childrenmax_valuemin_valuepercentagestype