Skip to content

Commit

Permalink
2024 Release 1 Postprocessing Updates (#150)
Browse files Browse the repository at this point in the history
* Reenables long format data export in postprocessing

* Updates the segments, fixes #86

* Fixes bad syntax

* Reload and write files per-upgrade to handle larger datasets

* Replace failed runs in upgrade with baseline results, adds failure summary

* Fixed dtype handling for utility bills

* Sorts results parquets for comstockpostproc load data

* Bump kaleido

* Updates basic metadata fields per @laurenklun

* Sorts results parquets for comstockpostproc reload_from_csv

* Adds enumeration definitions for failed and invalid runs

* Fills NAs in CEJST columns

---------

Co-authored-by: Andrew Parker <[email protected]>
Co-authored-by: Andrew Parker <[email protected]>
Co-authored-by: Wenyi Kuang <[email protected]>
  • Loading branch information
4 people authored Apr 4, 2024
1 parent 61f4bcb commit c929ffa
Show file tree
Hide file tree
Showing 6 changed files with 518 additions and 203 deletions.
567 changes: 439 additions & 128 deletions postprocessing/comstockpostproc/comstock.py

Large diffs are not rendered by default.

20 changes: 11 additions & 9 deletions postprocessing/comstockpostproc/naming_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,15 @@ class NamingMixin():

# Addressable segment columns
SEG_A = 'A: Non Food-Service Buildings with Small Packaged Units'
SEG_B = 'B: Food-Service, Freestanding and in Strip Malls with Small Packaged Units'
SEG_C = 'C: Buildings with Hydronically Heated Multizone Systems'
SEG_D = 'D: Lodging with Zone-by-Zone Systems'
SEG_E = 'E: Buildings with Electric Resistance Multizone Systems'
SEG_F = 'F: Buildings with Furnace-Based Multizone Systems'
SEG_G = 'G: Buildings with Residential Style Central Systems'
SEG_H = 'H: Non-Lodging Buildings with Zone-by-Zone Systems'
SEG_I = 'I: Other'
SEG_B = 'B: Food-Service Buildings with Small Packaged Units'
SEG_C = 'C: Strip Malls with some Food-Service with Small Packaged Units'
SEG_D = 'D: Buildings with Hydronically Heated Multizone Systems'
SEG_E = 'E: Lodging with Zone-by-Zone Systems'
SEG_F = 'F: Buildings with Electric Resistance Multizone Systems'
SEG_G = 'G: Buildings with Furnace-Based Multizone Systems'
SEG_H = 'H: Buildings with Residential Style Central Systems'
SEG_I = 'I: Non-Lodging Buildings with Zone-by-Zone Systems'
SEG_J = 'J: Other'

# List of addressable segments
COLS_SEGMENTS = [
Expand All @@ -220,7 +221,8 @@ class NamingMixin():
SEG_F,
SEG_G,
SEG_H,
SEG_I
SEG_I,
SEG_J
]

# List of total annual energy columns
Expand Down
Loading

0 comments on commit c929ffa

Please sign in to comment.