Package com.powsybl.iidm.network
Interface LoadingLimits
- All Superinterfaces:
OperationalLimits
- All Known Subinterfaces:
ActivePowerLimits
,ApparentPowerLimits
,CurrentLimits
- All Known Implementing Classes:
AbstractReducedLoadingLimits
,CurrentLimitsImpl
,ReducedActivePowerLimits
,ReducedApparentPowerLimits
,ReducedCurrentLimits
- Author:
- Miora Ralambotiana <miora.ralambotiana at rte-france.com>, Thibaut Vermeulen <thibaut.vermeulen at rte-france.com>
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
Temporary current limit. -
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.setPermanentLimit
(double permanentLimit) Set the permanent limitMethods inherited from interface com.powsybl.iidm.network.OperationalLimits
getLimitType, remove
-
Method Details
-
getPermanentLimit
double getPermanentLimit()Get the permanent limit.- Returns:
- the permanent limit.
-
setPermanentLimit
Set the permanent limit- Parameters:
permanentLimit
- the permanent limit- Returns:
- itself for method chaining
-
getTemporaryLimits
Collection<LoadingLimits.TemporaryLimit> getTemporaryLimits()Get a list of temporary limits ordered by descending duration.- Returns:
- a list of temporary limits ordered by descending duration
-
getTemporaryLimit
Get a temporary limit from its acceptable duration. Return null if there is non temporary limit with this acceptable duration.- Parameters:
acceptableDuration
- acceptable duration in second- Returns:
- the temporary limit
-
getTemporaryLimitValue
double getTemporaryLimitValue(int acceptableDuration) Get a temporary limit value from its acceptable duration. Return NaN if there is non temporary limit with this acceptable duration.- Parameters:
acceptableDuration
- acceptable duration in second- Returns:
- the temporary limit value or NaN if there is no temporary limit for this acceptable duration
-