<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Giulio,<br>
 Could you please send me your project (*.tpf file) and your IAM file?
I will try to find the cause of the error and then make sure that there
is not a mistake in the documentation!<br>
Kind regards,<br>
 David<br>
<br>
<br>
giulio betti wrote:
<blockquote
 cite="mid:ea76f7280901060426t23b5ea8mcca1ef67974a8330@mail.gmail.com"
 type="cite">
  <div>dear all,</div>
  <div>I'm using Type538 (TESS Solar Library, Evacueted tube
collectors) at university. I have a problem with IAM: I read the posts
about it on this mailing list and the chapter 5.11.14.4 of the Trnsys16
manual, so I think I've understood how to use it. I made the external
data file needed by subroutine DYNAMICDATA as explained in the manual: </div>
  <div><font face="Courier New" size="1">
  <p align="left"><font size="2"><Transversal angle 1>
<Transversal angle 2> etc. Nt values [0;90]</font></p>
  <p align="left"><font size="2"><Longitudinal angle 1>
<Longitudinal angle 1> etc. Nl values [0;90]</font></p>
  <p align="left"><font size="2"><IAM 1 1> IAM for transv. angle
1, long. angle 1</font></p>
  <p align="left"><font size="2"><IAM 1 2> IAM for transv. Angle
1, long. angle 2</font></p>
  <p align="left"><font size="2">...</font></p>
  <p align="left"><font size="2"><IAM 1 Nl> IAM for transv. angle
1, long. angle Nl</font></p>
  <p align="left"><font size="2"><IAM 2 1> IAM for transv. angle
2, long. angle 1</font></p>
  <p align="left"><font size="2"><IAM 2 2> IAM for transv. angle
2, long. angle 2</font></p>
  <p align="left"><font size="2">...</font></p>
  <p align="left"><font size="2"><IAM 2 Nl> IAM for transv. angle
2, long. angle Nl</font></p>
  <p align="left"><font size="2"><IAM 3 1> IAM for transv. angle
3, long. angle 1</font></p>
  <p align="left"><font size="2">...</font></p>
  <p><font size="2"><IAM Nt Nl> IAM for transv. angle Nt, long.
angle Nl</font></p>
  <p><font size="2">Having 5 transversal angles [0°, 20°, 50°, 70°,
90°] and 3 longitudinal angles [0°, 50°, 90°] my file .dat is something
like this (I don't write all 15 values of the column):</font></p>
  <p><font size="2">0 20 50 70 90</font></p>
  <p><font size="2">0 50 90</font></p>
  <p><font size="2">1</font></p>
  <p><font size="2">0.95</font></p>
  <p><font size="2">0</font></p>
  <p><font size="2">.</font></p>
  <p><font size="2">.</font></p>
  <p><font size="2">.</font></p>
  <p><font size="2">0</font></p>
  <p><font size="2">In Type538 I set parameter 11 (Number of transverse
angles) to 5 and parameter 12 (Number of longitudinal angles) to 3.
Now, I tried to run the simulation: Trnsys didn't work: it said that
there was an error without specifing details:</font></p>
  <p><font size="2">Fatal Error at time   :      3245.010000<br>
    Generated by Unit     :     3<br>
    Generated by Type     :   538<br>
    TRNSYS Message    109 : Error reading data stored in logical unit.
NOTE: the reported logical unit number may be automatically or
internally ASSIGNed, or you may have specified the incorrect number of
independent variables.<br>
    Reported information  : Logical Unit number 33<br>
  </font> </p>
  <p><font size="2">So I tried to change parameter 11 and parameter 12:
I set parameter 11 to 3 and parameter 12 to 5 (I simply reversed the
number of transversal angles with the number of longitudinal angles).
In this way the simulation ran!</font></p>
  <p><font size="2">So the question is this: the file .dat has to be
written as described in the manual, and there is only an inversion in
the definitions of "parameter 11" and "parameter 12", so that the only
change to do is the one described above?</font></p>
  <p><font size="2">Or the definitions of "parameter 11" and "parameter
12" are right and there is to change the file .dat putting in the first
line the longitudinal angles and in the second line the transversal
angles? In this case, the column with all the possible multiplications
is to be left as it is described in the manual, or I have to modify it
in this way:</font></p>
  <font size="2">
  <p align="left"><IAM 1 1> IAM for long. angle 1, transv. angle 1</p>
  <p align="left"><IAM 1 2> IAM for long. Angle 1, transv. angle 2</p>
  <p align="left">...</p>
  <p align="left"><IAM 1 Nl> IAM for long. angle 1, transv. angle
Nl</p>
  <p align="left"><IAM 2 1> IAM for long. angle 2, transv. angle 1</p>
  <p align="left"><IAM 2 2> IAM for long. angle 2, transv. angle 2</p>
  <p align="left">...</p>
  <p align="left"><IAM 2 Nl> IAM for long. angle 2, transv. angle
Nl</p>
  <p align="left"><IAM 3 1> IAM for long. angle 3, transv. angle 1</p>
  <p align="left">...</p>
  <p><IAM Nt Nl> IAM for long. angle Nt, transv. angle Nl</p>
  <p>? </p>
  </font>
  <p><font size="2">I hope I've been clear enough, thank you all,</font></p>
  <p><font size="2">regards,</font></p>
  <p><font size="2">Giulio Betti</font></p>
  </font></div>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www-old.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
  </pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
***********************************************************************
Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
                                   USA
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: <a class="moz-txt-link-abbreviated" href="mailto:bradley@tess-inc.com">bradley@tess-inc.com</a> 
Web Pages:  <a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>    and      <a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a>

***********************************************************************</pre>
</body>
</html>