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) OverloadImpl
(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit, double limitReductionCoefficient) -
Method Summary
Modifier and TypeMethodDescriptiondouble
double
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) -
OverloadImpl
public OverloadImpl(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit, double limitReductionCoefficient)
-
-
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
-
getLimitReductionCoefficient
public double getLimitReductionCoefficient()- Specified by:
getLimitReductionCoefficient
in interfaceOverload
-