Skip to content
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

Support BuildingAmerica seasons in BuildResHPXML measure #1152

Merged
merged 11 commits into from
Aug 16, 2022

Conversation

joseph-robertson
Copy link
Collaborator

@joseph-robertson joseph-robertson commented Aug 11, 2022

Pull Request Description

When seasons arguments are BuildingAmerica, get month arrays from weather object, and use them to populate season fields of HPXML file. This should simplify things on the ResStock end.

Checklist

PR Author: Check these when they're done. Not all may apply. strikethrough and check any that do not apply.

PR Reviewer: Verify each has been completed.

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (via tasks.rb)
  • Unit tests have been added/updated (e.g., HPXMLtoOpenStudio/tests)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • Checked the code coverage report on CI
  • No unexpected changes to simulation results of sample files

@joseph-robertson joseph-robertson self-assigned this Aug 11, 2022
@joseph-robertson joseph-robertson marked this pull request as ready for review August 11, 2022 23:11
BuildResidentialHPXML/measure.rb Outdated Show resolved Hide resolved
BuildResidentialHPXML/measure.rb Outdated Show resolved Hide resolved
BuildResidentialHPXML/measure.rb Outdated Show resolved Hide resolved
BuildResidentialHPXML/measure.rb Outdated Show resolved Hide resolved
HPXMLtoOpenStudio/resources/schedules.rb Show resolved Hide resolved
tasks.rb Outdated Show resolved Hide resolved
@joseph-robertson
Copy link
Collaborator Author

@afontani reports that this change works for ResStock: NREL/resstock#975 (comment)

@shorowit
Copy link
Contributor

@joseph-robertson Can you update the PR checklist?

Copy link
Contributor

@shorowit shorowit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implementation looks good. I don't think any docs/changelog updates are needed.

BuildResidentialHPXML/measure.rb Outdated Show resolved Hide resolved
@shorowit shorowit merged commit 397ce67 into master Aug 16, 2022
@shorowit shorowit deleted the building-america-seasons branch August 16, 2022 20:33
@shorowit shorowit added this to In progress in OpenStudio-HPXML via automation Aug 16, 2022
@shorowit shorowit moved this from In progress to Done in OpenStudio-HPXML Aug 16, 2022
@shorowit shorowit changed the title Support BuildingAmerica seasons Support BuildingAmerica seasons in BuildResHPXML measure Sep 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants