Adequacy criterion¶
By default, Antares-Xpansion tries to solve an investment problem by minimising the sum of expected operational costs and investment cost. Nothing guarantees that the expected number of hours of loss of load is under a certain reliability threshold.
However, Antares-Xpansion is able to enforce solutions to satisfy a maximum number of expected hours of loss of load per area. To use this feature, the user must:
- Define the reliability constraints in an input file
user/expansion/adequacy_criterion/adequacy_criterion.yml. - Launch the optimization with the
-m adequacy_criterionflag.
The resolution of the reliability-constrained investment problem is based on a heuristic that is described in Reliability-constrained investment problem.
Input data for adequacy criterion in adequacy_criterion.yml¶
The input file for the adequacy criterion should be located in antares-study-folder/user/expansion/adequacy_criterion/adequacy_criterion.yml. It is in YAML format and follows the following template:
stopping_threshold: 1e4
criterion_count_threshold: 1
patterns:
- area: "fr"
criterion: 3
- area: "de"
criterion: 5
stopping_thresholdin euros (positive float): Stopping criterion of the algorithm, that is the difference betweenlambda_minandlambda_max, see Reliability-constrained investment problem.- Default value:
1e-4
- Default value:
criterion_count_thresholdin MWh (positive float): Number of MWh of unsupplied energy in a given hour to consider that this is an hour with loss of load (ex: An hour is considered to be with loss of load if there is more than 1 MWh of unsupplied energy).- Default value:
1
- Default value:
patterns: A list giving the area names and the associated criterion.- required at least a pair of (criterion; area)
area(string): Name of the areacriterionin hours (positive float): Maximum expected number of hours with loss of load over all scenarios for the corresponding area
Launching the optimization with the adequacy criterion¶
To launch the optimization with the adequacy criterion, simply use the option -m adequacy_criterion in the command line:
antares-xpansion-launcher.exe -i examples\SmallTestFiveCandidates -m adequacy_criterion
Outputs¶
The final solution can be read in the file output/<simulation-name>/expansion/out.json, in the field solution.
Several log files are written:
reportbenders.txtgives information on the progress of the algorithm with an operational perspective,benders_solver.logcontains more detailed information on all data of interest to follow the progress of the algorithm (lambda_min,lambda_max, detailed solving times, ...).- The file
LOLD.txtunderlp/dir stores adequacy criteria for all valid patterns (area+criterion) - The file
UnsuppliedEnergy.txtunderlp/dir stores the amount of unsupplied energy for all valid patterns (area+criterion)