<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Berkane,<div><br></div><div>Although you didn’t tell us quite enough information about the layout and control of your system to be sure - especially as it pertains to the collector - I can provide the answer if we assume that the heat pump sends all the flow to the tank if it’s cold and the building is warm, all the flow to the building if it’s cold and the tank is hot, and half to each if the tank and building are cold.</div><div><br></div><div>In that case, use an equation block that has two inputs - let’s call them Tank_Cold and House_Cold. These two inputs should be connected to the output control signals from the aquastat watching the tank and the thermostat watching the house.</div><div><br></div><div>The control signal for the diverter to the tank is then:</div><div><br></div><div>TankFraction = MAX(0,(Tank_Cold-0.5*House_Cold))</div><div><br></div><div>and then </div><div><br></div><div>HouseFraction = 1 - TankFraction</div><div><br></div><div>You’ll also likely need the pump and heat pump control signals:</div><div><br></div><div>OnHeatPump=MAX(Tank_Cold,House_Cold)</div><div>OnPump=OnHeatPump</div><div><br></div><div>However in practice, heat pumps are rarely directly connected to the building in a 1-to-1 configuration as their capacity doesn’t match up typically to the heating device. For example if you use radiators, the capacity of the radiator varies with the temperature and a heat pump may shut down on high temperature before the radiator gets up to temperature and delivers the load. Best practice seems to be to have the heat pump charge the tank (top to bottom flow) and the house draw from the tank (bottom to top flow). This also works really well if you have collectors feeding the top of the tank with hot water. You may also have to use a tempering valve to not overfeed the building supply temperature.</div><div><br></div><div>Jeff<br><br><div id="AppleMailSignature">Sent from my iPhone</div><div><br>On May 12, 2018, at 4:09 AM, berkane ahlem via TRNSYS-users <<a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr">Hello sirs,<br>
I simulate a solar collector separate from GSHP for heating a building and DHW and i have some problems about the relation expresses the control function :<br>
1) if water storage tank , collector and the building are cold simultaneusly the type 647 will send half flow of the GSHP through house and half to tank<br>
How can i express them in calculator of trnsys <br>
Thank you</p>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>TRNSYS-users mailing list</span><br><span><a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></span><br><span><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></span><br></div></blockquote></div></body></html>