pypowsybl.voltage_initializer.VoltageInitializerParameters#

class VoltageInitializerParameters[source]#

Parameters of a voltage initializer run.

Methods

__init__()

add_constant_q_generators(generator_id_list)

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

add_specific_high_voltage_limits(high_limits)

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

add_specific_low_voltage_limits(low_limits)

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

add_specific_voltage_limits(limits)

Indicate to voltage initializer to override the network voltages limits.

add_variable_shunt_compensators(shunt_id_list)

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

add_variable_two_windings_transformers(...)

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

set_active_power_variation_rate(...)

Changes the weight to favor more/less minimization of active power produced by generators.

set_default_constraint_scaling_factor(...)

Changes the scaling factor applied to all the constraints before ACOPF solving

set_default_minimal_qp_range(...)

Changes the threshold used to fix active (resp.

set_default_qmax_pmax_ratio(...)

Changes the ratio used to calculate threshold for corrections of high/low reactive power limits.

set_default_variable_scaling_factor(...)

Changes the scaling of all variables (except reactive slacks and transformer ratios) before ACOPF solving

set_high_active_power_default_limit(...)

Changes the threshold used for the correction of high active power limit of generators.

set_log_level_ampl(log_level_ampl)

Changes the log level of AMPL printings.

set_log_level_solver(log_level_solver)

Changes the log level of non-linear optimization solver printings.

set_low_active_power_default_limit(...)

Changes the threshold used for the correction of low active power limit of generators.

set_low_impedance_threshold(...)

Changes the threshold of impedance considered as null.

set_max_plausible_high_voltage_limit(...)

Changes the maximal plausible value for high voltage limits (in p.u.) in ACOPF solving.

set_max_plausible_power_limit(...)

Changes the threshold defining the maximum active and reactive power considered in correction of generator limits.

set_min_nominal_voltage_ignored_bus(...)

Changes the threshold used to ignore voltage levels with nominal voltage lower than it.

set_min_nominal_voltage_ignored_voltage_bounds(...)

Changes the threshold used to replace voltage limits of voltage levels with nominal voltage lower than it.

set_min_plausible_active_power_threshold(...)

Changes the threshold of active and reactive power considered as null in the optimization.

set_min_plausible_low_voltage_limit(...)

Changes the minimal plausible value for low voltage limits (in p.u.) in ACOPF solving.

set_objective(objective)

If you use BETWEEN_HIGH_AND_LOW_VOLTAGE_LIMIT, you also need to call

set_objective_distance(distance)

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

set_reactive_slack_buses_mode(...)

Changes the log level of non-linear optimization solver printings.

set_reactive_slack_variable_scaling_factor(...)

Changes the scaling factor applied to all reactive slacks variables before ACOPF solving

set_twt_ratio_variable_scaling_factor(...)

Changes the scaling factor applied to all transformer ratio variables before ACOPF solving