To use PowSyBl Open Load Flow for all security analyses, you have to configure the security-analysis
module in your configuration file:
security-analysis:
default-impl-name: OpenLoadFlow
Generic parameters are documented in PowSyBl Core
The next section details the parameters that are specific to PowSyBl Open Load Flow.
contingencyPropagation
The contingencyPropagation
property is applicable only to the portions of the network modeled with a Node/Breaker representation.
Node: In iIDM, the topology modeling style Node/Breaker or Bus/Breaker is defined on a voltage level basis. For most users, all a network is of same topology style, but hybrid representation is also supported.
For Bus/Breaker portions of the network, Security Analysis simulates the outage of only the equipment(s) defined in the contingency.
For Node/Breaker portions of the network:
- when
contingencyPropagation
is set tofalse
, Security Analysis will simulate the outage of only the equipment(s) defined in the contingency. - when
contingencyPropagation
is set totrue
(default) Security Analysis will determine by topological search the switches with type circuit breakers (i.e. capable of opening fault currents) that must be opened to isolate the fault. Depending on the network structure, this could lead to more equipments to be simulated as tripped, because disconnectors and load break switches (i.e., not capable of opening fault currents) are not considered.
The default value is true
.
createResultExtension
The createResultExtension
property defines whether Open Load Flow specific results extensions should be created
in the security analysis results. Today the available extensions provide information about branches and three-windings
transformers voltages (magnitude and angle):
The default value is false
.
threadCount
The threadCount
property defines the number of threads used to run the security analysis (for both AC and DC).
The parallelization is implemented at the contingency level, so the contingency list is split into threadCount
chunks
and each chunk is ran by a different thread.
The thread pool used for getting threads is the one provided by the ComputationManager
(see
ComputationManager.getExecutor
method). By default, when using the local computation manager, this is the ForkJoinPool
common pool which is used.
The default value is 1.
dcFastMode
The dcFastMode
property allows to use fast DC security analysis, based on Woodbury's formula for calculating post-contingency states,
when DC mode is activated.
Please note that fast mode has a few limitations:
- Contingencies applied on branches opened on one side are ignored. Also, if a contingency causes the loss of one side of a branch, it is considered completely disabled, and no results are reported for this branch.
- AC emulation of HVDC lines is disabled, as it is not yet supported. Instead, the active power setpoint mode is used to control the active power flow through these lines.
- Only PST remedial actions are supported for now.
- Slack relocation following the application of a contingency is not supported. As a result, security analysis is carried out only in slack component, and not necessarily in the largest one.
- Customizing the way contingency imbalances are compensated via
contingencyActivePowerLossDistribution
parameter is not supported.
The default value is false
.
contingencyActivePowerLossDistribution
Note: This is an advanced parameter. Unless you have specific needs, do not modify this parameter.
Specifies the name of the plugin to be used for compensating any active power injection that has been disconnected by a contingency.
The default value is Default
.
The Default
plugin, when slack distribution or area interchange control is enabled:
- distributes the active power imbalance according to the configured BalanceType
- reports how much active power has been disconnected by the contingency, and how much has been distributed
PowSyBl Open LoadFlow does not provide today additional plugins. To create your own plugin, see the programming guide.
See below an extract of a config file that could help:
open-security-analysis-default-parameters:
contingencyPropagation: true
createResultExtension: false
threadCount: 1
dcFastMode: false
contingencyActivePowerLossDistribution: Default
At the moment, overriding the parameters by a JSON file is not supported by Open Load Flow.
(contingency-load-flow-parameters)=
A specific set of load flow parameters can be configured for each contingency individually.
These parameters correspond directly to the parameters in the LoadFlowParameters
from powsybl-core API and
the OpenLoadFlowParameters
specific parameters:
distributedSlack
: Refer todistributedSlack
in powsybl-coreareaInterchangeControl
: Refer toareaInterchangeControl
in powsybl-open-loadflowbalanceType
: Refer tobalanceType
in powsybl-coreouterLoopNames
: Refer toouterLoopNames
in powsybl-open-loadflow
To customize these parameters for a contingency, add to the Contingency
object a ContingencyLoadFlowParameters
extension where you may configure the parameters.
The behaviour is as follows:
- When the extension is added: The specified parameters override the corresponding SA input parameters.
- When the extension is absent: The load flow parameters provided in the SA input parameters are applied.
Note that if the operator strategies are defined for the contingency, the overridden load flow parameters will apply to the operator strategies actions simulation too.
This extension does not override any parameter in case of a sensitivity analysis.