<!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">
Alain,<br>
I am not sure how familiar you are with the deck syntax but you can
do this by making some edits in the *.dck file using TRNEdit. When a
Type references an external file, it does so using an integer that is a
parameter for the component (Type9 in this case) and is also found in
an ASSIGN statement that associates that integer with a file and path.
It looks like:<br>
<br>
ASSIGN c:\Trnsys17\MyProjects\DataFiles\File1.txt 30<br>
<br>
1. Open your *.dck in TRNEdit and add an ASSIGN statement like the one
above for each data file that you want to run.<br>
<br>
ASSIGN "c:\Trnsys17\MyProjects\DataFiles\File1.txt" 30<br>
ASSIGN "c:\Trnsys17\MyProjects\DataFiles\File3.txt" 31<br>
ASSIGN "c:\Trnsys17\MyProjects\DataFiles\File4.txt" 32<br>
<br>
2. Change the Type9 logical unit parameter to a string called "LU" <br>
<br>
UNIT 2 TYPE 9 Type9g<br>
*$UNIT_NAME Type9g<br>
*$MODEL .\Utility\Data Readers\Generic Data Files\Expert Mode\Specified
Format\Type9g.tmf<br>
*$POSITION 335 212<br>
*$LAYER Main # <br>
PARAMETERS 10<br>
2 ! 1 Mode<br>
0 ! 2 Header Lines to Skip<br>
1 ! 3 No. of values to read<br>
1.0 ! 4 Time interval of data<br>
1 ! 5 Interpolate or not<br>
1.0 ! 6 Multiplication factor<br>
0 ! 7 Addition factor<br>
1 ! 8 Average or instantaneous value<br>
LU ! 9 Logical unit for input file<br>
... etcetera<br>
<br>
3. Write the lines:<br>
<br>
CONSTANTS 1<br>
LU = 30<br>
<br>
in your input file<br>
<br>
4. Create a parametric table with as many runs as you have data files
and the variable "LU" in the table.<br>
<br>
5. set the value of LU to the integers that you assigned to each of
your data files.<br>
<br>
Best,<br>
David<br>
<br>
<br>
On 10/22/2010 14:03, <a class="moz-txt-link-abbreviated" href="mailto:moreau.alain@lte.ireq.ca">moreau.alain@lte.ireq.ca</a> wrote:
<blockquote
cite="mid:6D344FB6BC2035478E7516D57CD3A02B01109B3B@BORDEAUX.ireq.ca"
type="cite">
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1">
<meta content="MSHTML 6.00.6000.16981" name="GENERATOR">
<div><span class="" id="result_box" lang="en"><span title=""
te="Hello," se="Bonjour," closure_uid_le33sr="1178">Hello,<br>
<br>
</span><span title=""
te="I have several hundred files of hot water consumption of several different clients and I want to do simulations for each of these customers. "
se="j'ai plusieurs centaines de fichiers de consommation d'eau chaude de plusieurs clients différents et je désire faire des simulations pour chacun de ces clients."
closure_uid_le33sr="1179">I have several hundred files of hot water
consumption of several different clients and I want to do simulations
for each of these customers. </span><span title=""
te="These files will be read with the consumption TYPE 9. "
se="Ces fichiers de consommation seront lue avec le TYPE 9."
closure_uid_le33sr="1180">The <span class="011164918-22102010">data </span>files
will be read with TYPE 9. <span class="011164918-22102010">Using
TRNSYS, i</span></span><span title=""
te="Is it possible to loop automatically TRNSYS calculations for all clients?"
se="Est-il possible avec TRNSYS de boucler automatiquement les calculs pour tous les clients ?"
closure_uid_le33sr="1181">s it possible to loop automatically <span
class="011164918-22102010">the </span>calculations for all clients<span
class="011164918-22102010"> </span>?</span></span></div>
<div> </div>
<div align="left"><font face="Arial" size="2">Alain Moreau, ing.,
M.Sc.A.</font></div>
<div align="left"><font face="Arial" size="2">chercheur, chargé de
projet</font></div>
<div align="left"><font face="Arial" size="2">Laboratoire des
technologies de l'énergie d'Hydro-Québec</font></div>
<div align="left"><font face="Arial" size="2">600, avenue de la
Montagne</font></div>
<div align="left"><font face="Arial" size="2">Shawinigan, Qc.</font></div>
<div align="left"><font face="Arial" size="2">G9N 7N5</font></div>
<div align="left"><font face="Arial" size="2">tél: 819-539-1400 (1421)</font></div>
<div align="left"><font face="Arial" size="2">Fax: 819-539-1409</font></div>
<div align="left"><font face="Arial" size="2"><a class="moz-txt-link-freetext" href="http://www.hydroquebec.com">http://www.hydroquebec.com</a></font></div>
<div> </div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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">--
***************************
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>