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

Reduce total occupancy #102

Merged
merged 12 commits into from
Jan 26, 2024
Merged

Reduce total occupancy #102

merged 12 commits into from
Jan 26, 2024

Conversation

eringold
Copy link
Contributor

@eringold eringold commented Jan 23, 2024

Pull request overview

Adjusts building occupancy schedules to closer align ComStock occupancy with US Commercial Building occupancy as determined from American Time Use Survey data.

ComStock Change Document

Pull Request Author

This pull request makes changes to (select all the apply):

  • Workflow Measures

Author pull request checklist:

  • Tagged the pull request with the appropriate label (documentation, infrastructure, sampling, workflow measure, upgrade measure, reporting measure, postprocessing) to help categorize changes in the release notes.
  • Added tests for new measures
  • Updated measure .xml(s)
  • Both options_lookup.tsv files updated
  • 10k+ test run
  • Change documentation written
  • ComStock documentation updated
  • Added 'See ComStock License' language to first two lines of each code file

Review Checklist

This will not be exhaustively relevant to every PR.

  • Perform a code review on GitHub
  • All related changes have been implemented: data and method additions, changes, tests
  • If fixing a defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • Reviewed change documentation
  • Ensured code files contain License reference
  • Results differences are reasonable
  • CI status: all tests pass

ComStock Licensing Language - Add to Beginning of Each Code File

# ComStock™, Copyright (c) 2023 Alliance for Sustainable Energy, LLC. All rights reserved.
# See top level LICENSE.txt file for license terms.

Copy link
Member

@asparke2 asparke2 left a comment

Choose a reason for hiding this comment

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

Minor code changes. Comment in the word doc RE calculating the % reduction fraction; did it account for the fact that ComStock only models ~66% of the floor area?

@mdahlhausen mdahlhausen added the workflow measure PR improves or adds baseline workflow measures label Jan 25, 2024
Copy link
Contributor

@mdahlhausen mdahlhausen left a comment

Choose a reason for hiding this comment

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

The change documentation looks great - thanks for including all the comparisons!
A few minor changes:

  • Copy methods from openstudio-standards instead of using the methods in os_lib_schedules.rb. That will make it easier to refactor in the future.
  • Update the workflow measures README with this measure.
  • Add ComStock license to files.
  • Update ComStock documentation in the occupancy section to explain this update.

-remove oslib_schedules
-copy new standards methods to be replaced
-descriptive schedule name with rounded value
-test runs, output the same
-add copyright
-update measure xml
@eringold
Copy link
Contributor Author

@asparke2 @mdahlhausen Thanks for the review. I think I've addressed all comments, let me know if there's anything else you'd like to see, particularly on the documentation.

Copy link
Contributor

@mdahlhausen mdahlhausen left a comment

Choose a reason for hiding this comment

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

Looks excellent!

@mdahlhausen mdahlhausen self-requested a review January 25, 2024 16:40
@mdahlhausen mdahlhausen added the documentation PR improves or adds documentation label Jan 26, 2024
Copy link
Member

@asparke2 asparke2 left a comment

Choose a reason for hiding this comment

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

Looks good, let's merge

@asparke2 asparke2 merged commit 5594b30 into main Jan 26, 2024
@asparke2 asparke2 deleted the eringold/occupant_adjustment branch January 26, 2024 16:58
@mdahlhausen mdahlhausen changed the title Occupant Schedule adjustment Reduce total occupancy Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation PR improves or adds documentation workflow measure PR improves or adds baseline workflow measures
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants