Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
229 commits
Select commit Hold shift + click to select a range
7ff0532
Adds OEDI export by geography
asparke2 Sep 23, 2025
910aa6d
Rename columns for publication
asparke2 Sep 25, 2025
d6b93b8
Updates metadata processing
asparke2 Sep 29, 2025
98d4284
Unifies base and upgrade schemas
asparke2 Sep 30, 2025
68099af
Restructures metadata processing
asparke2 Oct 1, 2025
ee5acca
Set applicability and don't drop empty energy cols
asparke2 Oct 1, 2025
f11675d
Adds base to upgrade col consistency check
asparke2 Oct 1, 2025
1ee9d79
Modifies emissions col names
asparke2 Oct 2, 2025
1579203
Adds intensity columns
asparke2 Oct 2, 2025
29bdd9e
Sets col dtypes for SightGlass
asparke2 Oct 3, 2025
c892601
Disable some outputs
asparke2 Oct 7, 2025
4dbc10e
Makes output logging more accurate
asparke2 Oct 7, 2025
a229501
update Note column based on ResStock Technical Development Guide
Oct 7, 2025
df67daa
notes
Oct 7, 2025
bf61dc6
set no for some variables in the Publish in Full column
Oct 8, 2025
ca2bd36
data dictionary
Oct 8, 2025
4b4c164
out.component_load.XXX is not published in OEDI
Oct 8, 2025
db8200e
Publish In Full for meta data
Oct 10, 2025
4d3ffc7
add Timeseries Publish In Full
Oct 11, 2025
1612345
add data type column
Oct 12, 2025
df28a53
enumeration dictionary
Oct 12, 2025
e6cb26c
clean up
Oct 12, 2025
6840ede
data dict
Oct 12, 2025
c5982fb
deal with missing columns in testing
Oct 13, 2025
4e0b2aa
revise note
Oct 13, 2025
3a87b77
enumeration dictionary
Oct 14, 2025
fcd5f32
Update data_dictionary.tsv
jbrossman Oct 15, 2025
88d4baa
Update data_dictionary.tsv
jbrossman Oct 15, 2025
582dcb6
Merge pull request #1512 from NREL/jbrossman-data-dictionary-patch
asparke2 Oct 15, 2025
d36f917
add note description
Oct 15, 2025
251e666
update enumeration description
Oct 16, 2025
89405be
Create col in sdr_column_definitions with ResStock 2024.2 equivalents
ekpresent Oct 17, 2025
c6b12d8
Merge branch 'sdr_2025_release_1_postprocessing' of https://github.co…
ekpresent Oct 17, 2025
78705f5
Adds missing HP backup fuel use and modifies exported columns
asparke2 Oct 20, 2025
b3eed88
Fixes metadata postprocessing
asparke2 Oct 21, 2025
9046012
update enumeration dict
Oct 21, 2025
6fee715
First pass thru rst.
joseph-robertson Oct 22, 2025
5b9602b
Clean up.
joseph-robertson Oct 22, 2025
9e7326a
First pass thru tex.
joseph-robertson Oct 22, 2025
e232ea8
Remove dependency on openstudio from options resource file.
joseph-robertson Oct 23, 2025
f175092
Remove properties that are not used from both tables.
joseph-robertson Oct 23, 2025
6019c8b
Fix options table special characters.
joseph-robertson Oct 23, 2025
3144bb0
Continue additional options at the bottom of the same table.
joseph-robertson Oct 23, 2025
b968381
Clean up options tables.
joseph-robertson Oct 24, 2025
4fdeee6
Increase max options.
joseph-robertson Oct 24, 2025
30ac848
Fix a typo.
joseph-robertson Oct 24, 2025
c932a76
Increase max options.
joseph-robertson Oct 24, 2025
e4858ba
Avoid repeating column names on successive pages.
joseph-robertson Oct 24, 2025
4f34916
Merge remote-tracking branch 'origin/sdr_2025_release_1_postprocessin…
asparke2 Oct 24, 2025
5eb3126
Merge branch 'buildresidentialhpxml-options-based-args' of https://gi…
shorowit Oct 25, 2025
c9fbca2
Merge branch 'buildresidentialhpxml-options-based-args' of https://gi…
shorowit Oct 27, 2025
251b18c
Update documentation.
Oct 27, 2025
5941880
Merge branch 'develop' of https://github.com/NREL/resstock into build…
shorowit Oct 29, 2025
ea13bad
Create column name crosswalk
ekpresent Nov 3, 2025
dfbeffb
Like the development guide, properties tables for reference guide sho…
joseph-robertson Nov 6, 2025
6ba0dab
Adds missing hp backup load variables
asparke2 Nov 6, 2025
7215d52
Merge remote-tracking branch 'origin/sdr_2025_release_1_postprocessin…
asparke2 Nov 6, 2025
a53fe8e
Change options table caption to not imply properties vary.
joseph-robertson Nov 6, 2025
89f73e7
Merge branch 'develop' into buildresidentialhpxml-options-based-args-…
joseph-robertson Nov 6, 2025
ee19285
Update documentation.
Nov 6, 2025
cfdb4fa
Completed pass on 3a_ResStockInputs.tex.
shorowit Nov 6, 2025
094d43b
Merge branch 'buildresidentialhpxml-options-based-args-docs' of https…
shorowit Nov 6, 2025
e10350f
A bit more cleanup.
shorowit Nov 6, 2025
c1f58ca
Trim trailing whitespace to reduce diffs in child branch. [ci skip]
shorowit Nov 6, 2025
5c3d056
Merge branch 'buildresidentialhpxml-options-based-args-docs' of https…
shorowit Nov 6, 2025
0121e45
Remove arguments folder.
joseph-robertson Nov 7, 2025
f25f218
Update 3b_ResStockInputs_HVAC.tex
shorowit Nov 7, 2025
40afdb5
Stub approach for automating Description, Sources, Assumptions, Depen…
joseph-robertson Nov 7, 2025
beec564
Update documentation.
Nov 7, 2025
fc9e2f0
Create parent parameter tex reference files, and rename subsection fo…
joseph-robertson Nov 7, 2025
73d0e62
Merge branch 'buildresidentialhpxml-options-based-args-docs' of githu…
joseph-robertson Nov 7, 2025
10a07cb
Remove enums from Assumptions sub lists.
joseph-robertson Nov 7, 2025
f8688a6
Update 3c_ResStockInputs.tex. And a few simplifications to options_lo…
shorowit Nov 7, 2025
30e1107
Merge branch 'buildresidentialhpxml-options-based-args-docs' of https…
shorowit Nov 7, 2025
4a48c2f
Use consistent text
shorowit Nov 7, 2025
d9e4ba8
Merge pull request #1532 from NREL/buildresidentialhpxml-options-base…
joseph-robertson Nov 10, 2025
a06a8a5
Sync with resstock-estimation branch.
joseph-robertson Nov 10, 2025
0d800d2
Update Water Heater Efficiency to reference automated lists for all s…
joseph-robertson Nov 10, 2025
c45f31c
Update dependencies files when there are no dependencies.
joseph-robertson Nov 10, 2025
41e6ed1
Update tex files for empty sources, assumptions, and dependencies.
joseph-robertson Nov 10, 2025
835d173
Update documentation.
Nov 10, 2025
1842dad
Fix special character in description.
joseph-robertson Nov 10, 2025
0ca833b
Remove properties paragraph from parent tex files.
joseph-robertson Nov 10, 2025
0688507
Update parent characteristic tex files for 3a.
joseph-robertson Nov 10, 2025
9b09659
Updates for special characters, and add a readme.
joseph-robertson Nov 10, 2025
b97e6b5
Merge branch 'buildresidentialhpxml-options-based-args-docs' of githu…
joseph-robertson Nov 10, 2025
888fac4
Update documentation.
Nov 10, 2025
61a25a5
Instead move new readme to existing readme.
joseph-robertson Nov 10, 2025
be5ee51
Merge branch 'buildresidentialhpxml-options-based-args-docs' of githu…
joseph-robertson Nov 10, 2025
184407b
Update parent characteristic tex files for 3b.
joseph-robertson Nov 11, 2025
64c2a7a
Update parent characteristic tex files for 3c.
joseph-robertson Nov 11, 2025
edb4af6
Sync with resstock-estimation.
joseph-robertson Nov 11, 2025
8078d62
Update parent characteristic for Electric Vehicle Miles Traveled.
joseph-robertson Nov 11, 2025
e0c35f5
Missed reference for ASHRAE Split.
joseph-robertson Nov 11, 2025
0d3aeec
Update the readme.
joseph-robertson Nov 11, 2025
11c41f0
Merge pull request #1505 from NREL/sdr_2025_Release_1
whiphi92 Nov 12, 2025
e858d2a
Sync with resstock-estimation.
joseph-robertson Nov 12, 2025
80ed1a4
Merge branch 'develop' into buildresidentialhpxml-options-based-args-…
joseph-robertson Nov 12, 2025
5a3497f
Update documentation.
Nov 12, 2025
4b11776
Sync with resstock-estimation.
joseph-robertson Nov 12, 2025
8500771
Merge branch 'buildresidentialhpxml-options-based-args-docs' of githu…
joseph-robertson Nov 12, 2025
3a30fc6
Update documentation.
Nov 12, 2025
552c3b1
Add option and upgrade for testing duct limited scenario.
joseph-robertson Nov 12, 2025
8eec7ea
Move fan efficiency adjustment method to ResStockArgumentsPostHPXML.
joseph-robertson Nov 12, 2025
51ca2b7
Update documentation.
Nov 12, 2025
80cea6d
SDR options analysis results.
Nov 13, 2025
70760e5
Baseline integration tests results.
Nov 13, 2025
9f17cdc
SDR integration tests results.
Nov 13, 2025
8baff8d
Update baseline airflow argument properties, and remove test upgrade …
joseph-robertson Nov 13, 2025
2b1dfb9
SDR options analysis results.
Nov 13, 2025
0925675
SDR integration tests results.
Nov 13, 2025
d10ef0d
Update config to remove sdr_annual results in case upgrades are removed.
joseph-robertson Nov 13, 2025
31b6666
Try various approaches for retrieving existing building.
joseph-robertson Nov 13, 2025
44c4978
Clean up debug lines.
joseph-robertson Nov 13, 2025
a71b984
Clean up more debug lines.
joseph-robertson Nov 13, 2025
a611be8
Only remove files from sdr_annual folder.
joseph-robertson Nov 13, 2025
25a18f8
Point national project back to resstock-estimation develop.
joseph-robertson Nov 13, 2025
3c3655b
Update characteristics tex files for 3a.
joseph-robertson Nov 13, 2025
3d3d507
Update documentation.
Nov 13, 2025
4daff0c
SDR integration tests results.
Nov 14, 2025
15eefa3
Merge pull request #1533 from NREL/fix-duct-limited
joseph-robertson Nov 14, 2025
8a9841c
Update characteristics tex files for 3b.
joseph-robertson Nov 14, 2025
67f4020
Update characteristics tex files for 3c.
joseph-robertson Nov 14, 2025
21819a5
Merge branch 'develop' into buildresidentialhpxml-options-based-args-…
joseph-robertson Nov 14, 2025
0662a45
Update documentation.
Nov 14, 2025
a3cc716
Remove the tables folder.
joseph-robertson Nov 14, 2025
c83b80a
Update tex files based on reverted tsv files.
joseph-robertson Nov 14, 2025
29eb15d
Update the readme based on the decision to not use tex files for desc…
joseph-robertson Nov 14, 2025
17a275d
Include the stock saturaion column in options tables for all parameters.
joseph-robertson Nov 14, 2025
06dc8c8
Remove options from options table with zero stock saturation.
joseph-robertson Nov 14, 2025
4ea4923
Try openstudio image for build-documentation.
joseph-robertson Nov 14, 2025
051c46d
Merge branch 'develop' into refactor-applyupgrade-posthpxml
joseph-robertson Nov 14, 2025
90b8406
Move duct limited method calls to ResStockArgumentsPostHPXML.
joseph-robertson Nov 14, 2025
a3b960c
Install pip.
joseph-robertson Nov 14, 2025
53dfb10
Move RunOSWs class with openstudio dependency into run_analysis.rb.
joseph-robertson Nov 14, 2025
c557f63
Remove openstudio image from build-documentation job.
joseph-robertson Nov 14, 2025
970b2a9
Move use existing method calls to ResStockArgumentsPostHPXML.
joseph-robertson Nov 17, 2025
43cb11e
Update tests so autosizing_limit does not need to be returned.
joseph-robertson Nov 17, 2025
8036639
Clean up comments.
joseph-robertson Nov 17, 2025
17b8b07
SDR options analysis results.
Nov 17, 2025
38d38df
Update heat pump upgrades docs for argument changes.
joseph-robertson Nov 17, 2025
ff4b68b
Update the readme. [ci skip]
joseph-robertson Nov 17, 2025
33c1c75
Remove resetting backup to defaults when existing heating system not …
joseph-robertson Nov 17, 2025
b0dbf82
SDR integration tests results.
Nov 17, 2025
22eefdc
Move and fix new_load assignments.
joseph-robertson Nov 18, 2025
60651fc
Merge pull request #1514 from NREL/buildresidentialhpxml-options-base…
joseph-robertson Nov 18, 2025
6b84e8c
Handle new load for Other service feeder type.
joseph-robertson Nov 18, 2025
c15b72e
Trigger ci.
joseph-robertson Nov 18, 2025
4f06eb8
Require openstudio from integrity checks test file in case test_build…
joseph-robertson Nov 18, 2025
96cf949
SDR integration tests results.
Nov 18, 2025
d87e710
Move set_hvac_systems for retaining capacity and autosizing factor.
joseph-robertson Nov 18, 2025
9edd942
Remove commented requires from ApplyUpgrade.
joseph-robertson Nov 18, 2025
81056b1
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 18, 2025
28ac025
Merge branch 'develop' into refactor-applyupgrade-posthpxml
joseph-robertson Nov 18, 2025
5b1ffd3
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 18, 2025
3e0ce4f
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 18, 2025
8a40b57
SDR integration tests results.
Nov 19, 2025
50507a6
Merge pull request #1538 from NREL/fix-ci
joseph-robertson Nov 19, 2025
7b91b25
Progress on new set_hvac_systems method in ResStockArgumentsPostHPXML.
joseph-robertson Nov 19, 2025
56cf720
Add autosizing_factor back in since lookup assigns these.
joseph-robertson Nov 19, 2025
ff68760
Update tests for retaining hvac capacities and autosizing factors.
joseph-robertson Nov 19, 2025
b773d16
Missed adding an autosizing_factor back in.
joseph-robertson Nov 19, 2025
3ea3ed1
Remove resource files in favor of class methods.
joseph-robertson Nov 19, 2025
2680e52
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 19, 2025
6a67387
Remove assignment of autosizing_factor before method.
joseph-robertson Nov 19, 2025
1048df4
Merge branch 'develop' into refactor-applyupgrade-posthpxml
joseph-robertson Nov 19, 2025
07ea48d
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 19, 2025
6622832
Revert class methods change.
joseph-robertson Nov 20, 2025
a14fab5
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 20, 2025
8526253
Prepare to move all ApplyUpgrade tests into ResStockArgumentsPostHPXML.
joseph-robertson Nov 20, 2025
4a7bec4
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 20, 2025
43c3d03
Clean up comments and variable names.
joseph-robertson Nov 20, 2025
ec90c07
Move set_electric_panel call after set_existing_system so that heat p…
joseph-robertson Nov 20, 2025
b843687
Update efficiency comparisons in set_hvac_systems.
joseph-robertson Nov 20, 2025
6558402
Update logic and comments.
joseph-robertson Nov 20, 2025
1056c8b
SDR integration tests results.
Nov 21, 2025
bba108f
Merge pull request #1536 from NREL/refactor-applyupgrade-posthpxml-panel
joseph-robertson Nov 21, 2025
ca931ea
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Nov 21, 2025
912e3e0
Bring assignment of autosizing factors back in.
joseph-robertson Nov 21, 2025
53d9808
SDR integration tests results.
Nov 21, 2025
f0c5bfb
Refine compressor_type check since it can be defaulted.
joseph-robertson Nov 21, 2025
291b1d3
SDR integration tests results.
Nov 21, 2025
d26e1f6
Default the upgraded HVAC so that we can compare more properties.
joseph-robertson Nov 24, 2025
1a0b330
Update unit tests after changes to set_hvac_systems method.
joseph-robertson Nov 24, 2025
50d461e
SDR integration tests results.
Nov 25, 2025
26a49aa
Adds process_metadata and Windows uv install to README
asparke2 Nov 25, 2025
36205e6
component load related changes - adding component loads to definition…
whiphi92 Nov 25, 2025
7287fb6
Merge remote-tracking branch 'origin/sdr_2025_release_1_postprocessin…
asparke2 Dec 1, 2025
e8d7623
Adds GISJOIN lookups for AK and HI
asparke2 Dec 1, 2025
ee378da
Simplify calls to process simulation outputs
asparke2 Dec 1, 2025
c5c2b66
Formatting fixes
asparke2 Dec 1, 2025
96f7741
Code cleanup
asparke2 Dec 3, 2025
01ee649
Remove run_measure argument from ApplyUpgrade and run_analysis.
joseph-robertson Dec 3, 2025
325303f
Point config and yml files to new branch and workflow generator.
joseph-robertson Dec 3, 2025
b6e0f4d
Bump expected wfg version.
joseph-robertson Dec 3, 2025
cb3e1b1
Replace docker with openstudio install in config.
joseph-robertson Dec 5, 2025
da32b3f
Clean up tasks.rb.
joseph-robertson Dec 5, 2025
e164548
Remove gemfiles and rakefile.
joseph-robertson Dec 5, 2025
87fe59a
Switch bsb branch back to develop in config.
joseph-robertson Dec 5, 2025
bcc15e9
Create a task to run all unit tests.
joseph-robertson Dec 5, 2025
8b4b2ca
Baseline integration tests results.
Dec 5, 2025
5eaf96c
Require json in test_run_analysis.rb.
joseph-robertson Dec 5, 2025
9de235a
Update the docs. [ci skip]
joseph-robertson Dec 5, 2025
f273448
Merge pull request #1543 from NREL/run_measure_arg
joseph-robertson Dec 5, 2025
44eec8c
SDR integration tests results.
Dec 5, 2025
1c00cba
Merge branch 'develop' into os_cli_on_ci
joseph-robertson Dec 8, 2025
7ca7d32
Minor cleanup suggestion.
joseph-robertson Dec 8, 2025
9c91404
Merge branch 'develop' into refactor-applyupgrade-posthpxml
joseph-robertson Dec 8, 2025
aec562d
Merge pull request #1544 from NREL/os_cli_on_ci
joseph-robertson Dec 8, 2025
1951ace
Merge branch 'develop' into refactor-applyupgrade-posthpxml
joseph-robertson Dec 8, 2025
52cdbe1
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Dec 8, 2025
e765053
Record existing HVAC system in ApplyUpgrade; use it in ResStockArgume…
joseph-robertson Dec 8, 2025
640c523
SDR integration tests results.
Dec 8, 2025
a83ccf8
Update and fix ApplyUpgrade tests.
joseph-robertson Dec 8, 2025
f93f9d0
Merge branch 'refactor-applyupgrade-posthpxml' into refactor-applyupg…
joseph-robertson Dec 8, 2025
b64b519
SDR integration tests results.
Dec 9, 2025
83f1dc7
Merge pull request #1539 from NREL/refactor-applyupgrade-posthpxml-hvac
joseph-robertson Dec 9, 2025
bc033b6
Merge pull request #1534 from NREL/refactor-applyupgrade-posthpxml
joseph-robertson Dec 10, 2025
6a3a823
Merge remote-tracking branch 'origin/develop' into sdr_2025_release_1…
asparke2 Dec 11, 2025
82686bc
Merge pull request #1509 from NREL/sdr_2025_release_1_postprocessing
asparke2 Dec 12, 2025
fed5286
Renames across license, readme, docs, measures, projects, resources, …
joseph-robertson Jan 5, 2026
bd2c92d
Typo.
joseph-robertson Jan 7, 2026
be8b36e
Remove BTO reference
Jan 8, 2026
c937b6a
Merge pull request #1547 from NatLabRockies/org_rename
joseph-robertson Feb 25, 2026
095d84a
Bring down to 2025 Release 1, add in Cala specific options in options…
jmaguire1 Apr 1, 2026
2156349
update repo
lixiliu Apr 4, 2026
ea8f752
update yml
lixiliu Apr 4, 2026
cc0b898
update cala buildstock file
lixiliu Apr 4, 2026
611a180
update yaml
lixiliu Apr 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
91 changes: 39 additions & 52 deletions .github/workflows/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ concurrency:
env:
OPENSTUDIO_VER: 3.10.0
OPENSTUDIO_SHA: 86d7e215a1
OPENSTUDIO_PLATFORM: Ubuntu-22.04-x86_64
OPENSTUDIO_PLATFORM: Ubuntu-24.04-x86_64
OPENSTUDIO_EXT: deb
OPENSTUDIO_URL: https://github.com/NREL/OpenStudio/releases/download/v3.10.0
BUILDSTOCK_BATCH_BRANCH: develop
BUILDSTOCK_QUERY_BRANCH: main

