Skip to content

Commit 306a43a

Browse files
committed
Adding explanation for values in RandomLoadProfileFactory.
1 parent 2004653 commit 306a43a

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

src/main/java/edu/ie3/datamodel/io/factory/timeseries/RandomLoadProfileFactory.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,28 @@ public RandomLoadProfile parseProfile(String profile) {
8888
return RANDOM_LOAD_PROFILE;
8989
}
9090

91+
/**
92+
* This is the 95 % quantile resulting from 10,000 evaluations of the year 2019. It is only
93+
* needed, when the load is meant to be scaled to rated active power.
94+
*
95+
* @return Reference active power to use for later model calculations
96+
*/
9197
@Override
9298
public ComparableQuantity<Power> calculateMaxPower(
9399
RandomLoadProfile loadProfile, Set<LoadProfileEntry<RandomLoadValues>> loadProfileEntries) {
94100
return Quantities.getQuantity(159d, WATT);
95101
}
96102

103+
/**
104+
* Returns the profile energy scaling factor, the random profile is scaled to.
105+
*
106+
* <p>It is said in 'Kays - Agent-based simulation environment for improving the planning of
107+
* distribution grids', that the Generalized Extreme Value distribution's parameters are sampled
108+
* from input data, that is normalized to 1,000 kWh annual energy consumption. However, due to
109+
* inaccuracies in random data reproduction, the sampled values will lead to an average annual
110+
* energy consumption of approx. this value. It has been found by 1,000 evaluations of the year
111+
* 2019.
112+
*/
97113
@Override
98114
public ComparableQuantity<Energy> getLoadProfileEnergyScaling(RandomLoadProfile loadProfile) {
99115
return Quantities.getQuantity(716.5416966513656, PowerSystemUnits.KILOWATTHOUR);

0 commit comments

Comments
 (0)