-
Notifications
You must be signed in to change notification settings - Fork 448
Fix #11267 - Ensure consistency of IDF file formats for easier diffing #11268
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
base: develop
Are you sure you want to change the base?
Conversation
…gured from an in.f90 file
``` git diff -U0 | grepdiff 'Watts per Zone' --output-matching=hunk | git apply --cached --unidiff-zero git diff -U0 | grepdiff 'Rate per Exterior' --output-matching=hunk | git apply --cached --unidiff-zero ``` more ``` git diff -U0 | grepdiff 'Zone Load Sizing Method' --output-matching=hunk | git apply --cached --unidiff-zero git diff -U0 | grepdiff 'Coefficient1 Constant' --output-matching=hunk | git apply --cached --unidiff-zero [etc] ``` Then I manually added the rest of the formatting changes
…ableSpeed and WaterToAir[chore] HeatPump and AirToWaterHeatPump and PCM coils ``` {'Coil:Cooling:DX:VariableSpeed', 'Coil:Cooling:WaterToAirHeatPump:EquationFit', 'Coil:Cooling:WaterToAirHeatPump:ParameterEstimation', 'Coil:Cooling:WaterToAirHeatPump:VariableSpeedEquationFit', 'Coil:Heating:DX:VariableSpeed', 'Coil:Heating:WaterToAirHeatPump:EquationFit', 'Coil:Heating:WaterToAirHeatPump:ParameterEstimation', 'Coil:Heating:WaterToAirHeatPump:VariableSpeedEquationFit', 'Coil:WaterHeating:AirToWaterHeatPump:Pumped', 'Coil:WaterHeating:AirToWaterHeatPump:VariableSpeed', 'Coil:WaterHeating:AirToWaterHeatPump:Wrapped', 'ThermalStorage:HotWater:Stratified'} ```
…lExecutor (this is too slow for pratical use: takes 1 to 2 hr to reformat testfiles/)
d5d328c
to
21cb6d3
Compare
|
|
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.
I like adding some consistency to these.
934.4, !- 2023 Rated Evaporator Fan Power Per Volume Flow {W/(m3/s)} | ||
, !- 2017 Rated Evaporator Fan Power Per Volume Flow Rate {W/(m3/s)} |
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 change seems like a regression. I'm not arguing with what is in the schema, just noting it.
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.
I guess we would just run this on our own occasionally, or it is going to be part of a more formal check? Would it be fast enough to run as part of our ./scripts/dev/apply_formatting.sh
cleanup?
! Version, | ||
! 9.0; !- Version Identifier | ||
|
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.
I'm debating whether it would be useful to keep the version identifiers here and in other files that are just IDF object holders, and not really simulation input files.
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.
If the version object and number was in those files, wouldn't the transition program work on them?
Now the next can of 🪱 🪱 🪱 ... what about the IDF objects in the unit tests and docs?? |
Pull request overview
Description of the purpose of this PR
In particular I had about 50 files failures, and after a lot of effort I isolated the issue: the tool removed some coils
Pull Request Author
Reviewer