pypowsybl.voltage_initializer.VoltageInitializerParameters.set_active_power_variation_rate¶
- VoltageInitializerParameters.set_active_power_variation_rate(active_power_variation_rate)[source]¶
Changes the weight to favor more/less minimization of active power produced by generators.
- Parameters:
active_power_variation_rate (float) – is >= 0 and =< 1. A 0 active_power_variation_rate means the model will minimize the sum of generations. A 1 active_power_variation_rate means the model will minimize the sum of squared differences between target and value.
- Return type:
None