Class SensitivityValue


  • public class SensitivityValue
    extends Object
    Elementary result value of a sensitivity analysis, given the sensitivity factor and a contingency id (use null to get a pre-contingency value). The value is the impact of the variable change on the monitored equipment. The function reference gives the level of the function in the network pre-contingency state.
    Author:
    Geoffroy Jamgotchian
    See Also:
    SensitivityFactor
    • Constructor Detail

      • SensitivityValue

        public SensitivityValue​(int factorIndex,
                                int contingencyIndex,
                                double value,
                                double functionReference)
        Constructor.
        Parameters:
        factorIndex - the sensitivity factor index
        contingencyIndex - the contingency index, -1 for pre-contingency state.
        value - the sensitivity value, as a result of the computation.
        functionReference - the value of the sensitivity function in the pre-contingency state.
    • Method Detail

      • getFactorIndex

        public int getFactorIndex()
      • getContingencyIndex

        public int getContingencyIndex()
      • getValue

        public double getValue()
      • getFunctionReference

        public double getFunctionReference()
      • parseJson

        public static SensitivityValue parseJson​(com.fasterxml.jackson.core.JsonParser parser)
      • writeJson

        public static void writeJson​(com.fasterxml.jackson.core.JsonGenerator generator,
                                     SensitivityValue value)