-
Notifications
You must be signed in to change notification settings - Fork 15
Add a test for SpaceList DSOA #219
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a59c5a5 to
00f46a4
Compare
Contributor
Author
…y has no DSOA assigned! The order in which it picks the DSOA (or not) is dependent on the order of spaces... And I have one space without A DSOA at all.
USE_EPLUS_SPACES=false CUSTOMTAG=WithoutSpaces /usr/local/openstudio-3.9.0/bin/openstudio model_tests.rb -n test_space_level_dsoa_py
Contributor
Author
|
I ran as far back as 3.0.0. I modified the test to be more dramatic: each space is EQUALLY sized in floor area. Since it picks up a random space's DSOA in the broken versions (USE_EPLUS_SPACE = true, so 3.5.0 to 3.9.0 included), sometimes it would pick the core one that was like 48 m3/s total airflow, versus 2.0 for the rest of the spaces, making the problem less obvious. |
Contributor
Author
…un Backward down to 3.0.0 and commit OSM version there rubocop
Contributor
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.







Pull request overview
Link to the Ubuntu 22.04 .deb installer to use for CI Testing. If not set, it will default to latest official release.
[OpenStudio Installer]: http://openstudio-ci-builds.s3-website-us-west-2.amazonaws.com/PR-5384/OpenStudio-3.10.0-alpha%2Bf1f36e141c-Ubuntu-22.04-x86_64.deb
This Pull Request is concerning:
NewTestForExisting: a new test for an already-existing model API classCase 3: New test for an already-existing model API class
This adds a test for #5384
Work Checklist
The following has been checked to ensure compliance with the guidelines:
Test has been run backwards (see Instructions for Running Docker) for all OpenStudio versions
A Matching OSM test has been added with the output of the ruby test for the oldest OpenStudio release where it passes (include OpenStudio Version)
Ruby test is stable in the last OpenStudio version: when run multiple times on the same machine, it produces the same total site kBTU.
model.getThermalZones.sort_by{|z| z.name.to_s}.each do ...so I am sure I put the same ZoneHVAC systems to the same zones regardless of their order)process_results.py(seepython process_results.py --helpfor usage).Please paste the text output or heatmap png generated after running the following commands:
Object has been added to
autosize_hvac.rbto ensure the autosizedXXX values methods do workCase 4: Other
Please be as explicit as possible about the changes you have made, and why they are warranted.
Review Checklist
# TODOadded tomodel_tests.rbout.oswhave been committedautosize_hvacas appropriateNewTest,TestFix,NewTestForExisting,OtherNewTest: addPendingOSMorAddedOSM