Package com.powsybl.iidm.network.impl
Class CurrentLimitsImpl
java.lang.Object
com.powsybl.iidm.network.impl.CurrentLimitsImpl
- All Implemented Interfaces:
CurrentLimits
,LoadingLimits
,OperationalLimits
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.powsybl.iidm.network.LoadingLimits
LoadingLimits.TemporaryLimit
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Get the permanent limit.getTemporaryLimit
(int acceptableDuration) Get a temporary limit from its acceptable duration.Get a list of temporary limits ordered by descending duration.double
getTemporaryLimitValue
(int acceptableDuration) Get a temporary limit value from its acceptable duration.void
remove()
setPermanentLimit
(double permanentLimit) Set the permanent limitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.powsybl.iidm.network.CurrentLimits
getLimitType
Methods inherited from interface com.powsybl.iidm.network.LoadingLimits
getPermanentLimit, getTemporaryLimit, getTemporaryLimits, getTemporaryLimitValue, setPermanentLimit
-
Field Details
-
group
-
-
Method Details
-
remove
public void remove()- Specified by:
remove
in interfaceOperationalLimits
-
getPermanentLimit
public double getPermanentLimit()Description copied from interface:LoadingLimits
Get the permanent limit.- Specified by:
getPermanentLimit
in interfaceLoadingLimits
- Returns:
- the permanent limit.
-
setPermanentLimit
Description copied from interface:LoadingLimits
Set the permanent limit- Specified by:
setPermanentLimit
in interfaceLoadingLimits
- Parameters:
permanentLimit
- the permanent limit- Returns:
- itself for method chaining
-
getTemporaryLimits
Description copied from interface:LoadingLimits
Get a list of temporary limits ordered by descending duration.- Specified by:
getTemporaryLimits
in interfaceLoadingLimits
- Returns:
- a list of temporary limits ordered by descending duration
-
getTemporaryLimit
Description copied from interface:LoadingLimits
Get a temporary limit from its acceptable duration. Return null if there is non temporary limit with this acceptable duration.- Specified by:
getTemporaryLimit
in interfaceLoadingLimits
- Parameters:
acceptableDuration
- acceptable duration in second- Returns:
- the temporary limit
-
getTemporaryLimitValue
public double getTemporaryLimitValue(int acceptableDuration) Description copied from interface:LoadingLimits
Get a temporary limit value from its acceptable duration. Return NaN if there is non temporary limit with this acceptable duration.- Specified by:
getTemporaryLimitValue
in interfaceLoadingLimits
- Parameters:
acceptableDuration
- acceptable duration in second- Returns:
- the temporary limit value or NaN if there is no temporary limit for this acceptable duration
-