Chun Kwon, 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. Kind regards, David a8304506@graduate.hku.hk wrote: 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 -- *********************************************************************** 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: bradley@tess-inc.com Web Pages: http://www.tess-inc.com and http://www.trnsys.com *********************************************************************** |