Adnan,
I gave you the solution to your problem in the last email - copied below. Your case 3 is exactly the solution we listed - all you have to do is replace the ID1 to ID4 names with your WinID names that correspond to the 4 cases.
Jeff - TESS Sent from my iPhone 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
|
Sender notified by
Mailtrack
02/16/19, 12:56:33 PM
|
|
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 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 RasheedPhD Researcher Kyungpook National University Daegu, South Korea. +82-102762-0105
|
Sender notified by
Mailtrack
02/15/19, 7:45:22 PM
|
|
-- Adnan RasheedPhD Researcher Kyungpook National University Daegu, South Korea. +82-102762-0105
-- Adnan RasheedPhD Researcher Kyungpook National University Daegu, South Korea. +82-102762-0105
|
Sender notified by
Mailtrack
02/18/19, 1:45:00 PM
|
|
|