-
Notifications
You must be signed in to change notification settings - Fork 82
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
Issues on heat pump condenser/evaporator heat flow calculation #1507
Comments
Thanks for raising this well documented issue! |
Thank you! |
@wehuang16 we moved the model in the latest main. Please see https://github.com/RWTH-EBC/AixLib/wiki/Switch-from-model-HeatPump-to-ModularReversible if you want to move from the old to the new approach. |
Describe the bug
For the Aixlib heat pump model during "cooling" operation, there is a possibility that the calculation for the condenser/evaporator heat flow is not quite correct.
To Reproduce
Use a modelica tool, such as Dymola or OpenModelica, to simulate this heat pump example in the "main" branch (https://github.com/RWTH-EBC/AixLib/blob/main/AixLib/Fluid/HeatPumps/Examples/HeatPump.mo)
we will first see that the simulation runs for 3600 seconds. The first half (1800s) is heating mode, and the second half is cooling mode.
View the parameter QCon, QEva, and Pel, we notice that during the second half of simulation when the heat pump is in cooling mode, QCon is about -9.1kW, QEva is about 8.7kW, Pel is about 0.4kW.
QEva is positive, meaning that heat flows from the heat pump refrigerant at the evaporator to the flowing fluid (water or air), so the evaporator in the model actually acts as an actual "condenser". QCon is negative, meaning that heat flows from the flowing fluid (water or air) to the heat pump refrigerant at the condenser, so the condenser in the model actually acts as an actual "evaporator".
The correct calculation should be that the absolute value of the actual "evaporator" heat flow (currently represented by QCon for cooling) plus the electric power equal to the absolute value of the actual "condenser" heat flow (currently represented by QEva for cooling). Thus, the absolute value of the actual "evaporator" heat flow (9.1kW) should be less than the absolute value of the actual "condenser" heat flow (8.7kW), which might not be correct.
Expected behavior
I expect that for cooling, when the QCon is acting as an actual "evaporator", and QEva is acting as an actual "condenser", absolute value of QCon should be less than the absolute value of QEva.
Desktop (please complete the following information):
I used Dymola 2023x on an ubuntu 20.04 environment
Additional context
This issue on heat pump condenser/evaporator heat flow calculation has actually been fixed on the IBPSA heat pump libraries about 2 months ago. Specifically, we can look at these examples at the IBPSA github "main" branch (https://github.com/ibpsa/modelica-ibpsa/tree/master/IBPSA/Fluid/HeatPumps/ModularReversible/Examples)
The text was updated successfully, but these errors were encountered: