Package com.powsybl.security
Class SecurityAnalysisConfig
java.lang.Object
com.powsybl.security.SecurityAnalysisConfig
Configuration for a
SecurityAnalysis
. It might be loaded from a PlatformConfig
.- Author:
- Sylvain Leclerc <sylvain.leclerc at rte-france.com>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe name of the security analysis input preprocessor to be run before the actual computation.static SecurityAnalysisConfig
load()
Loads the security analysis configuration defined in the defaultPlatformConfig
.static SecurityAnalysisConfig
load
(PlatformConfig platformConfig) Loads the security analysis configuration defined in the specifiedPlatformConfig
.
-
Constructor Details
-
SecurityAnalysisConfig
public SecurityAnalysisConfig() -
SecurityAnalysisConfig
-
-
Method Details
-
getPreprocessorName
The name of the security analysis input preprocessor to be run before the actual computation. If empty, default behaviour will be used.- Returns:
-
load
Loads the security analysis configuration defined in the defaultPlatformConfig
.- Returns:
- the security analysis config loaded from the default platform config.
-
load
Loads the security analysis configuration defined in the specifiedPlatformConfig
.- Parameters:
platformConfig
- the platform configuration from which the security analysis config should be loaded.- Returns:
- the security analysis config loaded from the specified platform config.
-