This repo contains a collection of scripts to prepare a probabilistic dynamic security assessment (PDSA) and enhancement of the Reliability Test System - Grid Modernization Lab Consortium version (RTS-GMLC).
It consists in:
- A market model/unit commitment model based on Prescient. Prescient iterates between day-ahead and hourly dispatch. A (DC) nodal market (considering N-1 limits) is used here.
- A preventive security constrained AC optimal power flow (PSCACOPF) to refine individual hourly dispatches
- Scripts to add dynamic data to the RTS in dynawo format. These data have been checked to lead to an N-1 secure system (considering all possible line faults occurring at either end of the line and being cleared in 100ms by opening the line) in all possible system dispatches.
- Scripts to perform the PDSA. Results are written to AnalysisOutput.xml. Results can be visualised using software that shows XML files in grid view, such as Ximple (http://www.ximple.cz/, Windows only) as shown below. Note: Ximple does not support files larger than 100Mb, a simplified version of AnalysisOutput.xml (e.g. without info regarding all individual jobs) could be written to alleviate this issue for larger systems.
- A script to define machine-learning-based operating rules to secure some contingencies based on the results of the PDSA.
Each step generates data needed by the next, and steps should thus be performed sequentially. Documentation is available in the README of folders 1 to 5 to explain how to perform those steps.
If you find this code useful, please cite the following paper that also includes additional information on how to perform a PDSA:
{% raw %}
@article{PDSA_RTS,
To add after publication
}
{% endraw %}