Package com.powsybl.iidm.network
Interface LoadingLimits
-
- All Superinterfaces:
OperationalLimits
- All Known Subinterfaces:
ActivePowerLimits
,ApparentPowerLimits
,CurrentLimits
- All Known Implementing Classes:
CurrentLimitsImpl
public interface LoadingLimits extends OperationalLimits
- Author:
- Miora Ralambotiana
, Thibaut Vermeulen
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
LoadingLimits.TemporaryLimit
Temporary current limit.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getPermanentLimit()
Get the permanent limit.LoadingLimits.TemporaryLimit
getTemporaryLimit(int acceptableDuration)
Get a temporary limit from its acceptable duration.Collection<LoadingLimits.TemporaryLimit>
getTemporaryLimits()
Get a list of temporary limits ordered by descending duration.double
getTemporaryLimitValue(int acceptableDuration)
Get a temporary limit value from its acceptable duration.LoadingLimits
setPermanentLimit(double permanentLimit)
Set the permanent limit-
Methods inherited from interface com.powsybl.iidm.network.OperationalLimits
getLimitType, remove
-
-
-
-
Method Detail
-
getPermanentLimit
double getPermanentLimit()
Get the permanent limit.- Returns:
- the permanent limit.
-
setPermanentLimit
LoadingLimits setPermanentLimit(double permanentLimit)
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
LoadingLimits.TemporaryLimit getTemporaryLimit(int acceptableDuration)
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
-
-