Package com.powsybl.sensitivity
Class SensitivityValue
java.lang.Object
com.powsybl.sensitivity.SensitivityValue
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 <geoffroy.jamgotchian at rte-france.com>
- See Also:
-
Constructor Summary
ConstructorDescriptionSensitivityValue
(int factorIndex, int contingencyIndex, double value, double functionReference) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
int
double
double
getValue()
static SensitivityValue
parseJson
(com.fasterxml.jackson.core.JsonParser parser) toString()
static void
writeJson
(com.fasterxml.jackson.core.JsonGenerator generator, SensitivityValue value)
-
Constructor Details
-
SensitivityValue
public SensitivityValue(int factorIndex, int contingencyIndex, double value, double functionReference) Constructor.- Parameters:
factorIndex
- the sensitivity factor indexcontingencyIndex
- 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 Details
-
getFactorIndex
public int getFactorIndex() -
getContingencyIndex
public int getContingencyIndex() -
getValue
public double getValue() -
getFunctionReference
public double getFunctionReference() -
toString
-
parseJson
-
writeJson
public static void writeJson(com.fasterxml.jackson.core.JsonGenerator generator, SensitivityValue value)
-