<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=Big5" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Chun Kwon,<br>
  There are numerous options depending on the nature of the data that
you are trying to read. In addition to John's quite correct suggestions
about Type9 (time dependent data file reader) or Type62 (excel link),
you can look at Type42 and the 08-Programmer's Guide manual to get an
idea how a TRNSYS component can read and interpolate performance data
from an external file. If none of those are appropriate of course you
can program whatever data file reading you want into your Type using
the Fortran OPEN, READ, and CLOSE commands.<br>
Kind regards,<br>
 David<br>
<br>
<br>
<a class="moz-txt-link-abbreviated" href="mailto:a8304506@graduate.hku.hk">a8304506@graduate.hku.hk</a> wrote:
<blockquote cite="mid:1228028884.49323bd434550@imp3.webmail.hku.hk"
 type="cite">
  <pre wrap="">Hello, Trnsys users.

I am developing a new component which needs to read some data from a file for
simulation.  Please advise how I can do so.  Thank you!

Best Regards
LEE, Chun Kwong
Research Assistant
Division of Building Science and Technology
City University of Hong Kong
  



  </pre>
  <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>