-
Notifications
You must be signed in to change notification settings - Fork 5
/
StandardLoadProfile.java
31 lines (28 loc) · 1.21 KB
/
StandardLoadProfile.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
* © 2021. TU Dortmund University,
* Institute of Energy Systems, Energy Efficiency and Energy Economics,
* Research group Distribution grid planning and operation
*/
package edu.ie3.datamodel.models.profile;
import edu.ie3.datamodel.exceptions.ParsingException;
import edu.ie3.datamodel.models.timeseries.individual.IndividualTimeSeries;
import edu.ie3.datamodel.models.timeseries.repetitive.RepetitiveTimeSeries;
/**
* Giving reference to a known standard load profile to apply to a {@link
* edu.ie3.datamodel.models.input.system.LoadInput}. This interface does nothing more, than giving a
* reference, the values have to be provided by the simulator using the models.
*
* <p>If you intend to provide distinct values, create either an {@link IndividualTimeSeries} or
* {@link RepetitiveTimeSeries} and assign it to the model via mapping to the model.
*/
public interface StandardLoadProfile extends LoadProfile {
/**
* Returns standard load profile corresponding to the given key.
*
* @param key to look for
* @return the matching standard load profile
*/
static StandardLoadProfile parse(String key) throws ParsingException {
return LoadProfile.getProfile(BdewStandardLoadProfile.values(), key);
}
}