Class VoltageLevelsArea
java.lang.Object
com.powsybl.balances_adjustment.util.VoltageLevelsArea
- All Implemented Interfaces:
NetworkArea
- Author:
- Ameni Walha <ameni.walha at rte-france.com>, Sebastien Murgey <sebastien.murgey at rte-france.com>, Mathieu Bague <mathieu.bague at rte-france.com>
-
Constructor Summary
ConstructorsConstructorDescriptionVoltageLevelsArea
(com.powsybl.iidm.network.Network network, List<String> voltageLevelIds) -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.powsybl.iidm.network.Bus>
double
Computes the net position of the area on a given network object.
-
Constructor Details
-
VoltageLevelsArea
-
-
Method Details
-
getNetPosition
public double getNetPosition()Description copied from interface:NetworkArea
Computes the net position of the area on a given network object. Net position sign convention is positive when flows are leaving the area (export) and negative when flows feed the area (import).- Specified by:
getNetPosition
in interfaceNetworkArea
- Returns:
- Sum of the flows leaving the area
-
getContainedBusViewBuses
- Specified by:
getContainedBusViewBuses
in interfaceNetworkArea
-