Package com.powsybl.openloadflow.sa
Class OpenSecurityAnalysisParameters
- java.lang.Object
-
- com.powsybl.commons.extensions.AbstractExtension<com.powsybl.security.SecurityAnalysisParameters>
-
- com.powsybl.openloadflow.sa.OpenSecurityAnalysisParameters
-
- All Implemented Interfaces:
com.powsybl.commons.extensions.Extension<com.powsybl.security.SecurityAnalysisParameters>
public class OpenSecurityAnalysisParameters extends com.powsybl.commons.extensions.AbstractExtension<com.powsybl.security.SecurityAnalysisParameters>
- Author:
- Geoffroy Jamgotchian
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
CONTINGENCY_PROPAGATION_DEFAULT_VALUE
static String
CONTINGENCY_PROPAGATION_PARAM_NAME
static boolean
CREATE_RESULT_EXTENSION_DEFAULT_VALUE
static String
CREATE_RESULT_EXTENSION_PARAM_NAME
static List<String>
SPECIFIC_PARAMETERS_NAMES
-
Constructor Summary
Constructors Constructor Description OpenSecurityAnalysisParameters()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
static OpenSecurityAnalysisParameters
getOrDefault(com.powsybl.security.SecurityAnalysisParameters parameters)
boolean
isContingencyPropagation()
boolean
isCreateResultExtension()
static OpenSecurityAnalysisParameters
load()
static OpenSecurityAnalysisParameters
load(com.powsybl.commons.config.PlatformConfig platformConfig)
static OpenSecurityAnalysisParameters
load(Map<String,String> properties)
OpenSecurityAnalysisParameters
setContingencyPropagation(boolean contingencyPropagation)
OpenSecurityAnalysisParameters
setCreateResultExtension(boolean createResultExtension)
OpenSecurityAnalysisParameters
update(Map<String,String> properties)
-
-
-
Field Detail
-
CREATE_RESULT_EXTENSION_PARAM_NAME
public static final String CREATE_RESULT_EXTENSION_PARAM_NAME
- See Also:
- Constant Field Values
-
CREATE_RESULT_EXTENSION_DEFAULT_VALUE
public static final boolean CREATE_RESULT_EXTENSION_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
CONTINGENCY_PROPAGATION_PARAM_NAME
public static final String CONTINGENCY_PROPAGATION_PARAM_NAME
- See Also:
- Constant Field Values
-
CONTINGENCY_PROPAGATION_DEFAULT_VALUE
public static final boolean CONTINGENCY_PROPAGATION_DEFAULT_VALUE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public String getName()
-
isCreateResultExtension
public boolean isCreateResultExtension()
-
setCreateResultExtension
public OpenSecurityAnalysisParameters setCreateResultExtension(boolean createResultExtension)
-
isContingencyPropagation
public boolean isContingencyPropagation()
-
setContingencyPropagation
public OpenSecurityAnalysisParameters setContingencyPropagation(boolean contingencyPropagation)
-
getOrDefault
public static OpenSecurityAnalysisParameters getOrDefault(com.powsybl.security.SecurityAnalysisParameters parameters)
-
load
public static OpenSecurityAnalysisParameters load()
-
load
public static OpenSecurityAnalysisParameters load(com.powsybl.commons.config.PlatformConfig platformConfig)
-
load
public static OpenSecurityAnalysisParameters load(Map<String,String> properties)
-
update
public OpenSecurityAnalysisParameters update(Map<String,String> properties)
-
-