<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">Adnan,<div><br></div><div>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:</div><div><br></div><div>Equations 3</div><div>SolarHigh = GT(Solar_R,100)</div><div>TempHigh = GT(Temp,100)</div><div>Win_ID = SolarHigh*TempHigh*ID1+SolarHigh*(1-TempHigh)* ID2+(1-SolarHigh)*TempHigh*ID3+(1-SolarHigh)*(1-TempHigh)* ID4</div><div><br></div><div>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.</div><div><br></div><div>Jeff - TESS</div><div><br><div id="AppleMailSignature">Sent from my iPhone</div><div><br>On Feb 15, 2019, at 4:48 AM, adnan rasheed via TRNSYS-users <<a href="mailto:trnsys-users@lists.onebuilding.org">trnsys-users@lists.onebuilding.org</a>> wrote:<br><br></div><blockquote type="cite"><div><div dir="ltr"><img width="0" height="0" class="mailtrack-img" alt="" style="display:flex" src="https://mailtrack.io/trace/mail/cb2bdb36616e4c78ac554ec3d0b81308ef17d371.png?u=2838774"><div></div>Hello everyone,<div><br></div><div>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</div><div><br></div><div>my equations are e.g</div><div><br></div><div>1) win_id_input =<font color="#000000"> INT(G</font>T(<font color="#ff0000">Solar</font>_R,100)*<font color="#0000ff">Win_ID_1</font>+(LT(<font color="#ff0000">Solar_R</font>,100))*<font color="#0000ff">Win_ID_2</font> </div><div><br></div><div> 2) 

win_id_input =<font color="#000000"> INT(</font>GT(<font color="#ff0000">temp,</font>100)*<font color="#0000ff">Win_ID_1</font>+(LT(<font color="#ff0000">temp,100</font>))*<font color="#0000ff">Win_ID_2</font>  <br clear="all"><div><br></div>need one out put both conditions together, </div><div>Thanks in advance </div><div><br></div><div><br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><font face="georgia, serif" color="#666666">Adnan Rasheed</font><div><font face="georgia, serif" color="#666666">PhD Researcher</font></div><div><font face="georgia, serif" color="#666666">Kyungpook National University</font></div><div><font face="georgia, serif" color="#666666">Daegu, South Korea.</font></div><div><font face="georgia, serif" color="#666666">+82-102762-0105</font></div><div><font face="georgia, serif" color="#666666"><a href="mailto:adnan.upm.spain@gmail.com" target="_blank">adnan.upm.spain@gmail.com</a>, <a href="mailto:adnanrasheed@knu.ac.kr" target="_blank">adnanrasheed@knu.ac.kr</a></font></div></div></div></div></div><br></div><br><div class="mt-signature">
        <table border="0" cellpadding="8" cellspacing="0" style="user-select: none;">
            <tbody><tr>
                <td>
                    <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="" style="text-decoration:none">
                        <img src="https://s3.amazonaws.com/mailtrack-signature/sender_notified.gif" alt="Mailtrack" class="" width="32" height="32">
                    </a>
                </td>
                <td>
                    <span style="color:#777">Sender notified by</span> <br>
                    <a href="https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&" class="mt-install" style="color:#4374f7">Mailtrack</a>
                    <span style="color:transparent;font-size:0">02/15/19, 7:45:22 PM</span>
                </td>
                <td>
                    
                </td>
            </tr>
        </tbody></table>
    </div></div>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>TRNSYS-users mailing list</span><br><span><a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a></span><br><span><a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a></span><br></div></blockquote></div></body></html>