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

EUSS measure package tests #119

Merged
merged 470 commits into from
Feb 15, 2024
Merged

EUSS measure package tests #119

merged 470 commits into from
Feb 15, 2024

Conversation

ChristopherCaradonna
Copy link
Contributor

Pull request overview

Merges all EUSS cycle 3 changes.

Pull Request Author: Chris CaraDonna

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

  • Documentation
  • Infrastructure (includes singularity image, buildstock batch, dependencies, continuous integration tests)
  • Sampling
  • Workflow Measures
  • Upgrade Measures
  • Reporting Measures
  • Postprocessing

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)
  • Register values added to comstock_column_definitions.csv
  • Both options_lookup.tsv files updated
  • 10k+ test run
  • Change documentation written
  • Measure documentation written
  • ComStock documentation updated
  • Changes reflected in example .yml files
  • Changes reflected in README.md files
  • Added 'See ComStock License' language to first two lines of each code file
  • Implements corresponding measure tests and indexing path in test/measure_tests.txt or/and test/resource_measure_tests.txt
  • All new and existing tests pass the CI

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
  • Make sure the newly added measures has been added with tests and indexed properly
  • 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.

Allen and others added 30 commits January 10, 2024 19:23
weighted_thermostat_heating_max_c += heat_min_max['max'] * floor_area_m2
weighted_thermostat_heating_area_m2 += floor_area_m2
if thermostat_heating_schedule.to_ScheduleRuleset.is_initialized
puts("--- Ruleset schedule")
Copy link
Member

Choose a reason for hiding this comment

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

Get rid of "puts" statements throughout.

Copy link
Member

Choose a reason for hiding this comment

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

This is the same as compare_upgrades.py.template with some marley-specific run paths. Remove this file from PR

@@ -935,6 +935,90 @@ results.csv,qoi_report.average_of_top_ten_highest_peaks_timing_winter_hour,,FALS
results.csv,qoi_report.average_of_top_ten_highest_peaks_use_shoulder_kw,,FALSE,FALSE,float,kw,kw,Average hourly top 10 highest electric peaks during shoulder season
results.csv,qoi_report.average_of_top_ten_highest_peaks_use_summer_kw,,FALSE,FALSE,float,kw,kw,Average hourly top 10 highest electric peaks during summer
results.csv,qoi_report.average_of_top_ten_highest_peaks_use_winter_kw,,FALSE,FALSE,float,kw,kw,Average hourly top 10 highest electric peaks during winter
results.csv,qoi_report.minimum_daily_peak_jan_kw,out.qoi.minimum_daily_peak_jan,TRUE,FALSE,float,kw,kw,Minimum hourly daily electric load peak during January
Copy link
Member

Choose a reason for hiding this comment

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

Will need to turn off the variability columns that were needed for debugging but not desired in full published output.

Copy link
Member

Choose a reason for hiding this comment

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

This file is the same as compare_upgrades.py.template, remove from PR.

@@ -94,7 +94,6 @@ def arguments(model)
year = OpenStudio::Measure::OSArgument.makeStringArgument('year', true)
year.setDisplayName('Weather File Year')
year.setDescription('Year of the weather file to use.')
year.setDefaultValue('2018')
Copy link
Member

Choose a reason for hiding this comment

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

@ChristopherCaradonna in the test run, include the simulation settings check reporting measure to confirm that we are still running in 2018 and getting the expected timeseries.

Copy link
Member

Choose a reason for hiding this comment

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

Blank file

@@ -0,0 +1,206 @@
# insert your copyright here
Copy link
Member

Choose a reason for hiding this comment

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

Missing copyright.

@asparke2 asparke2 merged commit e9640bd into main Feb 15, 2024
@asparke2 asparke2 deleted the euss_package_testing branch February 15, 2024 20:13
@mdahlhausen mdahlhausen changed the title Euss package testing EUSS measure package tests Mar 13, 2024
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.

4 participants