jobs:
format-files:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
Expand All @@ -47,20 +47,14 @@ jobs:
if-no-files-found: error

unit-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [format-files]
container:
image: docker://nrel/openstudio:3.10.0
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}

- name: Install gems
run: |
rm -f Gemfile.lock && bundle install

- name: Install python
shell: bash
run: |
Expand All @@ -79,17 +73,16 @@ jobs:
path: resources
name: options_lookup

- name: Run integrity checks for all projects
run: |
bundle exec rake unit_tests:project_integrity_checks

- name: Run all integrity check unit tests
- name: Download and Install OpenStudio
run: |
bundle exec rake unit_tests:integrity_check_tests
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
wget -q $OPENSTUDIO_URL/$OS_DEBFILE
sudo apt install -y ./$OS_DEBFILE
rm ./$OS_DEBFILE

- name: Run all measure tests
- name: Run unit tests
run: |
bundle exec rake unit_tests:measure_tests
openstudio tasks.rb unit_tests

- name: Generate precomputed buildstocks
run: |
Expand All @@ -109,15 +102,8 @@ jobs:
path: resources/buildstock.csv
if-no-files-found: error

- name: Store code coverage
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage
if-no-files-found: error

postprocessing-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
Expand All @@ -144,8 +130,8 @@ jobs:
uv run pytest tests

