Para: trnsys-users@cae.wisc.edu
De: trnsys-users-request@cae.wisc.edu
Enviado por: trnsys-users-bounces@cae.wisc.edu
Fecha: 24/10/2011 19:00
Asunto: TRNSYS-users Digest, Vol 82, Issue 46
Send TRNSYS-users mailing list submissions to
trnsys-users@cae.wisc.edu
To subscribe or unsubscribe via the World Wide Web, visit
https://mailman.cae.wisc.edu/listinfo/trnsys-users
or, via email, send a message with subject or body 'help' to
trnsys-users-request@cae.wisc.edu
You can reach the person managing the list at
trnsys-users-owner@cae.wisc.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of TRNSYS-users digest..."
Today's Topics:
1. Using operators within the Equation Component
(Javier Galvan Villamarin)
----- Message from Javier Galvan Villamarin <jgalvan@kth.se> on Mon, 24 Oct 2011 15:27:57 +0000 -----
To: "TechSupport@tess-inc.com" <TechSupport@tess-inc.com> cc: "trnsys-users@cae.wisc.edu" <trnsys-users@cae.wisc.edu> Subject: [TRNSYS-users] Using operators within the Equation Component _______________________________________________Dear All.
I am using the Equation component and I need to assign values to the outputs depending on the result of a previous equation.
Could somebody please help me with this?.
Input(1) = Q_dem
Input(2) = Q_eng
Output(1) = Q_need
Output(2) = Q_aux
Output(3) = Q_rej
Q_need = Q_dem - Q_eng
If Q_need>0 assign Q_aux= Q_need AND Q_rej=0
If Q_need<0 assign Q_rej= Q_need AND Q_aux=0
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users
Attachment:
answer_Vol82_Issue46.tpf
Description: Binary data