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

Merging changes to master into nrcan branch #1670

Merged
merged 67 commits into from
Jan 18, 2024
Merged

Conversation

ckirney
Copy link
Collaborator

@ckirney ckirney commented Jan 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

IainMacdonald and others added 30 commits October 12, 2023 13:16
rubocop suggested changing ef to energy _factor.

descriptive name changes:
ef -> energy_factor
uef -> uniform_energy_factor
water_heater_eff -> water_heater_efficiency
re -> recovery_efficiency
Add Uniform Energy Factor conversion
schedule_constant_annual_equivalent_full_load_hrs -> schedule_constant_get_equivalent_full_load_hours
get_8760_values_from_schedule_constant -> schedule_constant_get_hourly_values

note that the get_8760_values_from_schedule_constant method added an extra 24 hours for holiday schedules, but those extra hours are never used in the code. It's only used with ScheduleRuleset returns.
schedule_compact_annual_min_max_value -> schedule_compact_get_min_max
add generic schedule_get_min_max method
schedule_compact_design_day_min_max_value -> schedule_compact_get_design_day_min_max
day_schedule_equivalent_full_load_hrs -> schedule_day_get_equivalent_full_load_hours
schedule_ruleset_design_day_min_max_value -> schedule_ruleset_get_design_day_min_max
schedule_ruleset_annual_equivalent_full_load_hrs -> schedule_ruleset_get_equivalent_full_load_hours
+ schedule_get_design_day_min_max
+ schedule_get_equivalent_full_load_hours
+ schedule_constant_get_design_day_min_max
- removed old tests for schedule ruleset methods
simplified some sections of code with switch statements depending on schedule type to the generic schedule_get method
schedule_ruleset_annual_hours_above_value -> schedule_ruleset_get_hours_above_value
also fixed method because it was giving total eflh, not the sum of hours above a value
lymereJ and others added 28 commits January 6, 2024 12:36
space_type_properties['lighting_space_type'] should be space_type_properties['lpd_space_type']
fix misspelling intialize -> initialize
Fix minor log message in PRM lighting
Minor documentation fixes
fix incorrect vestibule floor area check
enforce PRM model to have a non-leap year
Updating merge branch from master
… inculde case when weather download test is not run first.
… include case when weather download test is not run first.
@ckirney ckirney merged commit 5c53ffe into nrcan Jan 18, 2024
0 of 2 checks passed
@ckirney ckirney deleted the nrcan_merge_into_nrcan branch January 19, 2024 17:04
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.

5 participants