Inputs¶
The Open Load Flow security analysis is based on the PowSyBl Core security analysis. Not all the inputs are supported, please read the page for precision on what is supported by this implementation.
Supported contingencies¶
Only the following contingencies are currently implemented in Open load flow:
BusContingencyBusbarSectionContingencySwitchContingencyLineContingencyTwoWindingsTransformerContingencyTieLineContingencyBoundaryLineContingencyGeneratorContingencyLoadContingencyShuntCompensatorContingencyStaticVarCompensatorContingencyBusbarSectionContingencyBatteryContingencyThreeWindingsTransformerContingencyHvdcLineContingency
See more details on Powsybl Core security contingencies documentation.
Supported remedial actions¶
Only the following remedial actions are currently implemented in Open load flow:
LoadActionSwitchActionTerminalsConnectionAction(Only supporting actions on branches and three windings transformers terminals)PhaseTapChangerTapPositionActionRatioTapChangerTapPositionActionShuntCompensatorPositionActionGeneratorActionHvdcActionAreaInterchangeTargetAction
Note: Some limitations in the use of these actions exist, please read the documentation about the security analysis specific parameters.
See more details on Powsybl Core security remedial actions documentation.
Supported limit scalings¶
Only following limit scaling definition is supported:
Current limit type only (
LimitType.CURRENTas limit type)Always applied to all contingencies and in the pre-contingency state (
ContingencyContextType.ALL)Not Monitoring only (
monitoringOnly=false), it affects the reported violations and the conditions for applying remedial actionsMaximum two duration criteria can be provided, and they should be of the same type
No identifiable criterion class among the criteria
The limit scaling is applied on all the operational limits groups, so restriction to apply it on a specified list of operational limits groups will be rejected.
So if you want to use limit scalings you can follow this kind of example:
double value = 0.95;
List<NetworkElementCriterion> networkElementCriteria = List.of(
new LineCriterion(new TwoCountriesCriterion(List.of(Country.FR), List.of(Country.BE)), null),
new TwoWindingsTransformerCriterion(new SingleCountryCriterion(List.of(Country.BE)), null)
);
List<LimitDurationCriterion> durationCriteria = List.of(new EqualityTemporaryDurationCriterion(10), new EqualityTemporaryDurationCriterion(60));
List<String> operationalLimitsGroupIdsSelection = Collections.emptyList();
// Through the builder
LimitScaling limitScaling = LimitScaling.builder(LimitType.CURRENT, value)
.withNetworkElementCriteria(durationCriteria)
.withLimitDurationCriteria(operationalLimitsGroupIdsSelection)
.withOperationalLimitsGroupIdSelection(Collections.emptyList())
.build();
// Or through the constructor
LimitScaling limitScaling = new LimitScaling(
LimitType.CURRENT,
value,
false,
ContingencyContext.all(),
networkElementCriteria,
durationCriteria,
operationalLimitsGroupIdsSelection
);
See more details on Powsybl Core security limit scalings documentation.