<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Roberto,<br>
You are correct, there is a mistake in the code. RH values at the
TRNSYS user-interface level (ie inputs and outputs) are on a 0-100%
scale. The psychrometrics routine inside TRNSYS, however, treats RH
as a fraction instead (0-1) so we have to convert inputs and then
convert them back. The input value conversion was not done. Thanks
for pointing out the error. If I send you edited code are you able
to compile and link it? If not, we can send you a modified DLL (i.e.
already compiled and linked).<br>
Best,<br>
David<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 11/16/2012 03:47, Roberto Ruiz
wrote:<br>
</div>
<blockquote cite="mid:50A60B9A.8050307@gmail.com" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Dear TRNSYS Users,<br>
<br>
I'm trying to implement a AHU model by coupling every component.
AHU also comprises an adiabatic humidifier modeled by means type
641.<br>
When I try to simulate it, I always receive a message saying that
the entered Relative humidity is greather than 100%.<br>
<br>
Looking in the code I found where the problem come from.<br>
<b>!Check the Inputs for Problems</b><b><br>
</b><b> If ((RHin > 1.) .and. (mode == 2)) Call
FoundBadInput(3,'Fatal','The return air relative humidity is
greater than 100.')</b><br>
<br>
And where inputs are taken correspond to the following part of the
code<br>
<br>
!Get the Current Inputs to the Model<br>
Tin = getInputValue(1) <br>
Win = getInputValue(2) <br>
<b> RHin = getInputValue(3)</b> <font color="#ff0000">!Should
it be <b>RHin = getInputValue(3)/100</b>???</font> (*)<br>
...<br>
<br>
Could somebody tell me, whether this "new type" (it seems to have
been written in other language) uses relative humidity values
between 0-1 (as inputs)?<br>
Or maybe there is a mistake in the code (*)?<br>
Does this model provide output values (RH) in percentage or
between 0-1?<br>
<br>
Thanks in advance!<br>
<br>
Roberto Ruiz<br>
<pre class="moz-signature" cols="72">--
_________________________________________________
University of Liège
Faculty of Applied Sciences
Thermodynamics Laboratory
Campus of Sart-Tilman, B49 (P33)
Chemin des Chevreuils, 7
B-4000 LIEGE (BELGIUM)
Phone : +32 4 366 48 25 / +32 496 38 46 82
Fax : +32 4 366 48 12
Mailto : <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:r.ruiz@ulg.ac.be">r.ruiz@ulg.ac.be</a>
Web : <a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.labothap.ulg.ac.be/">http://www.labothap.ulg.ac.be/</a></pre>
<br>
<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>