<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Camilo,<br>
Yes, you can do this; you will need to make some edits in the
input file using TRNEdit.<br>
<br>
Before you start, make sure that your printing device (Type25 or
Type46 ideally) has an output file that is called ***.out. The
extension is not important but the *** is.<br>
<br>
Launch TRNEdit and open your input file . You should see a line
that looks like the following:<br>
<br>
ASSIGN "c:\TrnsysXX\Weather\MyWeatherFile.tm2" 35<br>
<br>
ASSIGN is a keyword that links the path and filename of the weather
file to an arbitrary number called a "logical unit"<br>
<br>
You should also be able to find the entry for your weather file
reader (Type15 or Type109 probably) in the input file; if you look
at its list of parameters, you'll find one that has the value 35. It
might look something like the following:<br>
<br>
UNIT 26 TYPE 15 Type15-6<br>
PARAMETERS 9<br>
6 ! 1 File Type<br>
<font color="red">35 ! 2 Logical unit</font><br>
3 ! 3 Tilted Surface Radiation Mode<br>
<br>
First, what you need to do is to make one ASSIGN statement for each
of your weather files, assigning a DIFFERENT logical unit number to
each one. For example:<br>
<br>
ASSIGN "c:\TrnsysXX\Weather\weatherFile(location1).tm2" 501<br>
ASSIGN "c:\TrnsysXX\Weather\weatherFile(location2).tm2" 502<br>
ASSIGN "c:\TrnsysXX\Weather\weatherFile(location3).tm2" 503<br>
ASSIGN "c:\TrnsysXX\Weather\weatherFile(location4).tm2" 504<br>
<br>
The value you assign is somewhat arbitrary but it must be greater
than 30 and it cannot be used as the logical unit for anything else
in your simulation. The range 501-550 is probably safe.<br>
<br>
Second, you need to add the following lines to your input file.<br>
<br>
CONSTANTS 1<br>
LU_METEO = 501<br>
<br>
Third, you need to change the entry of your weather reading
component so that it contains a variable name instead of a numerical
value for the logical unit. Taking the example from above, you would
change it to read<br>
<br>
UNIT 26 TYPE 15 Type15-6<br>
PARAMETERS 9<br>
6 ! 1 File Type<br>
<font color="red">LU_METEO ! 2 Logical unit</font><br>
3 ! 3 Tilted Surface Radiation Mode<br>
<br>
Lastly, make a parametric table (this is why you need to use
TRNEdit). Select "Create New Table" from the parametrics menu item.
Make 50 runs and choose the variable "LU_METEO" from the list on the
left. Enter each of the values that you chose as the logical unit
for your 50 weather files (501, 502, 503, etc.)<br>
<br>
Run the table. You should get 50 output files, one for each run.<br>
<br>
If you want all of the outputs in one file, then use Type25 as your
output printer device, change the output file name from ***.out to
Results.out (something with a hardcoded name) and change the 7th
parameter (overwrite or append) from -1 to 1.<br>
<br>
Best,<br>
David<br>
<br>
<br>
<br>
<br>
On 5/22/2012 15:15, Camilo Arias wrote:
<blockquote
cite="mid:1337717744.49020.YahooMailNeo@web114720.mail.gq1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:arial,
helvetica, sans-serif;font-size:10pt">
<div>Hi everyone, I work now in the construction of vectorial
maps for define the potential of EAHE, the problem is that I
must run 50 diferent weather files. Is posible run this 50
files without charge each one each time, and obtain the 50
.txt file in one run?.</div>
<div><br>
</div>
<div>Thanks</div>
<div><br>
</div>
<div>Camilo Arias </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>