Skip to content

CEDARS hourly output post processing scripts update (New Feature)#133

Open
lyt5410 wants to merge 28 commits intosound-data:mainfrom
lyt5410:CEDARS_long_output_update
Open

CEDARS hourly output post processing scripts update (New Feature)#133
lyt5410 wants to merge 28 commits intosound-data:mainfrom
lyt5410:CEDARS_long_output_update

Conversation

@lyt5410
Copy link
Copy Markdown
Collaborator

@lyt5410 lyt5410 commented Dec 24, 2025

Pull Request (PR) Description

NOTE: SUBMIT A PLAN TO DEER SUPPORT PRIOR TO WORKING ON CODE FOR A MEASURE, FEATURE, OR BUG TO BE CONNECTED WITH OTHERS WORKING ON THE SAME ISSUE OR TO RECEIVE FEEDBACK ON YOUR PROPOSED METHOD

New Feature Summary

This is the update to 4 existing post-processing python scripts and accompanying data tables in the folder scripts\data transformation to produce hourly loadshape with CEDARS desired format in addition to their original functionality.

Updated the following scripts:

  • SFm.py
  • MFm.py
  • DMo.py
  • Com.py

Additional output table(s) that will be created by the update:

  • CEDARS_long_ls_SFm.zip
  • CEDARS_long_ls_MFm.zip
  • CEDARS_long_ls_DMo.zip
  • CEDARS_long_ls_Com.zip

Related data tables updates:

  • normalizing unit related updates in DEER_EnergyPlus_Modelkit_Measure_list_working.xlsx
  • normalizing unit related updates in Normunits.xlsx

These were developed using the following test run cases in the Modelkit system:

For SFm:
residential measures\SWBE013-01 Efficient Doors\SWBE013-01 Efficient Doors_SFm_1975

  • climate zones: CZ08, CZ09
  • cohort: SFm&1&rDXHP&Ex&BldgShell, SFm&2&rDXHP&Ex&BldgShell
  • cases: RB-BldgShell-Door-Ex, RB-BldgShell-addDoorEff

residential measures\SWBE013-01 Efficient Doors\SWBE013-01 Efficient Doors_SFm_1985

  • climate zones: CZ10, CZ11
  • cohort: SFm&1&rDXHP&Ex&BldgShell, SFm&2&rDXHP&Ex&BldgShell
  • cases: RB-BldgShell-Door-Ex, RB-BldgShell-addDoorEff

For MFm:
residential measures\SWBE013-01 Efficient Doors\SWBE013-01 Efficient Doors_MFm_Ex

  • climate zones: CZ02, CZ03, CZ04
  • cohort: MFm&0&rDXGF&Ex&BldgShell, MFm&0&rDXHP&Ex&BldgShell
  • cases: RB-BldgShell-Door-Ex, RB-BldgShell-addDoorEff

For DMo:
residential measures\SWBE013-01 Efficient Doors\SWBE013-01 Efficient Doors_DMo

  • climate zones: CZ02, CZ03
  • cohort: DMo&0&rDXGF&Ex&BldgShell, DMo&0&rDXHP&Ex&BldgShell
  • cases: RB-BldgShell-Door-Ex, RB-BldgShell-addDoorEff

For Com:
commercial measures\SWHC024-06 Fan Belt\SWHC024-06 Fan Belt_Ex

  • climate zones: CZ02, CZ03
  • cohort: (all available bldgtype cohorts)
  • cases: NE-HVAC-FanBelt-SynchVBelt-Msr, NE-HVAC-FanBelt-VBelt-Std

PR Author

  • Make sure the PR branch is up to date with main branch at the time of the PR submission
  • Craft a succinct title that effectively encapsulates the essence of the pull request, providing a general overview of the proposed changes.
  • Label the PR with at least one of the following: New Measure, Bug, or Feature.
  • Provide a concise description of the measure, bug, or feature. Submit one PR per measure.
  • For a new measure, attach a workbook named DEER_EnergyPlus_Modelkit_Measure_list_working.xlsx, containing only rows used for post-processing the measure.
  • Add comments in the code when necessary to facilitate the review process.
  • Add a comment before the added code, including the author's full name, company, and specifying if it's a bug fix, new measure, or feature.
  • For a new feature or bug, demonstrate the impact on energy consumption for selected cases with justification using plots and descriptions.
  • For a new measure, add a summary table showing total energy consumption per simulated case.

PR Reviewer

  • Conduct a thorough code review.
  • If the branch is behind the main, merge the branch locally to check for potential conflicts.
  • If a bug, locally reproduce it and compare energy consumptions before and after.
  • Explore creative ways to stress-test the code.
  • Locally check the error file and other outputs.

Liang added 5 commits December 17, 2025 21:34
Updated DMo CEDARS 8760 output and relevant tables
final updates for CEDARS formatted 8760 output
updates for CEDARS formatted 8760 output
updates for CEDARS formatted 8760 output
@lyt5410 lyt5410 marked this pull request as ready for review December 24, 2025 00:01
@lyt5410 lyt5410 marked this pull request as draft January 16, 2026 02:33
Liang and others added 2 commits January 27, 2026 15:56
handle if there are no available normalizing units, and tested all Com building types using Econ controls measure
@lyt5410 lyt5410 marked this pull request as ready for review January 28, 2026 00:08
@lyt5410 lyt5410 marked this pull request as draft January 28, 2026 00:26
Liang and others added 19 commits February 10, 2026 22:41
normunit updates, helper function to extract starting day of week for simulation for CEDARS format
Normunit updates (placeholder value for Commercial Cap-tons)
Helper function to extract starting day of week (for Source Year) for simulation for CEDARS format
Rearranged CEDARS code snippet position for better traceability
Updated gitignore for generated outputs
deleting generated files to the commit
…est.csv

deleting generated files to the commit
deleting generated files to the commit
deleting generated files to the commit
deleting generated files to the commit
deleting generated files to the commit
deleting generated files to the commit
@lyt5410 lyt5410 marked this pull request as ready for review March 16, 2026 03:53
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.

1 participant