Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Sensitivity analysis] add new variable and function types #2484

Merged
merged 3 commits into from
Mar 6, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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