Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Electric panel, follow-up#1370

Merged
afontani merged 17 commits into
developfrom
remove-meter-based
Apr 24, 2025
Merged

Electric panel, follow-up#1370
afontani merged 17 commits into
developfrom
remove-meter-based

Conversation

@joseph-robertson

@joseph-robertson joseph-robertson commented Mar 28, 2025

Copy link
Copy Markdown
Contributor

Pull Request Description

This PR:

  • Removes meter-based calculations since we currently aren't passing baseline peak electricity into upgrade simulations.
  • Fixes a bug related to not using only applicable measure arguments for (1) determining whether to retain HVAC system sizes and (2) identifying new electric panel loads. See comment below.
  • Adds the baseline results csv file from the SDR upgrades yml in the artifacts upload.

Related Pull Requests

[related PRs from different repositories]

Related Issues

[What issue(s) is the PR addressing]

Checklist

Required:

Optional (not all items may apply):

@joseph-robertson joseph-robertson added this to the ResStock v3.5.0 milestone Mar 28, 2025
@joseph-robertson joseph-robertson self-assigned this Mar 28, 2025
end

# Save the hash of applicable upgrade measure arguments
upgrade_args_hash = measures['ResStockArguments'][0].clone

@joseph-robertson joseph-robertson Mar 31, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Using only applicable arguments (i.e., only those arguments corresponding to options that meet the apply logic) fixes a bug related to:

  • retaining HVAC system sizes; previously, it was possible that an HVAC system was being re-sized if (1) an HVAC option didn't meet apply logic (i.e., was being retained), (2) the upgrade system type was the same as the baseline system type (e.g., ASHP to ASHP), and (3) the upgrade included changes in design loads (e.g., envelope). I wouldn't expect much of an impact here since we're now "oversizing" vs. previously sizing to meet the load (assuming previous re-size was a reduction)?
  • identifying new electric panel loads; previously, existing loads could be set as new loads in the upgrade building even if they weren't actually being added/upgraded (e.g., electric clothes dryer)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Am I interpreting correctly that the bug also affected the load-based calculation?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Yes.

@joseph-robertson joseph-robertson changed the title Electric panel, disable meter-based outputs Electric panel, follow-up Mar 31, 2025
Comment thread measures/ResStockArguments/measure.rb
@joseph-robertson joseph-robertson marked this pull request as ready for review April 1, 2025 15:18
@lixiliu

lixiliu commented Apr 11, 2025

Copy link
Copy Markdown
Contributor

Confirmed the bug has been fixed.

Comment thread measures/ApplyUpgrade/measure.rb

@lixiliu lixiliu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Run with this branch produces results that were more aligned with expectation. Spot-checking also checks out.

@afontani

Copy link
Copy Markdown
Contributor

Run with this branch produces results that were more aligned with expectation. Spot-checking also checks out.

Thanks @lixiliu

@afontani afontani self-requested a review April 24, 2025 02:30
@afontani afontani merged commit 55588b1 into develop Apr 24, 2025
@afontani afontani deleted the remove-meter-based branch April 24, 2025 02:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants