Class ImportOptions


public class ImportOptions extends AbstractOptions<ImportOptions>
Author:
Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>, Miora Ralambotiana <miora.ralambotiana at rte-france.com>
  • Constructor Details

    • ImportOptions

      public ImportOptions()
    • ImportOptions

      public ImportOptions(boolean throwExceptionIfExtensionNotFound)
  • Method Details

    • setExtensions

      public ImportOptions setExtensions(Set<String> extensions)
      Specified by:
      setExtensions in class AbstractOptions<ImportOptions>
    • setThrowExceptionIfExtensionNotFound

      public ImportOptions setThrowExceptionIfExtensionNotFound(boolean throwExceptionIfExtensionNotFound)
    • addExtension

      public ImportOptions addExtension(String extension)
      Specified by:
      addExtension in class AbstractOptions<ImportOptions>
    • isThrowExceptionIfExtensionNotFound

      public boolean isThrowExceptionIfExtensionNotFound()
      Specified by:
      isThrowExceptionIfExtensionNotFound in class AbstractOptions<ImportOptions>
    • isWithAutomationSystems

      public boolean isWithAutomationSystems()
    • setWithAutomationSystems

      public ImportOptions setWithAutomationSystems(boolean withAutomationSystems)
    • setMissingPermanentLimitPercentage

      public ImportOptions setMissingPermanentLimitPercentage(double missingPermanentLimitPercentage)
    • 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
    • setMinimalValidationLevel

      public ImportOptions setMinimalValidationLevel(String minimalValidationLevel)
    • getMinimalValidationLevel

      public Optional<ValidationLevel> getMinimalValidationLevel()

      Minimal validation level accepted during import.

      If null, we first look at the one defined in the file. If not defined, the default value is SSH.

      Returns:
      the validation level if defined.