pypowsybl.voltage_initializer.VoltageInitializerParameters.set_penalty_voltage_target_ratio¶
- VoltageInitializerParameters.set_penalty_voltage_target_ratio(penalty_voltage_target_ratio)[source]¶
Sets the penalty for the voltage target ratio term in the ACOPF objective. Not setting it restores the historical default value.
- Parameters:
penalty_voltage_target_ratio (float) – is > 0.
- Return type:
None