CHP load-following and absorption-chiller-only dispatch strategies#577
CHP load-following and absorption-chiller-only dispatch strategies#577
Conversation
|
@Bill-Becker this is ready for your review! I'm still crafting a test case for the false CHP DomesticHotWater load requirement in #576 but playtesting showed it worked... not sure if the specific instance requiring your workaround is available but I can try that if you have it. The failing tests in the most recent push are currently the PVWatts tests on actions and not related to this PR. Only other note is that the storage doesn't have a variable sending to the absorption chiller at the moment - I think that may make this incomplete as a result. I'm working on that right now. (API dev will be done on this shortly, too.) |
…_absorption_chiller_only is true
…nths_serving_absorption_chiller_onlyby
Added new optional attributes for CHP object and fixed a bug related to DomesticHotWater load.
My understanding was that only if the is_electric_only argument is true, then it would use the electric load params for sizing. Otherwise, it should use the avg heating load. Is that not what you're seeing? |
That's my understanding. I think the question is this: the heuristic currently sizes according to (1) only the electric load, or (2) only the thermal load. Is there a case in which you would want to look at both the electric and thermal loads for heuristic sizing, whether it's the lower or higher of the two that informs it? If the answer is "no" then no further adjustments are required and this is ready for your re-review. |
I'm sure there's a way to smartly consider both, but for now let's just leave it as one or the other. Thanks! |
…uses infeasiblity.
…thly timesteps (not all timesteps)
…_class, etc Refactor chiller_efficiency -> absorption_chiller_cop Fix accounting for CHP thermal efficiency in cooling sizing calc
…thermal efficiency fix
|
@zolanaj I re-reviewed by testing, and I made some updates based on that testing, described below (thanks co-pilot for summarizing!). I added more tests. Please review the updates. In particular, let me know if the 3rd section down on "CHP Results Double-Counting Absorption Chiller Heat" was intentional and related to preserving backward compatibility for heating load results. I'll check on CI tests and help debug any failing ones, and I'll approve after you review my updates. min_turn_down_fraction Conflicts with Load-FollowingIssue: When Fix Implemented: Added preprocessing validation in CHP constructor that throws error when Location: Tests: Added a test that confirms this error is thrown. Absorption Chiller Monthly Constraint BugIssue: In Fix Implemented: Modified constraint to only fix heating variables during Location: Tests: Added a test for specific monthly restrictions CHP Results Double-Counting Absorption Chiller HeatIssue: Evidence: Test violations showed Fix Implemented: Added Location: Tests:: The tests I added were failing until this update was made.Cooling Load Integration for CHP Heuristic SizingEnhancement: Extended CHP sizing heuristic to account for cooling loads served by absorption chillers, enabling more accurate CHP sizing when thermal output serves both heating and cooling demands. Implementation:
Location:
Tests: Added Case 4 test in "CHP Sizing Heuristic" testset verifying that full Scenario construction with CHP + AbsorptionChiller produces same sizing as direct function call with equivalent parameters. |
…he thermal-to-load results
…w from thermal-to-load results
@Bill-Becker thanks very much for all of this! I added one additional change to separate absorption chiller flows from the thermal_to_load results that are in aggregate (not sure if they are used anymore but the same logic should apply to the individual loads). I also updated that changelog to note that heat flows to the absorption chiller are no longer included in the thermal_to_load results. I approve of all of your changes. Assuming I didn't break any tests, this should be ready for approval. |
…iller flows and add absorption chiller tests
…ion chiller results calc
Added new optional attributes for CHP object and updated results for heating technologies. Fixed bugs related to CHP system and thermal heating load.
Added new optional attributes for CHP object and new results for heating technologies, including storage to absorption chiller series.
|
@Bill-Becker while adding the storage-to-chiller flows I noticed the steam turbine flows counted toward the load, which is inconsistent with the heating technologies - I believe @adfarth has introduced this in the past. A fix for that is included in the latest commits and all tests are passing now! |
Please check if the PR fulfills these requirements
Added
falsefor both attributes.Changed
Fixed