Class SecurityAnalysisConfig

java.lang.Object
com.powsybl.security.SecurityAnalysisConfig

public class SecurityAnalysisConfig extends Object
Configuration for a SecurityAnalysis. It might be loaded from a PlatformConfig.
Author:
Sylvain Leclerc <sylvain.leclerc at rte-france.com>
  • Constructor Details

    • SecurityAnalysisConfig

      public SecurityAnalysisConfig()
    • SecurityAnalysisConfig

      public SecurityAnalysisConfig(String preprocessorName)
  • Method Details

    • getPreprocessorName

      public Optional<String> 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

      public static SecurityAnalysisConfig load()
      Loads the security analysis configuration defined in the default PlatformConfig.
      Returns:
      the security analysis config loaded from the default platform config.
    • load

      public static SecurityAnalysisConfig load(PlatformConfig platformConfig)
      Loads the security analysis configuration defined in the specified PlatformConfig.
      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.