<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
span.E-MailFormatvorlage18
        {mso-style-type:personal-compose;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi everyone,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have built a model with a heat pump that can operate in two different modes:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mode 1: The heat pump directly supplies the heating cycle<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mode 2: The heat pump supplies a storage tank and the heating cycle is supplied through the tank.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The supply temperature for my heating cycle, as well as the return temperature and the mass flow are calculated in advance and supplied through the Input file.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The system looks like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"></span><img width="535" height="301" style="width:5.5729in;height:3.1354in" id="Grafik_x0020_1" src="cid:image003.jpg@01D90BD7.E6D73D00"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><u><span lang="EN-US">So what does the heat pump do?<o:p></o:p></span></u></p>
<p class="MsoNormal"><span lang="EN-US">Mode 1: Incoming and outgoing mass flow are the same, determined by the input file. The incoming fluid temperature is the same as the outgoing temperature of the Heating cycle. This temperature Is raised by 5K and the
 outgoing temperature of the heat pump is the same as the incoming temperature of the Heating cycle. These temperatures are also determined by the input file, calculated in advance.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">The diverter and mixer control signals are set by the heat pump. So this means 0 for the diverter and 1 for the mixer on the heat pump site, 0 for the mixer and 1 for the diverter on the heating cycle site. The bypass
 flowrate on the heating cycle site should be 0, as the supply temperature is already correct. So the control signal “Fraction to heatsource” from the valve to the diverter should be 1.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Mode 2: The storage tank should be supplied until it reaches a setpoint (55°C). Therefore the maximal mass flow (2000 kg/hr) runs through the heat pump and is heated with the maximum Power. Meanwhile the heating cycle
 needs to be supplied with water from the storage tank, Supply temperature, mass flow and return temperature are determined by the input file. Delta T is again 5 K.
<br>
The water from the storage tank has a higher temperature than the target for the heating cycle and needs to be cooled with the bypass flow. The control signals are set opposite as in mode 1 and the control signal for the bypass diverter is set by the tempering
 valve (Fraction to heat source = 0…1).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><u><span lang="EN-US">What is my problem?</span></u><span lang="EN-US"><br>
It doesn’t work. I have huge temperature spikes (up to 20.000°C) in my streams and I don’t know where they come from.<br>
In mode 1 this results in too high temperatures coming in to the heat pump, 5K are added and the temperature arriving on the heating cycle site are too high, so that the bypass starts mixing in “cold water” (which is already higher than the target temperature).
 But in mode 1, the bypass should never be letting through fluid and it should be one large outer circuit.
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I have tried to calculate the control signal for the bypass diverter within an equation as follows:
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">ctrl_signl_bypass = GE(fraction_to_heatsource,heating_cylce_Diverter_ctrl_signl)* fraction_to_heatsource + GT(heating_cylce_Diverter_ctrl_signl, fraction_to_heatsource)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This might be incorrect as well. But I have tried a lot of different combinations and the result is always wrong (only in different ways
</span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif">😃</span><span lang="EN-US">)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I would be so grateful if anyone could help me, as I’m stuck here since days, tried a lot of stuff and nothing seems to help.<br>
I have the feeling, the system can’t cope with the two different circuits and the inconsistent mass flows (which varies, as the delivered energy isn’t constant but delta T is always 5K).<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">If you have any questions feel free to ask, the whole system is even more complex and I tried to break it down as good as I could.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Best regards,<br>
Jan<o:p></o:p></span></p>
</div>
</body>
</html>