-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extend ValidationUtils for validating ThermalGrids #1217
base: dev
Are you sure you want to change the base?
Extend ValidationUtils for validating ThermalGrids #1217
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just some small remarks.
src/main/java/edu/ie3/datamodel/utils/validation/ThermalUnitValidationUtils.java
Outdated
Show resolved
Hide resolved
src/main/java/edu/ie3/datamodel/utils/validation/ThermalUnitValidationUtils.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small remarks in the new test.
ThermalUnitInputTestData.domesticHotWaterStorageInput | ||
] | ||
def cylindricalStorageInput = [ | ||
ThermalUnitInputTestData.cylindricalStorageInput |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not work, because the test data name is cylindricStorageInput
.
def domesticHotWaterStorageInput = [ | ||
ThermalUnitInputTestData.domesticHotWaterStorageInput | ||
] | ||
def cylindricalStorageInput = [ | ||
ThermalUnitInputTestData.cylindricalStorageInput | ||
] | ||
|
||
ThermalGrid thermalGrid = new ThermalGrid(thermalBus, [thermalHouse], cylindricalStorageInput, domesticHotWaterStorageInput) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This thermal grid needs to be adapted as well.
resolves #1216