Package com.powsybl.iidm.network.util
Class OverloadImpl
- java.lang.Object
-
- com.powsybl.iidm.network.util.OverloadImpl
-
- All Implemented Interfaces:
Branch.Overload
public class OverloadImpl extends Object implements Branch.Overload
A simple, default implementation ofBranch.Overload
.- Author:
- Teofil Calin BANC
-
-
Constructor Summary
Constructors Constructor Description OverloadImpl(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getPreviousLimit()
The value of the current limit which has been overloaded, in Amperes.String
getPreviousLimitName()
The name of the current limit which has been overloaded.LoadingLimits.TemporaryLimit
getTemporaryLimit()
The temporary limit under which the current is.
-
-
-
Constructor Detail
-
OverloadImpl
public OverloadImpl(LoadingLimits.TemporaryLimit temporaryLimit, String previousLimitName, double previousLimit)
-
-
Method Detail
-
getTemporaryLimit
public LoadingLimits.TemporaryLimit getTemporaryLimit()
Description copied from interface:Branch.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 interfaceBranch.Overload
-
getPreviousLimitName
public String getPreviousLimitName()
Description copied from interface:Branch.Overload
The name of the current limit which has been overloaded.- Specified by:
getPreviousLimitName
in interfaceBranch.Overload
-
getPreviousLimit
public double getPreviousLimit()
Description copied from interface:Branch.Overload
The value of the current limit which has been overloaded, in Amperes.- Specified by:
getPreviousLimit
in interfaceBranch.Overload
-
-