Package com.powsybl.security
Class SecurityAnalysisFactoryImpl
- java.lang.Object
-
- com.powsybl.security.SecurityAnalysisFactoryImpl
-
- All Implemented Interfaces:
SecurityAnalysisFactory
@AutoService(SecurityAnalysisFactory.class) public class SecurityAnalysisFactoryImpl extends Object implements SecurityAnalysisFactory
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description SecurityAnalysisFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SecurityAnalysis
create(Network network, ComputationManager computationManager, int priority)
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations.SecurityAnalysis
create(Network network, LimitViolationDetector detector, LimitViolationFilter filter, ComputationManager computationManager, int priority)
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations.SecurityAnalysis
create(Network network, LimitViolationFilter filter, ComputationManager computationManager, int priority)
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations.
-
-
-
Method Detail
-
create
public SecurityAnalysis create(Network network, ComputationManager computationManager, int priority)
Description copied from interface:SecurityAnalysisFactory
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations. Limit violations should be detected usingDefaultLimitViolationDetector
, and then filtered using a defaultLimitViolationFilter
.- Specified by:
create
in interfaceSecurityAnalysisFactory
- Parameters:
network
- The network for which computation will be performed.computationManager
- The computation manager to use to handle computations- Returns:
- The created security analysis.
-
create
public SecurityAnalysis create(Network network, LimitViolationFilter filter, ComputationManager computationManager, int priority)
Description copied from interface:SecurityAnalysisFactory
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations. Limit violations should be detected usingDefaultLimitViolationDetector
, and then filtered using the specifiedLimitViolationFilter
.- Specified by:
create
in interfaceSecurityAnalysisFactory
- Parameters:
network
- The network for which computation will be performed.filter
- A filter to filter out unwanted limit violations.computationManager
- The computation manager to use to handle computations- Returns:
- The created security analysis.
-
create
public SecurityAnalysis create(Network network, LimitViolationDetector detector, LimitViolationFilter filter, ComputationManager computationManager, int priority)
Description copied from interface:SecurityAnalysisFactory
Creates aSecurityAnalysis
for specifiedNetwork
, using specifiedComputationManager
to handle computations. Limit violations will be detected using the specifiedLimitViolationDetector
, and then filtered using the specifiedLimitViolationFilter
.- Specified by:
create
in interfaceSecurityAnalysisFactory
- Parameters:
network
- The network for which computation will be performed.detector
- The detector used to evaluate the occurence of limit violations.filter
- A filter to filter out unwanted limit violations.computationManager
- The computation manager to use to handle computations- Returns:
- The created security analysis.
-
-