Hello Aaron,<br />Please see my responses below in <span style="color: #339966">green</span>.<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-repeat: repeat-x; background-position: 50% top"><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<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --><style type="text/css"></style><div class="bodyclass"><div class="WordSection1"><p 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 class="MsoNormal"> </p><p 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 class="MsoNormal"> <span style="color: #339966">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 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 class="MsoNormal">  <span style="color: #339966">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 class="MsoNormal"><span style="font-family: 'Times New Roman','serif'!
 ">Aaron J. Danenberg</span></p><p class="MsoNormal"><span style="font-
family: 'Times New Roman','serif'">Graduate Research Assistant</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'">Candidate for Master of Mechanical Engineering, May 2011</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'">University of Hartford</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'">Dana Hall 103, Research Laboratory 1</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'">200 Bloomfield Ave.</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'">West Hartford, CT 06117</span></p><p class="MsoNormal"><span style="font-family: 'Times New Roman','serif'"> </span></p><p class="MsoNormal"> </p></div></div><!-- end sanitized html --><hr noshade="" size="1" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr></tbody></table></div>