Package com.powsybl.iidm.serde
Class ImportOptions
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Miora Ralambotiana <miora.ralambotiana at rte-france.com>
-
Field Summary
Fields inherited from class com.powsybl.iidm.serde.AbstractOptions
extensions, format
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddExtension
(String extension) double
Percentage to use to compute a missing permanent limit from the temporary limits.boolean
boolean
setExtensions
(Set<String> extensions) setMissingPermanentLimitPercentage
(double missingPermanentLimitPercentage) setThrowExceptionIfExtensionNotFound
(boolean throwExceptionIfExtensionNotFound) setWithAutomationSystems
(boolean withAutomationSystems) Methods inherited from class com.powsybl.iidm.serde.AbstractOptions
getExtensions, getFormat, hasAtLeastOneExtension, setFormat, withAllExtensions, withExtension, withNoExtension
-
Constructor Details
-
ImportOptions
public ImportOptions() -
ImportOptions
public ImportOptions(boolean throwExceptionIfExtensionNotFound)
-
-
Method Details
-
setExtensions
- Specified by:
setExtensions
in classAbstractOptions<ImportOptions>
-
setThrowExceptionIfExtensionNotFound
public ImportOptions setThrowExceptionIfExtensionNotFound(boolean throwExceptionIfExtensionNotFound) -
addExtension
- Specified by:
addExtension
in classAbstractOptions<ImportOptions>
-
isThrowExceptionIfExtensionNotFound
public boolean isThrowExceptionIfExtensionNotFound()- Specified by:
isThrowExceptionIfExtensionNotFound
in classAbstractOptions<ImportOptions>
-
isWithAutomationSystems
public boolean isWithAutomationSystems() -
setWithAutomationSystems
-
setMissingPermanentLimitPercentage
-
getMissingPermanentLimitPercentage
public double getMissingPermanentLimitPercentage()Percentage to use to compute a missing permanent limit from the temporary limits.
IMPORTANT: This parameter is only effective when importing networks in IIDM version < 1.12 (the permanent limit is mandatory since IIDM v1.12).
- Returns:
- the percentage to use to compute the value for missing permanent limits
-