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

Fixes whole MF building bug when zero occupants in one unit #1899

Merged
merged 8 commits into from
Dec 20, 2024

Conversation

shorowit
Copy link
Contributor

@shorowit shorowit commented Dec 17, 2024

Pull Request Description

Fixes zero occupants specified for one unit in a whole MF building from being treated like zero occupants for every unit.

The previous approach, in which we use a year-round vacancy period, was fine until we started modeling whole MF buildings. But it applies to the entire building, so that doesn't work for a MF building with units that have varying numbers of occupants. Now we explicitly zero out target end uses.

Checklist

Not all may apply:

  • Schematron validator (EPvalidator.xml) has been updated
  • Sample files have been added/updated (openstudio tasks.rb update_hpxmls)
  • Tests have been added/updated (e.g., HPXMLtoOpenStudio/tests/test*.rb and/or workflow/tests/test*.rb)
  • Documentation has been updated
  • Changelog has been updated
  • openstudio tasks.rb update_measures has been run
  • No unexpected changes to simulation results of sample files

…om being treated like zero occupants for every unit.
@shorowit shorowit added the bug label Dec 17, 2024
@shorowit shorowit self-assigned this Dec 17, 2024
@shorowit shorowit marked this pull request as draft December 19, 2024 16:47
@shorowit shorowit marked this pull request as ready for review December 20, 2024 00:32
@shorowit
Copy link
Contributor Author

shorowit commented Dec 20, 2024

@joseph-robertson This gives identical results in ResStock, with one exception. As demonstrated in this commit, the previous implementation was correctly zeroing out ceiling fan electricity usage, but was not disabling the ceiling fan setpoint offset. So this PR will cause a small change in homes that have zero occupants and ceiling fans, and use a ceiling fan setpoint offset.

…o whole-mf-bldg-zero-occupants

# Conflicts:
#	Changelog.md
#	HPXMLtoOpenStudio/measure.xml
@shorowit shorowit merged commit d53251a into master Dec 20, 2024
7 checks passed
@shorowit shorowit deleted the whole-mf-bldg-zero-occupants branch December 20, 2024 20:10
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.

2 participants