-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue2859 dual source TES #2899
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a first round of review, which was mostly around understanding the model and how it works. It would be easier to read if you could separate the control logic in its own controller, and also rename valve 1/2 and pump 1/2 with actual descriptor of their role, like "Discharge/Charge valve" and "Tank/Chiller pumps" for instance (although if you have a better suited name, go ahead).
Do you want me to also comment on the draft models or are you still working on those?
@bravache |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still need to get to the ChillerBranch
, the controller and the two large example, but we are getting there with this review. It's a lot of nit picky, mostly style comment, but I think the form is approaching the final stage.
Buildings/Fluid/Storage/Plant/Validation/BaseClasses/PartialTankBranch.mo
Outdated
Show resolved
Hide resolved
The check valves were removed because of numerical issues and control logics were designed to prevent substantial back flow at the supply pump. However, these logics have been found to be incompatible with the main control objectives. In the meantime, because the numerics of the models have been substantially improved with extensive use of junction models, the check valve no longer causes OPTIMICA to fail simulation. This is then thought to be a simpler solution than convoluted control logic.
This simplifies the model. After this change, DualSource can be simulated in OPTIMICA.
A mistake is corrected where the density of air instead of water was used to convert mass flow rate to volumetric flow rate. The following command was run under the Plant folder: sed -i 's/1\.2\*{0,2}/1000*{0,2}/g' $(find . -iname '*.mo')
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hcasperfu has resolved my comments, thank you. @hcasperfu Just please update the release notes to include the new models. @mwetter This is ready for a final review by you.
- Update release notes.
@hcasperfu One thing I forgot to mention actually. Please update the release notes to include the new models. |
Changes to this file are now under the scope of #3470.
@mwetter - |
@mwetter -
Cheers. |
This closes #2859.
A draft model of the system and most of its control objectives described in the issue post are implemented in
Buildings.Fluid.Storage.Plant
(but it may be more suitable somewhere else in the library).The control objective not yet implemented is that P2 (supply pump of chiller + tank) being able to compensate P1 (supply pump of chiller only) when needed. It also assumes that the tank is closed (i.e. not exposed to the atmosphere) to avoid system pressurisation issues for now.