Package com.powsybl.sensitivity
Class SensitivityVariableSet
java.lang.Object
com.powsybl.sensitivity.SensitivityVariableSet
Models a group of variables.
A list of weighted variables is used in general to model an injection increase of a group of generators and loads
through shift keys, also called GLSK (for Generation and Load shift keys).
Note that weights are not normalized.
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionSensitivityVariableSet
(String id, List<WeightedSensitivityVariable> variables) Constructor -
Method Summary
Modifier and TypeMethodDescriptiongetId()
getVariable
(String key) static SensitivityVariableSet
parseJson
(com.fasterxml.jackson.core.JsonParser parser) toString()
static void
writeJson
(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, SensitivityVariableSet variableSet)
-
Constructor Details
-
SensitivityVariableSet
Constructor- Parameters:
id
- ID of this complex variable. It should not correspond to an id present in the network.variables
- the list of weighted variables, seeWeightedSensitivityVariable
-
-
Method Details
-
getId
-
getVariables
-
getVariablesById
-
getVariable
-
toString
-
writeJson
public static void writeJson(com.fasterxml.jackson.core.JsonGenerator jsonGenerator, SensitivityVariableSet variableSet) -
parseJson
-