Package edu.ie3.datamodel.models.profile
Enum Class NbwTemperatureDependantLoadProfile
java.lang.Object
java.lang.Enum<NbwTemperatureDependantLoadProfile>
edu.ie3.datamodel.models.profile.NbwTemperatureDependantLoadProfile
- All Implemented Interfaces:
LoadProfile
,TemperatureDependantLoadProfile
,Serializable
,Comparable<NbwTemperatureDependantLoadProfile>
,Constable
public enum NbwTemperatureDependantLoadProfile
extends Enum<NbwTemperatureDependantLoadProfile>
implements TemperatureDependantLoadProfile
Temperature dependant determined by NBW (accessed 05/2022)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
Nested classes/interfaces inherited from interface edu.ie3.datamodel.models.profile.LoadProfile
LoadProfile.DefaultLoadProfiles
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the predefined nbw load profile based on the given keygetKey()
toString()
Returns the enum constant of this class with the specified name.static NbwTemperatureDependantLoadProfile[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EP1
-
EZ2
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
get
Get the predefined nbw load profile based on the given key- Parameters:
key
- key to check for- Returns:
- The corresponding nbw load profile or throw
IllegalArgumentException
, if no matching load profile can be found - Throws:
ParsingException
-
getKey
- Specified by:
getKey
in interfaceLoadProfile
- Returns:
- The identifying String
-
toString
- Overrides:
toString
in classEnum<NbwTemperatureDependantLoadProfile>
-