-
Notifications
You must be signed in to change notification settings - Fork 15
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
Fix UnmetLoads measure for OS 3.0 and newer #168
base: develop
Are you sure you want to change the base?
Conversation
@DavidGoldwasser I made the change and re-enabled the tests, but two of the tests are failing. They seem unrelated to my change, so I will let you decide what to do about them. I'm not familiar enough with the measure to know what's going on. |
exit_temp = plantloop.sizingPlant.getDesignLoopExitTemperature.value | ||
exit_temp = plantloop.sizingPlant.designLoopExitTemperature |
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.
Primary bugfix
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.
Found this today again: #175 (comment)
via https://unmethours.com/question/100084/cannot-run-unmet-load-hours-troubleshooting-measure/
@@ -443,6 +444,8 @@ def time_series_setpoint_vs_temp(zoneMetrics) | |||
@test_nine_data << graph | |||
end | |||
end | |||
|
|||
attr_reader :measureMetrics |
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.
Needed for the measure unit tests to work
<identifier>2.0.0</identifier> | ||
<min_compatible>2.0.0</min_compatible> | ||
<identifier>3.0.0</identifier> | ||
<min_compatible>3.0.0</min_compatible> |
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.
Bumped min version
require 'openstudio' | ||
require 'openstudio/measure/ShowRunnerOutput' |
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.
Re-enabled all tests (but two still fail).
@DavidGoldwasser @shorowit It looks like Scott's pull request had some merge conflicts to resolve. |
@aaron-boranian Thanks for pinging this. I'll look at merge conflicts and see if I can get tests passing and this merged |
Merges of measure.xml files always messes this up.
Fixes #76