build-documentation:
runs-on: ubuntu-22.04
needs: format-files
runs-on: ubuntu-24.04
needs: [format-files]
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
Expand Down Expand Up @@ -173,10 +159,10 @@ jobs:
pip install changelog
make html SPHINXOPTS="-W --keep-going -n"

- name: Technical reference guide tables
- name: Technical reference guide sections
run: |
sudo gem install oga
ruby docs/technical_reference_guide/tables/create_characteristics_tex.rb
ruby docs/technical_reference_guide/characteristics/create_characteristics_tex.rb

- name: Build technical reference guide
uses: dante-ev/latex-action@2023-A
Expand Down Expand Up @@ -210,20 +196,14 @@ jobs:
fi

analysis-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [unit-tests]
container:
image: docker://nrel/openstudio:3.10.0
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}

- name: Install gems
run: |
rm -f Gemfile.lock && bundle install

- name: Install python
shell: bash
run: |
Expand All @@ -248,9 +228,16 @@ jobs:
path: test/tests_yml_files
name: precomputed_buildstocks

- name: Download and Install OpenStudio
run: |
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
wget -q $OPENSTUDIO_URL/$OS_DEBFILE
sudo apt install -y ./$OS_DEBFILE
rm ./$OS_DEBFILE

- name: Run run_analysis.rb
run: |
bundle exec rake workflow:analysis_tests
openstudio test/test_run_analysis.rb

