Class CountryArea
- java.lang.Object
-
- com.powsybl.balances_adjustment.util.CountryArea
-
- All Implemented Interfaces:
NetworkArea
public class CountryArea extends Object implements 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
Constructors Constructor Description CountryArea(com.powsybl.iidm.network.Network network, List<com.powsybl.iidm.network.Country> countries)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<com.powsybl.iidm.network.Country>
getCountries()
double
getNetPosition()
Computes the net position of the area on a given network object.
-
-
-
Constructor Detail
-
CountryArea
public CountryArea(com.powsybl.iidm.network.Network network, List<com.powsybl.iidm.network.Country> countries)
-
-
Method Detail
-
getCountries
public List<com.powsybl.iidm.network.Country> getCountries()
-
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
-
-