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

Including further changes from master into nrcan code #1813

Merged
merged 22 commits into from
Sep 18, 2024

Conversation

ckirney
Copy link
Collaborator

@ckirney ckirney commented Sep 18, 2024

Pull request overview

  • Fixes #ISSUENUMBERHERE (IF THIS IS A DEFECT)

Pull Request Author

  • Method changes or additions
  • Data changes or additions
  • Added tests for added methods
  • If methods have been deprecated, update rest of code to use the new methods
  • Documented new methods using yard syntax
  • Resolved yard documentation errors for new code (ran bundle exec rake doc)
  • Resolved rubocop syntax errors for new code (ran bundle exec rake rubocop)
  • All new and existing tests passes
  • If the code adds new require statements, ensure these are in core ruby or add to the gemspec

Review Checklist

This will not be exhaustively relevant to every PR.

  • Perform a code review on GitHub
  • All related changes have been implemented: method additions, changes, tests
  • Check rubocop errors
  • Check yard doc errors
  • If fixing a defect, verify by running develop branch and reproducing defect, then running PR and reproducing fix
  • If a new feature, test the new feature and try creative ways to break it
  • CI status: all green or justified

When looking up PTHP COPs, give a warning message if the size is nil and default to a 7 kBtu/hr unit for efficiency.
Expand the code to give warning messages if the equipment is less than 7 kBtu/hr or above 15 kBtu/hr, and use either 7 kBtu/hr or 15 kBtu/hr to determine equipment efficiency.
This change may result in some regression and performance differences for models with PTHP units.
The air_loop_hvac_adjust_minimum_vav_damper_positions method expects that zones have outdoor air and design air flow rate. If the space does not have a DesignSpecificationOutdoorAir object, or it is zero, then the calculation is unnecessary. If either the zone CoolingDesignAirFlowRate or HeatingDesignAirFlowRate are zero, then the zone discharge air fraction (z_d) could have a divide by zero and result in NaN. This crashes the code when trying to calculate the minimum zone ventilation effectiveness (e_vz).

Add informative error messages that the zone CoolingDesignAirFlowRate or HeatingDesignAirFlowRate are zero, and default the zone discharge air fraction (z_d) to zero if either the zone minimum discharge airflow rate (v_dz) is zero, or the zone outdoor airflow rate is zero (v_oz).
When defrost and dripdown are active in refrigerated case and walkins, set their schedules to 1. Fixes issue #1646.
update regression models with new refrigeration schedule names
Fix PTHP capacity and VAV minimum damper calculation issues
Fix refrigerated case and walkin defrost and dripdown schedule values
Add smart defaults for evaporative cooler objects.
This adds pumping energy, and slightly lowers water use.
Add smart defaults for evaporative coolers
Add methods to rename surfaces and subsurfaces
- add small, medium, and large office detailed space type ratios from example models
- switch large office default to be an else statement in case the building_subtype is not specified
Add office detailed space type ratios
@ckirney ckirney merged commit 9b91377 into nrcan_master_merge Sep 18, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants