-
Notifications
You must be signed in to change notification settings - Fork 14
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
#94 - Add test for OutputDiagnostics, OutputDebuggingData, OutputJSON, and OutputTableSummaryReports #96
Conversation
…, and OutputTableSummaryReports
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.
Added review comments as a code walkthrough.
# TODO : To be added once the next official release | ||
# including this object is out : 3.0.0 | ||
# def test_output_objects_osm | ||
# result = sim_test('output_objects.osm') | ||
# end |
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.
TODO for PendingOSM
# NOTE: until https://github.com/NREL/EnergyPlus/issues/7742 is addressed | ||
# You can only add maximum TWO diagnostics | ||
output_diagnostics.setKeys(["DisplayExtraWarnings", | ||
"ReportDuringWarmup", | ||
# "DisplayAdvancedReportVariables" | ||
]) |
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 don't think this debugging object warrants making funny stuff in the FT right now to add several ouput:diagnostics objects with chunks of 2 keys...
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.
@kbenne FYI, this one is worth noting.
Pull request overview
Please change this line to a description of the pull request, with useful supporting information.
Link to relevant GitHub Issue(s) if appropriate:
This Pull Request is concerning:
NewTest
: a new test for a new model API class,TestFix
: a fix for an existing test. The GitHub issue should be referenced in the PR descriptionNewTestForExisting
: a new test for an already-existing model API classOther
: Something else, like maintenance of the repo, or just committing test results with a new OpenStudio version.Case 1: New test for a new model API class
Please include which class(es) you are adding a test to specifically test for.
Work Checklist
The following has been checked to ensure compliance with the guidelines:
Tests pass either:
with official OpenStudio release (include version):
out.osw
have been committedwith current develop (incude SHA): Addresses #3784, add methods to edit SummaryReports in OpenStudio SDK OpenStudio#3882
PendingOSM
has been added to this PRmodel_tests.rb
has a TODO: https://github.com/NREL/OpenStudio-resources/pull/96/files#diff-536a4c547820b9578f15e5f1fda2844dR515-R519out.osw
have been committed as they need to be run with an official OpenStudio versionRuby test is stable: when run multiple times on the same machine, it produces the same total site kBTU.
Please paste the heatmap png generated after running the following commands:
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 --help
for usage).Please paste the text output or heatmap png generated after running the following commands:
$ python process_results.py test-stability clean $ python process_results.py test-stability run -n test_output_objects_rb --os_cli=$os_build/Products/openstudio $ python process_results.py test-status --tagged OK: No Failing tests were found $ python process_results.py heatmap --tagged OK: There are NO differences at all
Review Checklist
# TODO
added tomodel_tests.rb
out.osw
have been committedNewTest
,TestFix
,NewTestForExisting
,Other
NewTest
: addPendingOSM
if needed