<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p> </p>
<p>Loh,</p>
<p> </p>
<p>The functions are also explained in section 6.3.9.1 of the Volume 6 TRNEdit/Input File documentation. </p>
<p> </p>
<p>Best,</p>
<p> </p>
<p>Matt</p>
<p>On 2012-08-08 07:40, Avesani Stefano wrote:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%"><!-- html ignored --><!-- head ignored --><!-- meta ignored --><!-- meta ignored --><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:"Trebuchet MS";
panose-1:2 11 6 3 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Trebuchet MS","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
-->
<div class="WordSection1">
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;">GT(x,y) returns 1 if x>y. It returns 0 if x</span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;">The same approach for all other comparative operators.<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;">The idea is therefore to create in the equation an output equal to the parameter you need (the quantity to be used in case of “true” = 1 ) times the “if” statement that in TRNSYS (based on FORTRAN code) is “…*<strong>GT(x,y)</strong>*…” <!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;">Cheers<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;">Stefano<!-- o ignored --></span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<p class="MsoNormal"><span style="font-family: 'Trebuchet MS','sans-serif'; color: #1f497d;"><!-- o ignored --> </span></p>
<div>
<div style="border: none; border-top: solid #B5C4DF 1.0pt; padding: 3.0pt 0cm 0cm 0cm;">
<p class="MsoNormal"><strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';">From:</span></strong><span style="font-size: 10.0pt; font-family: 'Tahoma','sans-serif';"> trnsys-users-bounces@cae.wisc.edu [mailto:trnsys-users-bounces@cae.wisc.edu] <strong>On Behalf Of </strong>Siak Chun Loh<br /><strong>Sent:</strong> Wednesday, 08 August, 2012 07:17<br /><strong>To:</strong> trnsys-users@cae.wisc.edu<br /><strong>Subject:</strong> [TRNSYS-users] Information on Unit 0 (Equation Calculator)<!-- o ignored --></span></p>
</div>
</div>
<p class="MsoNormal"><!-- o ignored --> </p>
<p class="MsoNormal"><span>Dear users,<!-- o ignored --></span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span>I am new to TRNSYS. Could anyone let me know where to find info on Unit 0 (“equation calculator”)?<!-- o ignored --></span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span>I need to find out how to use “GT” and “LT”.<!-- o ignored --></span></p>
<p class="MsoNormal"><span>Thanks!<!-- o ignored --></span></p>
<p class="MsoNormal"><span><!-- o ignored --> </span></p>
<p class="MsoNormal"><span>Best regards,<!-- o ignored --></span></p>
<p class="MsoNormal"><span>Loh<!-- o ignored --></span></p>
</div>
</blockquote>
</body></html>