Class ADNSensitivityConversionContext

All Implemented Interfaces:
ADNConversionContext

public class ADNSensitivityConversionContext extends Hades2ADNConversionContext
Sensitivity computation conversion context to ADN format

Composed of sensitivity computation parameters and sensitivity computation inputs.

Author:
Sebastien Murgey <sebastien.murgey at rte-france.com>
See Also:
  • Constructor Details

    • ADNSensitivityConversionContext

      public ADNSensitivityConversionContext(Hades2ADNConversionContext.TypeCalcul typeCalcul, com.powsybl.sensitivity.SensitivityAnalysisParameters sensitivityComputationParameters, com.powsybl.sensitivity.SensitivityFactorReader sensitivityFactorReader, ADNConversionContext context)
    • ADNSensitivityConversionContext

      public ADNSensitivityConversionContext(Hades2ADNConversionContext.TypeCalcul typeCalcul, com.powsybl.sensitivity.SensitivityAnalysisParameters sensitivityComputationParameters, com.powsybl.sensitivity.SensitivityFactorReader sensitivityFactorReader, com.powsybl.contingency.ContingenciesProvider contingenciesProvider, List<com.powsybl.sensitivity.SensitivityVariableSet> variableSets, com.powsybl.iidm.network.Network network, ADNConversionContext context)
    • ADNSensitivityConversionContext

      public ADNSensitivityConversionContext(com.powsybl.commons.util.StringToIntMapper<ADNSubset> mapper, Hades2ADNConversionContext.TypeCalcul typeCalcul, boolean withCouplers, com.powsybl.sensitivity.SensitivityAnalysisParameters sensiParameters, com.powsybl.sensitivity.SensitivityFactorReader sensitivityFactorReader, com.powsybl.contingency.ContingenciesProvider contingenciesProvider, List<com.powsybl.sensitivity.SensitivityVariableSet> variableSets, com.powsybl.iidm.network.Network network)
      ADN format conversion context constructor
      Parameters:
      mapper - mapper between String IIDM ids and Integer ADN ids of devices
      typeCalcul - computation type
      withCouplers - true if couplers are kept, false otherwise
      sensiParameters - sensitivity computation parameters
      sensitivityFactorReader - sensitivity factors
      contingenciesProvider - contingencies provider
  • Method Details

    • getSimulator

      public ADNConversionContext.Simulator getSimulator()
      Specified by:
      getSimulator in interface ADNConversionContext
      Overrides:
      getSimulator in class Hades2ADNConversionContext
    • getSensitivityFactorReader

      public com.powsybl.sensitivity.SensitivityFactorReader getSensitivityFactorReader()
      Get the sensitivity computation input factors provider
      Returns:
      the sensitivity computation input factors provider
    • getSensitivityAnalysisParameters

      public com.powsybl.sensitivity.SensitivityAnalysisParameters getSensitivityAnalysisParameters()
      Get the sensitivity computation parameters
      Returns:
      the sensitivity computation parameters
    • getAdnSensitivityComputationParameters

      public ADNSensitivityAnalysisParameters getAdnSensitivityComputationParameters()
      Get the ADN extension of sensitivity computation parameters
      Returns:
      the ADN extension of sensitivity computation parameters
    • getFactors

      public List<com.powsybl.sensitivity.SensitivityFactor> getFactors()
    • getFactorsForContingency

      public List<com.powsybl.sensitivity.SensitivityFactor> getFactorsForContingency(com.powsybl.contingency.Contingency contingency)
    • getFactorIndex

      public int getFactorIndex(com.powsybl.sensitivity.SensitivityFactor sensitivityFactor)
    • setFactors

      public void setFactors(List<com.powsybl.sensitivity.SensitivityFactor> factors)
    • getContingencyIndex

      public int getContingencyIndex(com.powsybl.contingency.Contingency contingency)
    • getVariableSets

      public List<com.powsybl.sensitivity.SensitivityVariableSet> getVariableSets()