- name: Upload run_analysis.rb results
uses: actions/upload-artifact@v4
Expand All @@ -262,7 +249,7 @@ jobs:
if-no-files-found: error

integration-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [unit-tests]
steps:
- name: Checkout base branch
Expand Down Expand Up @@ -294,8 +281,7 @@ jobs:
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
wget -q $OPENSTUDIO_URL/$OS_DEBFILE
sudo apt install -y ./$OS_DEBFILE
openstudio openstudio_version
which openstudio
rm ./$OS_DEBFILE

- name: Clone and install buildstockbatch repository
run: |
Expand Down Expand Up @@ -427,7 +413,7 @@ jobs:
if-no-files-found: error

compare-tools:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [analysis-tests, integration-tests]
steps:
- name: Checkout feature branch
Expand Down Expand Up @@ -455,20 +441,14 @@ jobs:
ruby test/test_analysis_tools.rb

sdr-options-analysis:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [unit-tests]
container:
image: docker://nrel/openstudio:3.10.0
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref || github.ref_name }}

- name: Install gems
run: |
rm -f Gemfile.lock && bundle install

- name: Install python
shell: bash
run: |
Expand All @@ -486,6 +466,13 @@ jobs:
run: |
python3 -m pip install git+https://github.com/NREL/buildstock-query.git@$BUILDSTOCK_QUERY_BRANCH

