Package com.powsybl.iidm.network.util
Class OverloadImpl
java.lang.Object
com.powsybl.iidm.network.util.OverloadImpl
- All Implemented Interfaces:
Overload
A simple, default implementation of
Overload
.- Author:
- Teofil Calin BANC <teofil-calin.banc at rte-france.com>
-
Constructor Summary
ConstructorDescriptionOverloadImpl
(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit) -
Method Summary
Modifier and TypeMethodDescriptiondouble
The value of the current limit which has been overloaded, in Amperes.The name of the current limit which has been overloaded.The temporary limit under which the current is.
-
Constructor Details
-
OverloadImpl
public OverloadImpl(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit)
-
-
Method Details
-
getTemporaryLimit
Description copied from interface:Overload
The temporary limit under which the current is. In particular, it determines the duration during which the current current value may be sustained.- Specified by:
getTemporaryLimit
in interfaceOverload
-
getPreviousLimitName
Description copied from interface:Overload
The name of the current limit which has been overloaded.- Specified by:
getPreviousLimitName
in interfaceOverload
-
getPreviousLimit
public double getPreviousLimit()Description copied from interface:Overload
The value of the current limit which has been overloaded, in Amperes.- Specified by:
getPreviousLimit
in interfaceOverload
-