Skip to content

Commit

Permalink
Sensitivity analysis: add new variables and functions (#2484)
Browse files Browse the repository at this point in the history
Signed-off-by: Anne Tilloy <anne.tilloy@rte-france.com>
  • Loading branch information
annetill authored Mar 6, 2023
1 parent c88f107 commit 6f0f17f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@
* <li>{@link #BRANCH_CURRENT_1} and {@link #BRANCH_CURRENT_2} if you want to monitor the current in A of a network branch (lines,
* two windings transformer, dangling lines, etc.). Use 1 for side 1 and use 2 for side 2. In case of a three windings transformer,
* use {@link #BRANCH_CURRENT_3} to monitor the current in A of the leg 3 (network side).</li>
* <li>{@link #BRANCH_REACTIVE_POWER_1} and {@link #BRANCH_REACTIVE_POWER_2} if you want to monitor the reactive power in MVar of a network branch (lines,
* two windings transformer, dangling lines, etc.). Use 1 for side 1 and use 2 for side 2. In case of a three windings transformer,
* use {@link #BRANCH_REACTIVE_POWER_3} to monitor the reactive power in MVar of the leg 3 (network side).</li>
* <li>{@link #BUS_VOLTAGE} if you want to monitor the voltage in KV of a specific network bus.</li>
* </ul>
* @author Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
Expand All @@ -36,14 +39,20 @@ public enum SensitivityFunctionType {
BRANCH_ACTIVE_POWER_1(1),
/** in A */
BRANCH_CURRENT_1(1),
/** in MVar */
BRANCH_REACTIVE_POWER_1(1),
/** in MW */
BRANCH_ACTIVE_POWER_2(2),
/** in A */
BRANCH_CURRENT_2(2),
/** in MVar */
BRANCH_REACTIVE_POWER_2(2),
/** in MW */
BRANCH_ACTIVE_POWER_3(3),
/** in A */
BRANCH_CURRENT_3(3),
/** in MVar */
BRANCH_REACTIVE_POWER_3(3),
/** in kV */
BUS_VOLTAGE;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
* <li>Use {@link #INJECTION_ACTIVE_POWER} to model a change on the production of a generator or on a group of generators, on
* the consumption of a load or on a group of loads or on GLSK (for Generation and Load Shift keys) that describes a
* linear combination of power injection shifts on generators and loads. The variable increase is in MW.</li>
* <li>Use {@link #INJECTION_REACTIVE_POWER} to model a change on the reactive production of a generator or on
* the reactive consumption of a load. The variable increase is in MVar.</li>
* <li>Use {@link #TRANSFORMER_PHASE} to model the change of the tap position of a phase tap changer of a two windings transformer
* or a three windings transformer that contains only one phase tap changer. The increase is in degree.</li>
* <li>Use {@link #BUS_TARGET_VOLTAGE} to model an increase of the voltage target of a generator, a static var compensator, a two
Expand All @@ -27,6 +29,8 @@
public enum SensitivityVariableType {
/** increase in MW */
INJECTION_ACTIVE_POWER,
/** increase in MVar */
INJECTION_REACTIVE_POWER,
/** increase in degrees */
TRANSFORMER_PHASE,
/** increase in kV */
Expand Down

0 comments on commit 6f0f17f

Please sign in to comment.