Uses of Class
com.powsybl.contingency.Contingency
-
Packages that use Contingency Package Description com.powsybl.action.dsl com.powsybl.action.dsl.ast com.powsybl.action.simulator.loadflow com.powsybl.contingency com.powsybl.contingency.dsl com.powsybl.contingency.json com.powsybl.security com.powsybl.security.detectors Base classes and default implementation of limit violation detectors.com.powsybl.security.distributed Classes used for the security analysis distribution or simple forwarding to other itools process(es).com.powsybl.security.interceptors com.powsybl.security.results com.powsybl.sensitivity Sensitivity analysis API Sensitivity analysis is a concrete calculation of impact factors from some network variables modification to some network function values. -
-
Uses of Contingency in com.powsybl.action.dsl
Methods in com.powsybl.action.dsl that return Contingency Modifier and Type Method Description Contingency
ActionDb. getContingency(String id)
Methods in com.powsybl.action.dsl that return types with arguments of type Contingency Modifier and Type Method Description Collection<Contingency>
ActionDb. getContingencies()
List<Contingency>
GroovyDslContingenciesProvider. getContingencies(Network network)
Methods in com.powsybl.action.dsl with parameters of type Contingency Modifier and Type Method Description void
ActionDb. addContingency(Contingency contingency)
void
ActionDslHandler. addContingency(Contingency contingency)
-
Uses of Contingency in com.powsybl.action.dsl.ast
Methods in com.powsybl.action.dsl.ast that return Contingency Modifier and Type Method Description Contingency
EvaluationContext. getContingency()
-
Uses of Contingency in com.powsybl.action.simulator.loadflow
Methods in com.powsybl.action.simulator.loadflow that return Contingency Modifier and Type Method Description Contingency
RunningContext. getContingency()
Contingency
TimeLine. getContingency()
Constructors in com.powsybl.action.simulator.loadflow with parameters of type Contingency Constructor Description RunningContext(Network network, Contingency contingency)
TimeLine(Contingency contingency)
-
Uses of Contingency in com.powsybl.contingency
Methods in com.powsybl.contingency that return Contingency Modifier and Type Method Description static Contingency
Contingency. branch(String id)
Creates a new contingency on the branch whose id is givenstatic Contingency
Contingency. branch(String id, String voltageLevelId)
Creates a new contingency on the branch whose id is given, on the side of the given voltage levelContingency
ContingencyBuilder. build()
static Contingency
Contingency. busbarSection(String id)
Creates a new contingency on the busbar section whose id is givenstatic Contingency
Contingency. danglingLine(String id)
Creates a new contingency on the dangline line whose id is givenstatic Contingency
Contingency. generator(String id)
Creates a new contingency on the generator whose id is givenstatic Contingency
Contingency. hvdcLine(String id)
Creates a new contingency on the hvdc line whose id is givenstatic Contingency
Contingency. hvdcLine(String id, String voltageLevelId)
Creates a new contingency on the hvdc line whose id is given, on the side of the given voltage levelstatic Contingency
Contingency. line(String id)
Creates a new contingency on the line whose id is givenstatic Contingency
Contingency. line(String id, String voltageLevelId)
Creates a new contingency on the line whose id is given, on the side of the given voltage levelstatic Contingency
Contingency. load(String loadId)
Creates a new contingency on the load whose id is givenstatic Contingency
Contingency. shuntCompensator(String id)
Creates a new contingency on the shunt compensator whose id is givenstatic Contingency
Contingency. staticVarCompensator(String id)
Creates a new contingency on the static var compensator whose id is givenstatic Contingency
Contingency. threeWindingsTransformer(String id)
Creates a new contingency on the three-windings transformer whose id is givenstatic Contingency
Contingency. twoWindingsTransformer(String id)
Creates a new contingency on the two-windings transformer whose id is givenstatic Contingency
Contingency. twoWindingsTransformer(String id, String voltageLevelId)
Creates a new contingency on the two-windings transformer whose id is given, on the side of the given voltage levelMethods in com.powsybl.contingency that return types with arguments of type Contingency Modifier and Type Method Description static List<Contingency>
Contingency. checkValidity(List<Contingency> contingencies, Network network)
Deprecated.UseContingencyList.getValidContingencies(List, Network)
()} instead.List<Contingency>
ContingenciesProvider. getContingencies(Network network)
List<Contingency>
ContingencyList. getContingencies(Network network)
Return a list of contingency for the given network.List<Contingency>
DefaultContingencyList. getContingencies()
List<Contingency>
DefaultContingencyList. getContingencies(Network network)
List<Contingency>
EmptyContingencyListProvider. getContingencies(Network network)
List<Contingency>
SubContingenciesProvider. getContingencies(Network network)
static List<Contingency>
ContingencyList. getValidContingencies(List<Contingency> contingencies, Network network)
Return only valid contingencies based on given list of contingencies and networkMethods in com.powsybl.contingency with parameters of type Contingency Modifier and Type Method Description static ContingencyList
ContingencyList. of(Contingency... contingencies)
Create a contingency list from a set of contingenciesMethod parameters in com.powsybl.contingency with type arguments of type Contingency Modifier and Type Method Description static List<Contingency>
Contingency. checkValidity(List<Contingency> contingencies, Network network)
Deprecated.UseContingencyList.getValidContingencies(List, Network)
()} instead.static List<Contingency>
ContingencyList. getValidContingencies(List<Contingency> contingencies, Network network)
Return only valid contingencies based on given list of contingencies and networkConstructors in com.powsybl.contingency with parameters of type Contingency Constructor Description DefaultContingencyList(Contingency... contingencies)
DefaultContingencyList(String name, Contingency... contingencies)
Constructor parameters in com.powsybl.contingency with type arguments of type Contingency Constructor Description DefaultContingencyList(String name, List<Contingency> contingencies)
-
Uses of Contingency in com.powsybl.contingency.dsl
Methods in com.powsybl.contingency.dsl that return types with arguments of type Contingency Modifier and Type Method Description List<Contingency>
GroovyContingencyList. getContingencies(Network network)
List<Contingency>
GroovyDslContingenciesProvider. getContingencies(Network network)
-
Uses of Contingency in com.powsybl.contingency.json
Methods in com.powsybl.contingency.json that return Contingency Modifier and Type Method Description Contingency
ContingencyDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser parser, com.fasterxml.jackson.databind.DeserializationContext deserializationContext)
Methods in com.powsybl.contingency.json with parameters of type Contingency Modifier and Type Method Description void
ContingencySerializer. serialize(Contingency contingency, com.fasterxml.jackson.core.JsonGenerator jsonGenerator, com.fasterxml.jackson.databind.SerializerProvider serializerProvider)
-
Uses of Contingency in com.powsybl.security
Methods in com.powsybl.security with parameters of type Contingency Modifier and Type Method Description default void
LimitViolationDetector. checkAll(Contingency contingency, Network network, Consumer<LimitViolation> consumer)
Checks whether the current and voltage values on all equipments of the specifiedNetwork
should be considered asLimitViolation
s.default void
LimitViolationDetector. checkCurrent(Contingency contingency, Branch branch, Branch.Side side, double currentValue, Consumer<LimitViolation> consumer)
Checks whether the specified current value on the specified side of the specifiedBranch
should be considered as aLimitViolation
or not.default void
LimitViolationDetector. checkCurrent(Contingency contingency, Branch branch, Branch.Side side, Consumer<LimitViolation> consumer)
Checks whether the current value on the specified side of the specifiedBranch
should be considered as aLimitViolation
or not.default void
LimitViolationDetector. checkCurrent(Contingency contingency, Branch branch, Consumer<LimitViolation> consumer)
Checks whether the current value on both sides of the specifiedBranch
should be considered asLimitViolation
(s).default void
LimitViolationDetector. checkVoltage(Contingency contingency, Bus bus, double voltageValue, Consumer<LimitViolation> consumer)
Checks whether the specified voltage value on the specifiedBus
should be considered as aLimitViolation
or not.default void
LimitViolationDetector. checkVoltage(Contingency contingency, Bus bus, Consumer<LimitViolation> consumer)
Checks whether the voltage value on the specifiedBus
should be considered as aLimitViolation
or not.default void
LimitViolationDetector. checkVoltage(Contingency contingency, VoltageLevel voltageLevel, Consumer<LimitViolation> consumer)
Checks whether the voltage value on the specifiedVoltageLevel
should be considered as aLimitViolation
or not.SecurityAnalysisResultBuilder.PostContingencyResultBuilder
SecurityAnalysisResultBuilder. contingency(Contingency contingency)
Initiates the creation of the result for oneContingency
.SecurityAnalysisResultBuilder.PostContingencyResultBuilder
SecurityAnalysisResultBuilder. contingency(Contingency contingency, SecurityAnalysisResultContext postContingencyResultContext)
Initiates the creation of the result for oneContingency
-
Uses of Contingency in com.powsybl.security.detectors
Methods in com.powsybl.security.detectors with parameters of type Contingency Modifier and Type Method Description void
AbstractLimitViolationDetector. checkAll(Contingency contingency, Network network, Consumer<LimitViolation> consumer)
void
AbstractLimitViolationDetector. checkCurrent(Contingency contingency, Branch branch, Branch.Side side, Consumer<LimitViolation> consumer)
This implementation takes the current value to be checked from the Network.void
AbstractLimitViolationDetector. checkCurrent(Contingency contingency, Branch branch, Consumer<LimitViolation> consumer)
void
AbstractLimitViolationDetector. checkVoltage(Contingency contingency, Bus bus, Consumer<LimitViolation> consumer)
This implementation takes the voltage value to be checked from the Network.void
AbstractLimitViolationDetector. checkVoltage(Contingency contingency, VoltageLevel voltageLevel, Consumer<LimitViolation> consumer)
-
Uses of Contingency in com.powsybl.security.distributed
Methods in com.powsybl.security.distributed that return types with arguments of type Contingency Modifier and Type Method Description List<Contingency>
SubContingenciesProvider. getContingencies(Network network)
-
Uses of Contingency in com.powsybl.security.interceptors
Methods in com.powsybl.security.interceptors with parameters of type Contingency Modifier and Type Method Description void
DefaultSecurityAnalysisInterceptor. onLimitViolation(Contingency contingency, LimitViolation limitViolation, SecurityAnalysisResultContext context)
void
SecurityAnalysisInterceptor. onLimitViolation(Contingency contingency, LimitViolation limitViolation, SecurityAnalysisResultContext context)
Callback when a violation is detected on N-1 situation. -
Uses of Contingency in com.powsybl.security.results
Methods in com.powsybl.security.results that return Contingency Modifier and Type Method Description Contingency
PostContingencyResult. getContingency()
Constructors in com.powsybl.security.results with parameters of type Contingency Constructor Description PostContingencyResult(Contingency contingency, boolean computationOk, List<LimitViolation> limitViolations)
PostContingencyResult(Contingency contingency, boolean computationOk, List<LimitViolation> limitViolations, List<BranchResult> branchResults, List<BusResult> busResults, List<ThreeWindingsTransformerResult> threeWindingsTransformerResults)
PostContingencyResult(Contingency contingency, boolean computationOk, List<LimitViolation> limitViolations, List<String> actionsTaken)
PostContingencyResult(Contingency contingency, LimitViolationsResult limitViolationsResult)
PostContingencyResult(Contingency contingency, LimitViolationsResult limitViolationsResult, NetworkResult networkResult)
PostContingencyResult(Contingency contingency, LimitViolationsResult limitViolationsResult, List<BranchResult> branchResults, List<BusResult> busResults, List<ThreeWindingsTransformerResult> threeWindingsTransformerResults)
-
Uses of Contingency in com.powsybl.sensitivity
Method parameters in com.powsybl.sensitivity with type arguments of type Contingency Modifier and Type Method Description static void
SensitivityAnalysis. run(Network network, String workingVariantId, SensitivityFactorReader factorReader, SensitivityResultWriter resultWriter, List<Contingency> contingencies, List<SensitivityVariableSet> variableSets, SensitivityAnalysisParameters parameters, ComputationManager computationManager, Reporter reporter)
void
SensitivityAnalysis.Runner. run(Network network, String workingVariantId, SensitivityFactorReader factorReader, SensitivityResultWriter resultWriter, List<Contingency> contingencies, List<SensitivityVariableSet> variableSets, SensitivityAnalysisParameters parameters, ComputationManager computationManager, Reporter reporter)
CompletableFuture<Void>
SensitivityAnalysisProvider. run(Network network, String workingVariantId, SensitivityFactorReader factorReader, SensitivityResultWriter resultWriter, List<Contingency> contingencies, List<SensitivityVariableSet> variableSets, SensitivityAnalysisParameters parameters, ComputationManager computationManager, Reporter reporter)
Run a single sensitivity analysis.static CompletableFuture<Void>
SensitivityAnalysis. runAsync(Network network, String workingVariantId, SensitivityFactorReader factorReader, SensitivityResultWriter resultWriter, List<Contingency> contingencies, List<SensitivityVariableSet> variableSets, SensitivityAnalysisParameters parameters, ComputationManager computationManager, Reporter reporter)
CompletableFuture<Void>
SensitivityAnalysis.Runner. runAsync(Network network, String workingVariantId, SensitivityFactorReader factorReader, SensitivityResultWriter resultWriter, List<Contingency> contingencies, List<SensitivityVariableSet> variableSets, SensitivityAnalysisParameters parameters, ComputationManager computationManager, Reporter reporter)
Constructor parameters in com.powsybl.sensitivity with type arguments of type Contingency Constructor Description SensitivityResultCsvWriter(TableFormatter formatter, TableFormatter formatterContingencyStatus, List<Contingency> contingencies)
SensitivityResultJsonWriter(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, List<Contingency> contingencies)
SensitivityResultModelWriter(List<Contingency> contingencies)
-