- name: Download and Install OpenStudio
run: |
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
wget -q $OPENSTUDIO_URL/$OS_DEBFILE
sudo apt install -y ./$OS_DEBFILE
rm ./$OS_DEBFILE

- name: Generate 550K Sample
run: |
openstudio resources/run_sampling.rb -p project_national -n 550000 -o ../project_national/resources/national_550ksamples.csv
Expand Down Expand Up @@ -588,7 +575,7 @@ jobs:
fi

sdr-integration-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
needs: [sdr-options-analysis]
steps:
- name: Checkout feature branch
Expand Down Expand Up @@ -618,8 +605,7 @@ jobs:
export OS_DEBFILE="OpenStudio-$OPENSTUDIO_VER+$OPENSTUDIO_SHA-$OPENSTUDIO_PLATFORM.$OPENSTUDIO_EXT"
wget -q $OPENSTUDIO_URL/$OS_DEBFILE
sudo apt install -y ./$OS_DEBFILE
openstudio openstudio_version
which openstudio
rm ./$OS_DEBFILE

- name: Download formatted options_lookup
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -700,6 +686,7 @@ jobs:
branch_name="${{ github.head_ref || github.ref_name }}"
git checkout resources/options_lookup.tsv
git pull --ff-only --no-tags --depth=3 origin $branch_name
rm -rf test/base_results/upgrades/sdr_annual/*
cp -r project_national/sdr_upgrades_amy2018/results_csvs_pub/* test/base_results/upgrades/sdr_annual
git add test/base_results/upgrades/sdr_annual
git status
Expand Down Expand Up @@ -748,7 +735,7 @@ jobs:
if-no-files-found: error

standard-plots-tests:
runs-on: ubuntu-22.04
runs-on: ubuntu-24.04
steps:
- name: Checkout feature branch
uses: actions/checkout@v4
Expand Down
12 changes: 0 additions & 12 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
# Project-specific files
/project_national/national_baseline
/project_national/sdr_upgrades_tmy3*
/project_national/sdr_upgrades_amy2018*
/project_testing/testing_baseline
/national_baseline
/testing_baseline
Expand All @@ -30,22 +29,11 @@ buildstockbatch_crash_details.log
/weather

# Development environment and system files
.idea/
.vscode/
node_modules/
.DS_Store
**/.ipynb_checkpoints/*
**/.bsq_cache/

