<FONT face="Sans Serif predeterminado,Verdana,Arial,Helvetica,sans-serif" size=2><DIV>I think you can solve the problem doing the following.</DIV><DIV>You can use the pipe type31 between two equations, the outputs of one equation must be linked</DIV><DIV>with the inlet flow rate of type 31, and the output flow rate of type 31 must be linked with the inputs</DIV><DIV>of the other equation. You must initialize the inlet flow rate value. I send you the *.tpf<BR></DIV><DIV>Guillermo Gómez<BR>Área de Energías Renovables INTA<BR>email1: <A href="mailto:renovables1@inta.es" target=blank>renovables1@inta.es</A><BR>email2: <A href="mailto:guillermo.gomez@insa.es" target=blank>guillermo.gomez@insa.es</A><BR>telf:915 20 15 35<BR><DIV><BR></DIV><FONT color=#990099>-----trnsys-users-bounces@cae.wisc.edu escribió: -----<BR><BR></FONT><BLOCKQUOTE style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">Para: trnsys-users@cae.wisc.edu<BR>De: trnsys-users-request@cae.wisc.edu<BR>Enviado por: trnsys-users-bounces@cae.wisc.edu<BR>Fecha: 24/10/2011 19:00<BR>Asunto: TRNSYS-users Digest, Vol 82, Issue 46<BR><BR><FONT face=monospace size=2>Send TRNSYS-users mailing list submissions to<BR><SPAN>    </SPAN>trnsys-users@cae.wisc.edu<BR><BR>To subscribe or unsubscribe via the World Wide Web, visit<BR><SPAN>    </SPAN><A href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target=blank>https://mailman.cae.wisc.edu/listinfo/trnsys-users</A><BR>or, via email, send a message with subject or body 'help' to<BR><SPAN>    </SPAN>trnsys-users-request@cae.wisc.edu<BR><BR>You can reach the person managing the list at<BR><SPAN>    </SPAN>trnsys-users-owner@cae.wisc.edu<BR><BR>When replying, please edit your Subject line so it is more specific<BR>than "Re: Contents of TRNSYS-users digest..."<BR></FONT><FONT face=monospace size=2>Today's Topics:<BR><BR>  1. Using operators within the Equation Component<BR>     (Javier Galvan Villamarin)<BR></FONT><BR><FONT face="Sans Serif predeterminado,Verdana,Arial,Helvetica,sans-serif" color=#800080 size=2>----- Message from Javier Galvan Villamarin <jgalvan@kth.se> on Mon, 24 Oct 2011 15:27:57 +0000 -----<BR></FONT><BR><TABLE><TBODY><TR><TH align=right><B>To:</B></TH><TD>"TechSupport@tess-inc.com" <TechSupport@tess-inc.com></TD></TR><TR><TH align=right><B>cc:</B></TH><TD>"trnsys-users@cae.wisc.edu" <trnsys-users@cae.wisc.edu></TD></TR><TR><TH align=right><B>Subject:</B></TH><TD>[TRNSYS-users] Using operators within the Equation Component</TD></TR></TBODY></TABLE><DIV style="FONT-SIZE: 10pt; COLOR: #000000; DIRECTION: ltr; FONT-FAMILY: Tahoma"><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Dear All. <?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>I am using the Equation component and I need to assign values to the outputs depending on the result of a previous equation. <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Could somebody please help me with this?. <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><SPAN lang=SV style="mso-ansi-language: SV"><FONT size=3><FONT face=Calibri>Input(1) = Q_dem <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><SPAN lang=SV style="mso-ansi-language: SV"><FONT size=3><FONT face=Calibri>Input(2) = Q_eng <o:p></o:p></FONT></FONT></SPAN></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Output(1) = Q_need <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Output(2) = Q_aux <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Output(3) = Q_rej <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>Q_need = Q_dem - Q_eng <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>If <SPAN style="mso-spacerun: yes">  </SPAN>Q_need>0 assign <SPAN style="mso-spacerun: yes">  </SPAN>Q_aux= Q_need AND Q_rej=0 <o:p></o:p></FONT></FONT></P><P class=MsoNormal style="MARGIN: 0cm 0cm 10pt"><FONT size=3><FONT face=Calibri>If <SPAN style="mso-spacerun: yes">  </SPAN>Q_need<0 assign <SPAN style="mso-spacerun: yes">  </SPAN>Q_rej= Q_need AND Q_aux=0 <o:p></o:p></FONT></FONT></P></DIV><FONT face=monospace size=2>_______________________________________________<BR>TRNSYS-users mailing list<BR>TRNSYS-users@cae.wisc.edu<BR><A href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target=blank>https://mailman.cae.wisc.edu/listinfo/trnsys-users</A><BR></FONT></BLOCKQUOTE><BR></DIV></FONT>