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.
Indicate to voltage initializer that the given 2wt have a variable ratio.
Changes the weight to favor more/less minimization of active power produced by generators.
Changes the scaling factor applied to all the constraints before ACOPF solving
Changes the threshold used to fix active (resp.
Changes the ratio used to calculate threshold for corrections of high/low reactive power limits.
Changes the scaling of all variables (except reactive slacks and transformer ratios) before ACOPF solving
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.
Changes the threshold used for the correction of low active power limit of generators.
Changes the threshold of impedance considered as null.
Changes the maximal plausible value for high voltage limits (in p.u.) in ACOPF solving.
Changes the threshold defining the maximum active and reactive power considered in correction of generator limits.
Changes the threshold used to ignore voltage levels with nominal voltage lower than it.
Changes the threshold used to replace voltage limits of voltage levels with nominal voltage lower than it.
Changes the threshold of active and reactive power considered as null in the optimization.
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_penalty_active_power(penalty_active_power)Sets the penalty for active power generation in the ACOPF objective.
set_penalty_invest_rea_neg(...)set_penalty_invest_rea_pos(...)set_penalty_transfo_ratio(penalty_transfo_ratio)set_penalty_units_reactive(...)set_penalty_voltage_target_data(...)Sets the penalty for the voltage target data term in the ACOPF objective.
set_penalty_voltage_target_ratio(...)Sets the penalty for the voltage target ratio term in the ACOPF objective.
Changes the log level of non-linear optimization solver printings.
Changes the scaling factor applied to all reactive slacks variables before ACOPF solving
Changes the scaling factor applied to all transformer ratio variables before ACOPF solving