# Data directories
**/data/*

# Python virtual environments
**/.venv/

# Python compiled files
**/*.pyc
**/__pycache__/
# Postprocessing build outputs
/postprocessing/build/
/postprocessing/resstockpostproc.egg-info/
21 changes: 10 additions & 11 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,13 @@

source 'http://rubygems.org'

# Use version of gems that matches OS CLI (openstudio gem_list)
gem 'oga', '3.2'
gem 'rake', '13.2.1'
gem 'matrix', '0.4.3'
gem 'minitest', '5.14.4'
gem 'minitest-reporters', '1.4.3'
gem 'msgpack', '1.7.2'
gem 'parallel', '1.19.2'
gem 'simplecov', '0.22.0'
gem 'simplecov-html', '0.13.1'
gem 'rubyzip', '2.3.2'
gem 'oga'
gem 'rake'
gem 'matrix'
gem 'minitest', '5.15'
gem 'minitest-reporters'
gem 'msgpack'
gem 'parallel'
gem 'simplecov'
gem 'simplecov-html'
gem 'rubyzip'
38 changes: 19 additions & 19 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@ GEM
remote: http://rubygems.org/
specs:
ansi (1.5.0)
ast (2.4.3)
builder (3.3.0)
docile (1.4.1)
matrix (0.4.3)
minitest (5.14.4)
minitest-reporters (1.4.3)
ast (2.4.2)
builder (3.2.4)
docile (1.4.0)
matrix (0.4.2)
minitest (5.15.0)
minitest-reporters (1.6.1)
ansi
builder
minitest (>= 5.0)
ruby-progressbar
msgpack (1.7.2)
oga (3.2)
oga (3.4)
ast
ruby-ll (~> 2.1)
parallel (1.19.2)
parallel (1.24.0)
rake (13.2.1)
ruby-ll (2.1.3)
ansi
Expand All @@ -27,23 +27,23 @@ GEM
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov_json_formatter (~> 0.1)
simplecov-html (0.13.1)
simplecov-html (0.12.3)
simplecov_json_formatter (0.1.4)

PLATFORMS
x64-mingw-ucrt

DEPENDENCIES
matrix (= 0.4.3)
minitest (= 5.14.4)
minitest-reporters (= 1.4.3)
msgpack (= 1.7.2)
oga (= 3.2)
parallel (= 1.19.2)
rake (= 13.2.1)
rubyzip (= 2.3.2)
simplecov (= 0.22.0)
simplecov-html (= 0.13.1)
matrix
minitest (= 5.15)
minitest-reporters
msgpack
oga
parallel
rake
rubyzip
simplecov
simplecov-html

BUNDLED WITH
2.4.10
Loading
Loading