Skip to content

Commit 7da594a

Browse files
fmt and docs
1 parent 085cad5 commit 7da594a

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

src/main/java/edu/ie3/datamodel/utils/validation/SystemParticipantValidationUtils.java

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
import edu.ie3.datamodel.models.input.UniqueInputEntity;
1414
import edu.ie3.datamodel.models.input.system.*;
1515
import edu.ie3.datamodel.models.input.system.type.*;
16-
import edu.ie3.datamodel.models.profile.BdewStandardLoadProfile;
1716
import edu.ie3.datamodel.models.profile.LoadProfile;
18-
import edu.ie3.datamodel.models.profile.NbwTemperatureDependantLoadProfile;
1917
import edu.ie3.datamodel.utils.Try;
2018
import edu.ie3.datamodel.utils.Try.Failure;
2119
import java.util.ArrayList;
@@ -364,8 +362,8 @@ private static Try<Void, InvalidEntityException> checkHpType(HpTypeInput hpTypeI
364362
* Validates a LoadInput if:
365363
*
366364
* <ul>
367-
* <li>its standard load profile is not null
368-
* <li>its standard load profile matches the supported types / profile names
365+
* <li>its load profile is not null
366+
* <li>its load profile matches the supported types / profile names
369367
* <li>its rated apparent power is not negative
370368
* <li>its annual energy consumption is not negative
371369
* <li>its rated power factor is between 0 and 1
@@ -381,9 +379,7 @@ private static List<Try<Void, InvalidEntityException>> checkLoad(LoadInput loadI
381379
exceptions.add(
382380
Try.ofVoid(
383381
loadInput.getLoadProfile() == null,
384-
() ->
385-
new InvalidEntityException(
386-
"No standard load profile defined for load", loadInput)));
382+
() -> new InvalidEntityException("No load profile defined for load", loadInput)));
387383

388384
if (loadInput.getLoadProfile() != null) {
389385
LoadProfile profile = loadInput.getLoadProfile();

0 commit comments

Comments
 (0)