Package com.powsybl.security
Class LimitViolationHelper
- java.lang.Object
-
- com.powsybl.security.LimitViolationHelper
-
public final class LimitViolationHelper extends Object
- Author:
- Mathieu Bague
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Optional<Country>
getCountry(LimitViolation limitViolation, Network network)
static double
getNominalVoltage(LimitViolation limitViolation, Network network)
static String
getVoltageLevelId(LimitViolation limitViolation, Network network)
static String
getVoltageLevelId(LimitViolation limitViolation, Network network, boolean name)
-
-
-
Method Detail
-
getCountry
public static Optional<Country> getCountry(LimitViolation limitViolation, Network network)
-
getVoltageLevelId
public static String getVoltageLevelId(LimitViolation limitViolation, Network network)
-
getVoltageLevelId
public static String getVoltageLevelId(LimitViolation limitViolation, Network network, boolean name)
-
getNominalVoltage
public static double getNominalVoltage(LimitViolation limitViolation, Network network)
-
-