pypowsybl.voltage_initializer.VoltageInitializerParameters.set_objective_distance#

VoltageInitializerParameters.set_objective_distance(distance)[source]#

If you use BETWEEN_HIGH_AND_LOW_VOLTAGE_LIMIT, you also need to call this function.

Parameters:

distance (float) – is in %. A 0% objective means the model will target lower voltage limit. A 100% objective means the model will target upper voltage limit.

Return type:

None