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
Remove deprecated methods for AirWallMaterial, Node, SizingSystem, ZoneAirMassFlowConservation #4632
Conversation
I think we should create a wiki page that describes the policy for deprecated methods. Do we support 2 versions? 1 Version? Use OS_DEPRECATE. I think the warning should ouput the last supported version. |
@jmarrec If we remove the
|
Yes, absolutely. Scan constructions, find those that have only one layers that is an Material:AirWall, create a new Construction:AirBoundary, delete/don't VT the original construction and layer. Your build error is because you still have files referencing AirWallMaterial, /srv/jenkins/openstudio/docker-volumes/ubuntu-2004/src/gbxml/ReverseTranslator.cpp:61:10: fatal error: ../model/AirWallMaterial.hpp: No such file or directory |
@joseph-robertson build error:
|
* [#4632](https://github.com/NREL/OpenStudio/pull/4632) - Remove deprecated methods for AirWallMaterial, Node, SizingSystem, ZoneAirMassFlowConservation | ||
* Removes the deprecated `AirWallMaterial` class completely, in favor of `ConstructionAirBoundary` | ||
* Removes functions in `Node` that have been deprecated for 9+ years | ||
* Removes deprecated methods in the `SizingSystem` class | ||
* Removes deprecated methods in the `ZoneAirMassFlowConservation` class |
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.
👍
To be honest I kinda forgot I have done #3626 before. https://github.com/NREL/OpenStudio/blob/9eb0b838c20e6e5cf4d0cb5acd2ba3a26703afa3/developer/ruby/deprecated_methods.csv Maybe we should take everything on that list into this PR. |
Lots of failure on the OpenStudio-resources' side. I'm trying to fix it. originally failures
|
cf NREL/OpenStudio#4632 This was done at 1.13, so we don't need to do conditional (based on version) as we won't run tests so far back in time
I fixed the regression tests in NREL/OpenStudio-resources#174 |
…, deprecated since 2.3.1
…hod (deprecated 2.3.1)
@joseph-robertson I'll let this one build. Then I'll do another run of NREL/OpenStudio-resources#174 to make sure everything is alright and then we can merge. Thanks for your work! |
CI Results for 6fa29cc:
|
Pull request overview
Which deprecated methods should be removed?
minimumSystemAirFlowRatio
in favor ofcentralHeatingMaximumSystemAirFlowRatio
setMinimumSystemAirFlowRatio
in favor ofsetCentralHeatingMaximumSystemAirFlowRatio
Pull Request Author
src/model/test
)src/energyplus/Test
)src/osversion/VersionTranslator.cpp
)Labels:
IDDChange
APIChange
Pull Request - Ready for CI
so that CI builds your PRReview Checklist
This will not be exhaustively relevant to every PR.