Thank you guys. I will try this. I also realize you can output to a new excel file, but I am more interested in outputting to a specific column or row in an existing excel file with existing data. Not sure this can be done.<div>
<br></div><div>With type 70 and some macros I should be able to pull inputs from an existing excel file and at least accomplish that task.<div><br></div><div>Thanks all.</div><div>Nick<br><br><div class="gmail_quote">On Fri, Aug 12, 2011 at 12:53 PM, Aaron Danenberg <span dir="ltr"><<a href="mailto:ajdanenberg@gmail.com">ajdanenberg@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Nick,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">You can output to excel.  All you have to do is use a Type 65c online printer.  Create a blank xls file.  Go into the type 65c, select the external files tab, select browse, and go to the directory of the file you created.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I have not called data from excel, I have called data from a txt file.  For example to save on simulation time of a geo thermal system, I simulated the building loads first and saved them to a txt file formatted with each hourly load in a single column.  Then I used a Data reader to call that data.  My advice is to play with the data reader, in my opinion the options are not all that intuitive, but without too much time, you should be able to figure out how to extract the data you want and use it in TRNSYS.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">-Aaron<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> Nicholas LaHam [mailto:<a href="mailto:ndlaham@gmail.com" target="_blank">ndlaham@gmail.com</a>] <br>
<b>Sent:</b> Thursday, August 11, 2011 1:00 PM<br><b>To:</b> <a href="mailto:TRNSYS-users@cae.wisc.edu" target="_blank">TRNSYS-users@cae.wisc.edu</a><br><b>Subject:</b> [TRNSYS-users] excel question<u></u><u></u></span></p>
</div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I looked at the examples for calling excel but I think what I am trying to achieve is different, maybe someone can help or tell me if it's possible.<u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Is it possible to have TRNSYS actually use inputs or parameters (as strings) from an excel spreadsheet. For instance, say I set a parameter in TRNSYS for volume to a string, V_Tank. Then I have a certain cell in my spreadsheet with the number I want to use in my simulation. Is it possible to use the excel component to set V_Tank to whatever my cell in excel is set at?<u></u><u></u></p>
</div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Also, it is possible to go in reverse? Can I have outputs of TRNSYS go to excel?<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p>
</div><div><p class="MsoNormal">I tried a few things and can't seem to get the component to work.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Thanks,<u></u><u></u></p>
</div><div><p class="MsoNormal">Nick<u></u><u></u></p></div></div></div></div></div></blockquote></div><br></div></div>