<br /> Hello Aaron,<br /><br />The Type25 printer's first by default column is always the ascending time (in hr) and not the timestep. A quick manipulation in Excel would allow you to simply show the timestep. Then simply make the other 20 columns - by indicating that you would like to "print" 20 outputs - in the proforma of Type25, if I understand you correctly.<br /><br />Best regards,<br /><br />Matt Duffy<br /> <br /> <!--replyfwdwrap--><div style="background-image: url("http://webmail.fusemail.com/de/r_bg_img.gif"); background-position: center top; background-repeat: repeat-x;"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Aaron Danenberg" <danenberg@hartford.edu> <br /><strong>Sent:</strong> Fri, April 22, 2011 8:54<br /><strong>Subject:</strong> RE: [TRNSYS-users] Creating a Component with Array Outputs<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sa!
 nitized html --> <style type="text/css">
</style><div class="bodyclass"><div class="WordSection1"><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Matt,</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">Thank you for your response.  I am outputting to an Excel file using a type 25 printer.  Is there a way to format the output.  For example I would like the first column to have the time step, and the following columns to represent values of the function from n=1 to n=20.</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt!
 ; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);">-Aaron</span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif"; color: rgb(31, 73, 125);"> </span></p><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0in 0in;"><p class="MsoNormal"><b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";">From:</span></b><span style="font-size: 10pt; font-family: "Tahoma","sans-serif";"> Matt Duffy [mailto:duffy@tess-inc.com] <br /><b>Sent:</b> Monday, April 18, 2011 4:49 PM<br /><b>To:</b> Aaron Danenberg; trnsys-users@cae.wisc.edu<br /><b>Subject:</b> Re: [TRNSYS-users] Creating!
  a Component with Array Outputs</span></p></div><p class="MsoNormal">&
nbsp;</p><p style="margin-bottom: 12pt;" class="MsoNormal">Hello Aaron,<br />Please see my responses below in <span style="color: rgb(51, 153, 102);">green</span>.<br /><br />Best regards,<br /><br />Matt Duffy</p><div><p style="margin-bottom: 12pt;" class="MsoNormal"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Aaron Danenberg" <danenberg@hartford.edu> <br /><strong>Sent:</strong> Mon, April 18, 2011 9:01<br /><strong>Subject:</strong> [TRNSYS-users] Creating a Component with Array Outputs</p><table cellspacing="5" cellpadding="0" border="0" width="100%" style="width: 100%;" class="MsoNormalTable"><tbody><tr><td style="padding: 0.75pt;"><div><div><div><p style="" class="MsoNormal">I am working on writing a component model that provides the vertical temperature distribution of a borehole, so my outputs for every time step will be an array of temperatures at discrete points along the depth.</p><p style="" class="MsoNormal"> <!
 /p><p style="" class="MsoNormal">I am unclear on how to define an output defined by a continuous function with values taken at specified intervals between an initial and fnal value.</p><p style="" class="MsoNormal"> <span style="color: rgb(51, 153, 102);">See the end of the source code for Type4.  A DO loop is implemented to output the temperatures at the different node locations.</span></p><p style="" class="MsoNormal">Does anyone have experience outputting arrays in every time step with standard printers.  I also need to learn how to format the output the data.  Thanks!</p><p style="" class="MsoNormal">  <span style="color: rgb(51, 153, 102);">I am slightly confused by this question. Are you outputting to an external data file at each time step? Are you still talking at the source code level or are you taking about the simulation with the standard Type25 printer?</span></p><p style="" class="MsoNormal">A aron J. Danenberg</p><p style="" class!
 ="MsoNormal">Graduate Research Assistant</p><p style="" class="MsoNorm
al">Candidate for Master of Mechanical Engineering, May 2011</p><p style="" class="MsoNormal">University of Hartford</p><p style="" class="MsoNormal">Dana Hall 103, Research Laboratory 1</p><p style="" class="MsoNormal">200 Bloomfield Ave.</p><p style="" class="MsoNormal">West Hartford, CT 06117</p><p style="" class="MsoNormal"> </p><p style="" class="MsoNormal"> </p></div></div><div align="center" style="text-align: center;" class="MsoNormal"><hr size="1" noshade="yes" align="center" width="100%" style="color: rgb(160, 160, 160);" /></div><pre>
 </pre><pre>
_______________________________________________</pre><pre>
TRNSYS-users mailing list</pre><pre><a target="_new" href="#">TRNSYS-users@cae.wisc.edu</a></pre><pre><a target="_new" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a></pre></div></td></tr></tbody></table><p class="MsoNormal"> </p></div></div></div><!-- end sanitized html --></div></td></tr> </tbody></table></div>