Package com.powsybl.security.execution
Class SecurityAnalysisExecutionInput
java.lang.Object
com.powsybl.security.execution.SecurityAnalysisExecutionInput
Arguments for a
SecurityAnalysisExecution
:
- a
Network
and the variant to be considered - some
SecurityAnalysisParameters
- a set of requested result extensions
- the set of violation types to be considered
- an optional
ByteSource
which describes contingencies
Design note: here we only want serializable objects for forwarding purpose, therefore some fields are fully serializable business objects while others are more in their "source" format as they do not support serialization out of the box.
- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddActions
(List<Action> actions) addOperatorStrategies
(List<OperatorStrategy> operatorStrategies) addResultExtension
(String resultExtension) addResultExtensions
(Collection<String> resultExtensions) addViolationType
(LimitViolationType violationType) addViolationTypes
(Collection<LimitViolationType> violationTypes) Optional<com.google.common.io.ByteSource>
boolean
setActions
(List<Action> actions) setContingenciesSource
(com.google.common.io.ByteSource contingenciesSource) setMonitors
(List<StateMonitor> monitors) setNetworkVariant
(Network network, String variantId) setOperatorStrategies
(List<OperatorStrategy> operatorStrategies) setParameters
(SecurityAnalysisParameters parameters) setWithLogs
(boolean withLogs)
-
Constructor Details
-
SecurityAnalysisExecutionInput
public SecurityAnalysisExecutionInput()
-
-
Method Details
-
getContingenciesSource
-
getResultExtensions
-
getViolationTypes
-
getParameters
-
getNetworkVariant
-
getOperatorStrategies
-
getActions
-
getMonitors
-
isWithLogs
public boolean isWithLogs() -
setContingenciesSource
public SecurityAnalysisExecutionInput setContingenciesSource(com.google.common.io.ByteSource contingenciesSource) -
addResultExtension
-
addResultExtensions
-
addViolationType
-
addViolationTypes
public SecurityAnalysisExecutionInput addViolationTypes(Collection<LimitViolationType> violationTypes) -
addOperatorStrategies
public SecurityAnalysisExecutionInput addOperatorStrategies(List<OperatorStrategy> operatorStrategies) -
addActions
-
setParameters
-
setNetworkVariant
-
setOperatorStrategies
public SecurityAnalysisExecutionInput setOperatorStrategies(List<OperatorStrategy> operatorStrategies) -
setActions
-
setMonitors
-
setWithLogs
-