Enhance AWHP plant template to support 4-pipe heat pumps - #4657
Draft
AntoineGautier wants to merge 103 commits into
Draft
Enhance AWHP plant template to support 4-pipe heat pumps#4657AntoineGautier wants to merge 103 commits into
AntoineGautier wants to merge 103 commits into
Conversation
…elica-buildings into issue4512_polyvalentHpPlant
…elica-buildings into issue4512_polyvalentHpPlant
…elica-buildings into issue4512_polyvalentHpPlant
- This avoids OCT solver failure while still allowing validating the hydronics.
…elica-buildings into issue4512_polyvalentHpPlant
- WARNING: Includes major changes in configuration parameters.
…ssue4512_polyvalentHpPlant
- Would require unequally sized primary pumps with a staging matrix.
- The opposite 'have_pumPriComHp' is not specific enough.
…ssue4512_polyvalentHpPlant
…ssue4512_polyvalentHpPlant
E.g. `Plants.HeatPumps_combin0`
…ssue4512_polyvalentHpPlant
AntoineGautier
force-pushed
the
issue4512_polyvalentHpPlant
branch
from
July 14, 2026 08:15
8ead0f0 to
b003936
Compare
Contributor
Author
|
TODO before merging:
|
AntoineGautier
force-pushed
the
issue4512_polyvalentHpPlant
branch
from
July 16, 2026 13:57
0fedc56 to
d5312aa
Compare
AntoineGautier
force-pushed
the
issue4512_polyvalentHpPlant
branch
from
July 17, 2026 06:10
d5312aa to
f281352
Compare
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.
Draft PR until ibpsa/modelica-ibpsa#2162 is merged and propagated into MBL – that bug makes the CI tests fail (https://app.travis-ci.com/github/lbl-srg/modelica-buildings/jobs/640348265#L918).
This addresses #4512, with one exception: plants with modular polyvalent HP are not yet supported. Instead, the controller implements staging and valve/pump control logic for an arbitrary number of polyvalent HP. This reproduces the functionality of a modular polyvalent HP, just with the control logic hosted in the BAS instead of the HP onboard controller. The validation model
Buildings.Templates.Plants.HeatPumps.Validation.AirToWaterPolyvalentreproduces the same plant layout as G36 Addendum L Figure A-35 (Primary-Only Modular Air-to-water Heat Pump/Chiller Plant), using individual polyvalent units instead of a single modular system.The Python script
Buildings/Resources/Scripts/travis/templates/Plants.HeatPumps.pyhas been updated to test all valid plant configurations.The validation models for several refactored control blocks (and therefore the main controller and the template model) fail to compile with OCT, due to ibpsa/modelica-ibpsa#2136 (to be addressed soon).
Most of the existing Extension Blocks under
Buildings.Templates.Plants.Controlshave also been refactored using only CDL Elementary Blocks.There is only a single remaining Extension Block:
Buildings.Templates.Plants.Controls.Utilities.StageIndexBuildings.Templates.ZoneEquipment.Validation.VAVBoxCoolingOnlyOn the master branch (0192839), this model is not excluded in
conf.yml.However, it fails to translate with OMC on this feature branch (14d4519).
Considering the changed files, I cannot explain why this fails.
Curiously, when checking out this model from the master branch, it also fails to translate: see the log below.
The similar model
Buildings.Templates.ZoneEquipment.Validation.VAVBoxReheatis already excluded inconf.yml.I also excluded
VAVBoxCoolingOnlyin the latest commit 8ead0f0.