Voltage Initializer#

The voltage_initializer module is a tool to initialize voltage of a network before a loadflow and can prevent divergence.

Run the voltage initializer#

run(network[, params, debug])

Run voltage initializer on the network with the given params.

VoltageInitializerParameters : How to parameterize the tool#

VoltageInitializerParameters()

Parameters of a voltage initializer run.

VoltageInitializerParameters.add_variable_shunt_compensators(...)

Indicate to voltage initializer that the given shunt compensator has a variable susceptance.

VoltageInitializerParameters.add_constant_q_generators(...)

Indicate to voltage initializer that the given generator have a constant target reactive power.

VoltageInitializerParameters.add_variable_two_windings_transformers(...)

Indicate to voltage initializer that the given 2wt have a variable ratio.

VoltageInitializerParameters.add_specific_low_voltage_limits(...)

Indicate to voltage initializer to override the network low voltages limits, limit can be given relative to former limit or absolute.

VoltageInitializerParameters.add_specific_high_voltage_limits(...)

Indicate to voltage initializer to override the network high voltages limits, limit can be given relative to previous limit or absolute.

VoltageInitializerParameters.set_objective(...)

If you use BETWEEN_HIGH_AND_LOW_VOLTAGE_LIMIT, you also need to call

VoltageInitializerParameters.set_objective_distance(...)

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

VoltageInitializerResults : How to exploit the results#

VoltageInitializerResults(result_handle)

Results of a voltage initializer run.

VoltageInitializerResults.apply_all_modifications(network)

Apply all the modifications voltage initializer found to the network.

VoltageInitializerResults.status

If the optimisation failed, it can be useful to check the indicators.

VoltageInitializerResults.indicators

Returns: The indicators as a dict of the optimisation