[TRNSYS-users] Fwd: Equation editor
adnan rasheed
adnan.upm.spain at gmail.com
Sun Feb 17 20:45:09 PST 2019
---------- Forwarded message ---------
From: adnan rasheed <adnan.upm.spain at gmail.com>
Date: Sat, Feb 16, 2019 at 1:01 PM
Subject: Re: [TRNSYS-users] Equation editor
To: Jeff Thornton <thornton at tess-inc.com>
Thanks Jeff,
The detail is like that...
Case 1
*EQUATION Editor*
Weather data --------------------------------- Solar radiation
Win_id_1 = 0
Win_id_2 = 1
Win id = GT(Solar
_R,100)*Win_ID_1+(LT(Solar_R,100))*Win_ID_2
----------------------------------------------------------Type
56 input (for controlling Window)
Case 2
*
EQUATION Editor
*
Win_id_1
Weather data----------------------------------- Temp
Win_id_2
Win id = GT(Temp,20)*
Win_ID_1+(LT(Temp,20))*Win_ID_2
BOTH CASE 1 AND 2 WORKS FINE.
Case 3
now case three i want to control both temp and solar radiation combine and
need to get one output for TYPE 56
Like when temp > 20 and solar radiation > 100 output should be 0.. and when
temp < 20 and solar radiation < 100 out put should be 1
Hope this explanation will help.
Thank you very much for looking into my problem.
Regards
Adnan
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
02/16/19,
12:56:33 PM
On Fri, Feb 15, 2019 at 11:50 PM Jeff Thornton <thornton at tess-inc.com>
wrote:
> Adnan,
>
> You didn’t give us enough information to be able to write the equations.
> What happens when the radiation is high but the temperature is low? And
> the opposite condition? But we can set it up in a basic format for you to
> edit:
>
> Equations 3
> SolarHigh = GT(Solar_R,100)
> TempHigh = GT(Temp,100)
> Win_ID = SolarHigh*TempHigh*ID1+SolarHigh*(1-TempHigh)*
> ID2+(1-SolarHigh)*TempHigh*ID3+(1-SolarHigh)*(1-TempHigh)* ID4
>
> Basically set up your equation to account for all 4 outcomes. Just fill
> in the correct ID in the equation above and you should be good.
>
> Jeff - TESS
>
> Sent from my iPhone
>
> On Feb 15, 2019, at 4:48 AM, adnan rasheed via TRNSYS-users <
> trnsys-users at lists.onebuilding.org> wrote:
>
> Hello everyone,
>
> i am using simulation studio's equation editor, two equations with
> different parameters set values separately, and they work fine now i want
> to control two parameters together with two equation combine how i can do
> this
>
> my equations are e.g
>
> 1) win_id_input = INT(GT(Solar_R,100)*Win_ID_1+(LT(Solar_R,100))*Win_ID_2
>
> 2) win_id_input = INT(GT(temp,100)*Win_ID_1+(LT(temp,100))*Win_ID_2
>
> need one out put both conditions together,
> Thanks in advance
>
>
> Adnan Rasheed
> PhD Researcher
> Kyungpook National University
> Daegu, South Korea.
> +82-102762-0105
> adnan.upm.spain at gmail.com, adnanrasheed at knu.ac.kr
>
>
> [image: Mailtrack]
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> Sender
> notified by
> Mailtrack
> <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&> 02/15/19,
> 7:45:22 PM
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
>
>
--
Adnan Rasheed
PhD Researcher
Kyungpook National University
Daegu, South Korea.
+82-102762-0105
adnan.upm.spain at gmail.com, adnanrasheed at knu.ac.kr
--
Adnan Rasheed
PhD Researcher
Kyungpook National University
Daegu, South Korea.
+82-102762-0105
adnan.upm.spain at gmail.com, adnanrasheed at knu.ac.kr
[image: Mailtrack]
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
Sender
notified by
Mailtrack
<https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&>
02/18/19,
1:45:00 PM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20190218/c49129f7/attachment.htm>
More information about the TRNSYS-users
mailing list