File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
src/main/java/edu/ie3/datamodel Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 66package edu .ie3 .datamodel .io .factory .timeseries ;
77
88import static edu .ie3 .datamodel .models .profile .LoadProfile .RandomLoadProfile .RANDOM_LOAD_PROFILE ;
9+ import static tech .units .indriya .unit .Units .WATT ;
910
1011import edu .ie3 .datamodel .io .naming .timeseries .LoadProfileMetaInformation ;
1112import edu .ie3 .datamodel .models .profile .LoadProfile .RandomLoadProfile ;
@@ -90,7 +91,7 @@ public RandomLoadProfile parseProfile(String profile) {
9091 @ Override
9192 public ComparableQuantity <Power > calculateMaxPower (
9293 RandomLoadProfile loadProfile , Set <LoadProfileEntry <RandomLoadValues >> loadProfileEntries ) {
93- return Quantities .getQuantity (159d , PowerSystemUnits . WATT );
94+ return Quantities .getQuantity (159d , WATT );
9495 }
9596
9697 @ Override
Original file line number Diff line number Diff line change @@ -51,9 +51,9 @@ public class RandomLoadValues implements LoadValues {
5151 /** Scale parameter for a working day */
5252 private final double sigmaWd ;
5353
54- private final GeneralizedExtremeValueDistribution gevWd ;
55- private final GeneralizedExtremeValueDistribution gevSa ;
56- private final GeneralizedExtremeValueDistribution gevSu ;
54+ private final transient GeneralizedExtremeValueDistribution gevWd ;
55+ private final transient GeneralizedExtremeValueDistribution gevSa ;
56+ private final transient GeneralizedExtremeValueDistribution gevSu ;
5757
5858 /**
5959 * @param kSa Shape parameter for a Saturday
You can’t perform that action at this time.
0 commit comments