<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Metkel,<br>
Control signals in TRNSYS are almost always a value between 0
(off) and 1 (on) and you can write equations using Boolean logic to
set them. For example, if you define a variable called Tambient then
you could write an equation such as:<br>
<br>
yHeat = LT(Tambient,14)<br>
<br>
the variable yHeat would have a value of 1 as long as the variable
Tambient was less than 14. You can also use the same idea to set
multipliers on input or output data. For example, if your Type9 is
simply reading a value of load without any indication of whether it
is a heating load or a cooling load then you could write the
following two equations:<br>
<br>
heatLoad = Type9output*LT(Tambient,14)<br>
coolLoad = Type9output*GT(Tambient,18)<br>
<br>
Kind regards,<br>
David<br>
<br>
<br>
<div class="moz-cite-prefix">On 2/6/2014 06:02, metkell yebiyo
wrote:<br>
</div>
<blockquote
cite="mid:1391688176.2136.YahooMailNeo@web173104.mail.ir2.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff;
font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial,
Lucida Grande, Sans-Serif;font-size:12pt">
<div>Dear TRNSYS users,</div>
<div><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">My name is
Metkel, I am a researcher at London South Bank University, I
am currently trying to simulate a GSHP system. the GSHP is
controlled by the outside temperature, if the outside
temperature is less than 14 then a control signal tells the
GSHP to run in heating mode, if the outside temp is greater
than 18 then the control signal tells the GSHP to run in
cooling mode.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">However I
couldn't figure out how to write the equation to the following
please.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">1. based
on the outside temperature to send a signal to the heat pump.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">2. based
on the outside temperature to retrieve the cooling or heating
load of the building from</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"> type
9a which contains the building load.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">3. based
on the outside temperature to also send a signal to the
circulation pumps to switch them</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"> on or
off accordingly.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">Any
suggestions would be much appreciated please.</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">Regards,</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;">Metkel</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
<div style="color: rgb(0, 0, 0); font-size:
16.363636016845703px; font-family: HelveticaNeue, 'Helvetica
Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;
background-color: transparent; font-style: normal;"><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>