Package edu.ie3.datamodel.models.profile
Interface LoadProfile
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
StandardLoadProfile,TemperatureDependantLoadProfile
- All Known Implementing Classes:
BdewStandardLoadProfile,LoadProfile.DefaultLoadProfiles,NbwTemperatureDependantLoadProfile
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic LoadProfile[]getKey()static <T extends LoadProfile>
TgetProfile(T[] profiles, String key) Looks for load profile with given key and returns it.static LoadProfileParses the given key toStandardLoadProfile.
-
Method Details
-
getKey
String getKey()- Returns:
- The identifying String
-
parse
Parses the given key toStandardLoadProfile.- Parameters:
key- Key to parse- Returns:
- Matching
StandardLoadProfile - Throws:
ParsingException- If key cannot be parsed
-
getAllProfiles
-
getProfile
Looks for load profile with given key and returns it.- Parameters:
profiles- we search withinkey- to look for- Returns:
- the matching load profile
- Throws:
ParsingException
-