Conversation
Issue3492 direct evaporative cooler
…porative cooler calculations
…veCooler Issue3492 direct evaporative cooler
…m/lzwang26/modelica-buildings into issue3492_DirectEvaporativeCooler
Finalized the model clean up and documentation.
…veCooler Issue3492 direct evaporative cooler
|
@mwetter Would you please let us know if the new model |
|
@JayHuLBL : Thanks for checking. Yes the block should be moved. And its output |
Thanks! We will change it. |
|
@karthikeyad-pnnl This PR looks good to me. Can you double-check if everything looks good to you? Otherwise, we can ask Michael to review. |
|
@JayHuLBL Thank you! I will get back to you shortly after review |
|
@karthikeyad-pnnl Is it ready for Michael's review? |
…ler' into issue3492_DirectEvaporativeCooler
…ativeCooler Issue3492 direct evaporative cooler
|
@mwetter It's ready for review. |
There was a problem hiding this comment.
I don't see how to realistically use these components as the evaporative cooling is always operating. I expect users use these components as part of an air handler unit, in which case the evaporative cooling would not be operating if the system is in heating mode. Therefore, we need to add control input that allows modulating the humidification.
Moreover, the comment about advanced users being able to change the components of the Direct model does not make sense. It also makes me wonder if this is a generic component or whether it is for a particular product, yet it exposes the depth and area, which makes me think it can be changed. However, it is not clear if changing them invalidates the default coefficients, which are not defined and are protected.
Also, the consumed water must be an output to allow assessing water use.
So, this PR is far from being finished and need more work and substantial better review.
There was a problem hiding this comment.
This component requires a control input to modulate the evaporative cooling.
There was a problem hiding this comment.
This component requires a control input to modulate the evaporative cooling.
There was a problem hiding this comment.
This component requires a control input to modulate the evaporative cooling.
| within Buildings.Fluid.Humidifiers.EvaporativeCoolers; | ||
| model IndirectDry | ||
| "Indirect dry evaporative cooler" | ||
| extends Buildings.Fluid.Interfaces.PartialFourPortParallel; |
There was a problem hiding this comment.
All other components in the library extend from PartialFourPort. Use this also here, otherwise we have one component for which the user need for no obvious reason connect the fluid ports differently.
| @@ -0,0 +1,246 @@ | |||
| within Buildings.Fluid.Humidifiers.EvaporativeCoolers; | |||
| model IndirectWet "Indirect wet evaporative cooler" | |||
| extends Buildings.Fluid.Interfaces.PartialFourPortParallel; | |||
There was a problem hiding this comment.
All other components in the library extend from PartialFourPort. Use this also here, otherwise we have one component for which the user need for no obvious reason connect the fluid ports differently.
| "Coefficients for evaporative medium efficiency calculation"; | ||
|
|
||
| equation | ||
| vel =abs(V_flow)/padAre; |
There was a problem hiding this comment.
We use regularization for this to make the function
| "Actual efficiency of component"; | ||
|
|
||
| equation | ||
| eff = max((maxEff - floRat*abs(VPri_flow)/abs(VSec_flow)),0); |
There was a problem hiding this comment.
We use regularization for this to make the function
| where <code>effCoe[:]</code> is the evaporative efficiency coefficients for the | ||
| CelDek rigid media pad used in evaporative coolers. It is currently protected from | ||
| modification by the user, but can be modified for other materials within this class | ||
| by advanced users. <code>dep</code> is the depth of the evaporative media, and | ||
| <code>vel</code> is the velocity of the fluid media which is calculated from the volume flowrate | ||
| <code>V_flow</code> and evaporative media cross-sectional area <code>padAre</code> |
There was a problem hiding this comment.
What???
Not even a "advanced user" can modify this as it is protected and the language does not allow changing protected assignment. And this is for a specific pad. This makes me wonder if this is a generic model that can be parameterized for a specific equipment, or whether it just happened to be for one specific equipment, in which case exposing dep and padAre would not make sense.
You need to finish the implementation and documenation.
- The coefficient need to be explained. How are they defined? Add it to the documentation of the model, including the top-level model. Are they invariant if
deporpadAreare changed? - Propagate the device specific parameters
dep,padAreandcoeinto a data record, to be put intoEvaporativeCoolers.Data
| the curve | ||
| </p> | ||
| <p align=\"center\" style=\"font-style:italic;\"> | ||
| eff = effCoe[1] + effCoe[2]*(dep) + effCoe[3]*(vel) + effCoe[4]*(dep<sup>2</sup>) + |
There was a problem hiding this comment.
Use proper notation:
- no need to put the
depandvelinto brackets, these are just factors. - Either use parameter names and Courier font, or use mathematical symbols and italics font.
- This would be much more readable as a sum notation.
Also, explain where the user can get these data.
| eff = effCoe[1] + effCoe[2]*(dep) + effCoe[3]*(vel) + effCoe[4]*(dep^2) + | ||
| effCoe[5]*(vel^2) + effCoe[6]*(dep*vel) + effCoe[7]*(vel*dep^2) + | ||
| effCoe[8]*(dep*vel^3) + effCoe[9]*(dep^3*vel) + effCoe[10]*(vel^3*dep^2) + | ||
| effCoe[11]*(dep^3*vel^2); |
There was a problem hiding this comment.
This implementation is very expensive, computing the 2nd and 3rd power of vel and dep multiple times. Do it efficiently.
@mwetter Thank you for the feedback. I am adding some additional contextual information and a list of improvements I will make.
List of actions
|
|
@karthikeyad-pnnl : For the adiabatic cooler, besides use in air handler units, which was used quite a bit in Europe's dry climate, another important use case is to precondition the outside air in cooling towers such as in https://peakplus.energy/ |
This closes #3492.