@@ -30,8 +30,6 @@ public class LoadInput extends SystemParticipantInput {
3030 * model
3131 */
3232 private final LoadProfile loadProfile ;
33- /** True, if demand side management is activated for this load */
34- private final boolean dsm ;
3533 /** Annually consumed energy (typically in kWh) */
3634 private final ComparableQuantity <Energy > eConsAnnual ;
3735 /** Active Power (typically in kVA) */
@@ -50,7 +48,6 @@ public class LoadInput extends SystemParticipantInput {
5048 * @param qCharacteristics Description of a reactive power characteristic
5149 * @param em The {@link EmInput} controlling this system participant. Null, if not applicable.
5250 * @param loadProfile Load profile to use for this model
53- * @param dsm True, if demand side management is activated for this load
5451 * @param eConsAnnual Annually consumed energy (typically in kWh)
5552 * @param sRated Rated apparent power (in kVA)
5653 * @param cosPhiRated Rated power factor
@@ -64,13 +61,11 @@ public LoadInput(
6461 ReactivePowerCharacteristic qCharacteristics ,
6562 EmInput em ,
6663 LoadProfile loadProfile ,
67- boolean dsm ,
6864 ComparableQuantity <Energy > eConsAnnual ,
6965 ComparableQuantity <Power > sRated ,
7066 double cosPhiRated ) {
7167 super (uuid , id , operator , operationTime , node , qCharacteristics , em );
7268 this .loadProfile = loadProfile ;
73- this .dsm = dsm ;
7469 this .eConsAnnual = eConsAnnual .to (StandardUnits .ENERGY_IN );
7570 this .sRated = sRated .to (StandardUnits .S_RATED );
7671 this .cosPhiRated = cosPhiRated ;
@@ -89,7 +84,6 @@ public LoadInput(
8984 * @param loadProfileKey Load profile key corresponding to {@link
9085 * edu.ie3.datamodel.models.profile.BdewStandardLoadProfile} or {@link
9186 * edu.ie3.datamodel.models.profile.NbwTemperatureDependantLoadProfile}
92- * @param dsm True, if demand side management is activated for this load
9387 * @param eConsAnnual Annually consumed energy (typically in kWh)
9488 * @param sRated Rated apparent power (in kVA)
9589 * @param cosPhiRated Rated power factor
@@ -103,7 +97,6 @@ public LoadInput(
10397 ReactivePowerCharacteristic qCharacteristics ,
10498 EmInput em ,
10599 String loadProfileKey ,
106- boolean dsm ,
107100 ComparableQuantity <Energy > eConsAnnual ,
108101 ComparableQuantity <Power > sRated ,
109102 double cosPhiRated )
@@ -118,7 +111,6 @@ public LoadInput(
118111 qCharacteristics ,
119112 em ,
120113 LoadProfile .parse (loadProfileKey ),
121- dsm ,
122114 eConsAnnual ,
123115 sRated ,
124116 cosPhiRated );
@@ -133,7 +125,6 @@ public LoadInput(
133125 * @param qCharacteristics Description of a reactive power characteristic
134126 * @param em The {@link EmInput} controlling this system participant. Null, if not applicable.
135127 * @param loadProfile Standard load profile to use for this model
136- * @param dsm True, if demand side management is activated for this load
137128 * @param eConsAnnual Annually consumed energy (typically in kWh)
138129 * @param sRated Rated apparent power (in kVA)
139130 * @param cosPhiRated Rated power factor
@@ -145,13 +136,11 @@ public LoadInput(
145136 ReactivePowerCharacteristic qCharacteristics ,
146137 EmInput em ,
147138 LoadProfile loadProfile ,
148- boolean dsm ,
149139 ComparableQuantity <Energy > eConsAnnual ,
150140 ComparableQuantity <Power > sRated ,
151141 double cosPhiRated ) {
152142 super (uuid , id , node , qCharacteristics , em );
153143 this .loadProfile = loadProfile ;
154- this .dsm = dsm ;
155144 this .eConsAnnual = eConsAnnual .to (StandardUnits .ENERGY_IN );
156145 this .sRated = sRated .to (StandardUnits .S_RATED );
157146 this .cosPhiRated = cosPhiRated ;
@@ -168,7 +157,6 @@ public LoadInput(
168157 * @param loadProfileKey load profile key corresponding to {@link
169158 * edu.ie3.datamodel.models.profile.BdewStandardLoadProfile} or {@link
170159 * edu.ie3.datamodel.models.profile.NbwTemperatureDependantLoadProfile}
171- * @param dsm True, if demand side management is activated for this load
172160 * @param eConsAnnual Annually consumed energy (typically in kWh)
173161 * @param sRated Rated apparent power (in kVA)
174162 * @param cosPhiRated Rated power factor
@@ -180,7 +168,6 @@ public LoadInput(
180168 ReactivePowerCharacteristic qCharacteristics ,
181169 EmInput em ,
182170 String loadProfileKey ,
183- boolean dsm ,
184171 ComparableQuantity <Energy > eConsAnnual ,
185172 ComparableQuantity <Power > sRated ,
186173 double cosPhiRated )
@@ -192,7 +179,6 @@ public LoadInput(
192179 qCharacteristics ,
193180 em ,
194181 LoadProfile .parse (loadProfileKey ),
195- dsm ,
196182 eConsAnnual ,
197183 sRated ,
198184 cosPhiRated );
@@ -202,10 +188,6 @@ public LoadProfile getLoadProfile() {
202188 return loadProfile ;
203189 }
204190
205- public boolean isDsm () {
206- return dsm ;
207- }
208-
209191 public ComparableQuantity <Energy > geteConsAnnual () {
210192 return eConsAnnual ;
211193 }
@@ -227,16 +209,15 @@ public boolean equals(Object o) {
227209 if (this == o ) return true ;
228210 if (!(o instanceof LoadInput loadInput )) return false ;
229211 if (!super .equals (o )) return false ;
230- return dsm == loadInput .dsm
231- && Double .compare (loadInput .cosPhiRated , cosPhiRated ) == 0
212+ return Double .compare (loadInput .cosPhiRated , cosPhiRated ) == 0
232213 && eConsAnnual .equals (loadInput .eConsAnnual )
233214 && loadProfile .equals (loadInput .loadProfile )
234215 && sRated .equals (loadInput .sRated );
235216 }
236217
237218 @ Override
238219 public int hashCode () {
239- return Objects .hash (super .hashCode (), dsm , eConsAnnual , sRated , cosPhiRated );
220+ return Objects .hash (super .hashCode (), eConsAnnual , sRated , cosPhiRated );
240221 }
241222
242223 @ Override
@@ -256,8 +237,6 @@ public String toString() {
256237 + getqCharacteristics ()
257238 + "', em="
258239 + getControllingEm ()
259- + ", dsm="
260- + dsm
261240 + ", eConsAnnual="
262241 + eConsAnnual
263242 + ", sRated="
@@ -278,15 +257,13 @@ public static class LoadInputCopyBuilder
278257 extends SystemParticipantInputCopyBuilder <LoadInputCopyBuilder > {
279258
280259 private LoadProfile loadProfile ;
281- private boolean dsm ;
282260 private ComparableQuantity <Energy > eConsAnnual ;
283261 private ComparableQuantity <Power > sRated ;
284262 private double cosPhiRated ;
285263
286264 private LoadInputCopyBuilder (LoadInput entity ) {
287265 super (entity );
288266 this .loadProfile = entity .getLoadProfile ();
289- this .dsm = entity .isDsm ();
290267 this .eConsAnnual = entity .geteConsAnnual ();
291268 this .sRated = entity .getsRated ();
292269 this .cosPhiRated = entity .getCosPhiRated ();
@@ -297,11 +274,6 @@ public LoadInputCopyBuilder loadprofile(StandardLoadProfile standardLoadProfile)
297274 return this ;
298275 }
299276
300- public LoadInputCopyBuilder dsm (boolean dsm ) {
301- this .dsm = dsm ;
302- return this ;
303- }
304-
305277 public LoadInputCopyBuilder eConsAnnual (ComparableQuantity <Energy > eConsAnnual ) {
306278 this .eConsAnnual = eConsAnnual ;
307279 return this ;
@@ -335,7 +307,6 @@ public LoadInput build() {
335307 getqCharacteristics (),
336308 getEm (),
337309 loadProfile ,
338- dsm ,
339310 eConsAnnual ,
340311 sRated ,
341312 cosPhiRated );
0 commit comments