Security analysis¶
The security analysis module allows to simulate contingencies (the loss of a line or a generator, for example) in a “batch” mode, in AC mode.
Run a security analysis¶
You can run a security analysis using the following methods:
Creates a sensitivity analysis objet, which can be used to run a sensitivity analysis on a network |
|
Runs an AC sensitivity analysis. |
|
Runs an DC sensitivity analysis. |
|
Set the default sensitivity analysis provider. |
|
Get the current default sensitivity analysis provider. |
|
Get list of supported provider names |
Parameters¶
The execution of the security analysis can be customized using security analysis parameters.
Parameters for a sensitivity analysis execution. |
|
Parameters which define what violations should be considered as "increased" between N and post-contingency situations |
|
Get list of parameters for the specified sensitivity analysis provider. |
Define contingencies and monitored elements¶
You can define contingencies to be simulated, as well as network elements to be monitored, with the following methods:
Add one N-1 contingency. |
|
Add one N-K contingency. |
|
Add multiple N-1 contingencies. |
|
Add elements to be monitored by the sensitivity analysis. |
|
Add elements to be monitored by the sensitivity analysis on precontingency state. |
|
Add elements to be monitored by the sensitivity analysis for specific contingencies. |
Results¶
When the security analysis is completed, you can inspect its results:
The result of a sensitivity analysis. |
|
All limit violations in a dataframe representation. |
|
Result for the pre-contingency state. |
|
Results for the contingencies, as a dictionary contingency ID -> result. |
|
Result for the specified contingency. |
|
Results (P, Q, I) for monitored branches. |
|
Bus results (voltage angle and magnitude) for monitored voltage levels. |
|
Results (P, Q, I) for monitored three winding transformers. |