Addressed Reporting Problem in LEED Renewable Energy Source Summary Table#11225
Merged
Addressed Reporting Problem in LEED Renewable Energy Source Summary Table#11225
Conversation
Contributor
Author
Nigusse
commented
Sep 24, 2025
Contributor
Author
Nigusse
left a comment
There was a problem hiding this comment.
The results of Photovoltaic and PVWatts generator types are aggregated for LEED Summary report in table L-1. Renewable Energy Source Summary.
| if (lc->numGenerators > 0) { | ||
| for (auto const &g : lc->elecGenCntrlObj) { | ||
| if (g->generatorType == GeneratorType::PV) { | ||
| if ((g->generatorType == GeneratorType::PV) || (g->generatorType == GeneratorType::PVWatts)) { |
Contributor
Author
There was a problem hiding this comment.
Now, results of Generator:Photovoltaic and Generator:PVWatts generator types are aggregated in the L-1. Renewable Energy Source Summary table for LEED Summary Report.
| auto &orp = *state->dataOutRptPredefined; | ||
| EXPECT_EQ("10.00", RetrievePreDefTableEntry(*state, orp.pdchLeedRenRatCap, "Photovoltaic")); | ||
| EXPECT_EQ("0.00", RetrievePreDefTableEntry(*state, orp.pdchLeedRenAnGen, "Photovoltaic")); | ||
| } |
Contributor
Author
There was a problem hiding this comment.
Added a unit test to demonstrate the change.
mitchute
approved these changes
Sep 26, 2025
Collaborator
mitchute
left a comment
There was a problem hiding this comment.
Nice quick fix. Ready to go here.
Contributor
Author
|
Thanks @mitchute |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Pull request overview
Description of the purpose of this PR
Pull Request Author
Reviewer