<br /> Hello Danny,<br /><br />The much easier way would be to simply obtain the TESS Hydronics Library for the diverter and the mixing valve components with n inlets or outlets. Otherwise, you are indeed going to have to get creative with controls and equations to control the outlet specifications. I believe you are on the right track.<br /><br />Best regards,<br /><br />Matt Duffy<br /> <br /> <!--replyfwdwrap--><div style="background-image: url("http://webmail.fusemail.com/de/r_bg_img.gif"); background-position: center top; background-repeat: repeat-x;"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Danny Jonas" <jonasd@fh-trier.de> <br /><strong>Sent:</strong> Wed, March 9, 2011 10:16<br /><strong>Subject:</strong> [TRNSYS-users] 4 way valve<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --> <style type="text/css">
</style><div class="bodyclass"><div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Dear trnsys users,</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I would like to simulate a SDHW System in which a 4 way valve is used to discharge the </span></p><p class="MsoNormal"><span lang="EN-US">store (Type 340) with a fixed mixing temperature from 3 temperature zones.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I’ve attached a project file I’ve used to test the controller. </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I’ve tried to use two flow diverter and two tee pieces to realize the system.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Double Port 3 is placed in the top of the storage</span></p><p class="Ms!
 oNormal"><span lang="EN-US">Double Port 2 between top and middle of the storage</span></p><p class="MsoNormal"><span lang="EN-US">Double Port 1 in the middle of the storage  </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Flow diverter 1 outlet flow rate 1 is connected to Double Port 1</span></p><p class="MsoNormal"><span lang="EN-US">Flow diverter 1 outlet flow rate 2 is connected to flow diverter 2 Inlet flow rate</span></p><p class="MsoNormal"><span lang="EN-US">Flow diverter 2 outlet flow rate 1 is connected to Double Port 2</span></p><p class="MsoNormal"><span lang="EN-US">Flow diverter 2 outlet flow rate 2 is connected to Double Port 3 </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">(in the complete system the temperatures are also connected, but in the attached file</span></p><p class="MsoNormal"><span lang="EN-US">I have no system between Flow!
  diverter and mixers… and the input temperatures to the</span><
/p><p class="MsoNormal"><span lang="EN-US">tee pieces have fixed values to simulate an example for storage temperatures) </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">The double ports outlet flow rates and temperatures are connected to two tee pieces </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Tee Piece 1 inlet temperature 1 and flow rate 1 is connected to Double Port 2</span></p><p class="MsoNormal"><span lang="EN-US">Tee Piece 1 inlet temperature 2 and flow rate 2 is connected to Double Port 3</span></p><p class="MsoNormal"><span lang="EN-US">Tee Piece 2 inlet temperature 1 and flow rate 1 is connected to Double Port 1</span></p><p class="MsoNormal"><span lang="EN-US">Tee Piece 2 inlet temperature 2 and flow rate 2 is connected to outlet temperature and outlet flow</span></p><p class="MsoNormal"><span lang="EN-US">rate of tee piece 1</span></p><p cl!
 ass="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">In the attached file the outlets of the flow diverters are connected to the inlets of the tee pieces.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I’ve tried to control the outlet flow rates from the flow diverters with iterative feedback controllers</span></p><p class="MsoNormal"><span lang="EN-US">to reach the set point temperature as mixing temperature of tee piece 1 and 2.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">The first flow diverter is controlled by an iterative feedback controller monitoring the</span></p><p class="MsoNormal"><span lang="EN-US">outlet temperature of tee piece 2 (setpoint 40°C)</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">the second flow diverter is controlled by!
  a second iterative feedback controller monitoring</span></p><p class=
"MsoNormal"><span lang="EN-US">the outlet temperature of tee piece 1 (setpoint also 40°C)</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">the inlet flow rate of flow diverter 1 is fixed</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">inlet temperature 1 of tee piece 1 is 50°C</span></p><p class="MsoNormal"><span lang="EN-US">inlet temperature 2 of tee piece 1 is 70°C</span></p><p class="MsoNormal"><span lang="EN-US">inlet temperature 1 of tee piece 1 is 30°C</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">To reach the setpoint the control function of flow diverter 1 has to be zero and </span></p><p class="MsoNormal"><span lang="EN-US">the control function of flow diverter 2 has to be 0.5.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang!
 ="EN-US">The first iterative feedback controller works fine, control function is set to zero, but the second iterative </span></p><p class="MsoNormal"><span lang="EN-US">Feedback controller doesn’t work, but I don’t know why.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I hope someone can help me or can tell me an easier way to realize the system.</span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Thanks </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Danny </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"> </p></div></div><!-- end sanitized html --> <hr size="1" noshade="noshade" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr> </tbody></table></div>