Class 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 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 interface NetworkArea
        Returns:
        Sum of the flows leaving the area