Outputs#

In case of convergence#

After the solving of the ACOPF, the script reactiveopfoutput.run is executed and the following files (except reactiveopf_results_indic.txt) are exported only if the solving is considered as successful (see AC Optimal powerflow):

File

Content

Format

reactiveopf_results_indic.txt

General information (system OS, computation time, etc.). The configurable thresholds/parameters (see section Configuration of the run). The cardinality of the sets (number of non-impedance branches, number of slack variables, etc.). Information about calculated angles (maximum/minimum theta, maximum difference between neighbors, etc.).

reactiveopf_results_static_var_compensators.csv

Calculated voltage and reactive power values for the SVC that regulates voltage. Note that the exported voltage value depends on the regulated bus to account for remote control.

6 columns #”variant” “num” “bus” “vRegul” “V(pu)” “Q(MVAr)”

reactiveopf_results_shunts.csv

Calculated reactive power (and susceptance) values for shunts that were either connected or modified after the optimization problems were resolved.

6 columns #”variant” “num” “bus” “b(pu)” “Q(MVAr)” “section”

reactiveopf_results_generators.csv

Calculated voltage, active and reactive power values for generating units. Note that the exported voltage value depends on the regulated bus to account for remote control.

9 columns #”variant” “num” “bus” “vRegul” “V(pu)” “targetP(MW)” “targetQ(MVAr)” “P(MW)” “Q(MW)”

reactiveopf_results_vsc_converter_stations.csv

Calculated reactive power values for VSC converter stations.

8 columns #”variant” “num” “bus” “vRegul” “targetV(pu)” “targetQ(MVAr)” “P(MW)” “Q(MVAr)”

reactiveopf_results_rtc.csv

RTCs and associated taps, with transformer ratio closest to the one calculated after the optimization.

3 columns #”variant” “num” “tap”

reactiveopf_results_reactive_slacks.csv

Calculated reactive slack variables \(\boldsymbol{\sigma^{Q,-}}\) and \(\boldsymbol{\sigma^{Q,+}}\).

6 columns #”variant” “bus” “slack_condensator(MVAr)” “slack_self(MVAr)” “id” “substation”

reactiveopf_results_voltages.csv

Calculated voltages for each bus of the main connex component (see Slack bus and main connex component).

5 columns #”variant” “bus” “V(pu)” “theta(rad)” “id”

If ACOPF solving is not successful, the user can export the following optional files (which help to analyze the ACOPF results) by specifying the ampl log parameter to a debug level (see Configuration of the run):

File

Content

Format

debug_bus.csv

Information on calculated voltages (values, bounds, repartition, etc.).

13 columns #”bus_id” “Vnom” “V” “Vlb” “Vub” “Vmin_mod” “Vmax_mod” “Vmin_OK” “Vmax_OK” “Vmin_ori” “Vmax_ori” “sQ1” “sQ2”

reactiveopf_results_generators_Pnull.csv

Information on units that are excluded from the solving of ACOPF (see AC Optimal Powerflow).

11 columns #”variant” “num” “bus” “vRegul” “V(pu)” “targetP(MW)” “targetQ(Mvar)” “P(MW)” “Q(MW)” “id” “bus_id”

In case of inconsistency#

If the computation of the main connex component (see Slack bus and main connex component) or of the DCOPF fails (see DC Optimal Powerflow), the problem is considered as inconsistent. Then, the script reactiveopfexit.run is executed and the file reactiveopf_results_indic.txt, described in the In case of convergence section, is exported, without the information on the calculated angles.