<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>If the arrays are put into a common block is it still possible for the TRNSYS solver to evaluate their values as if they were connected as inputs and outputs.  For example: Component A outputs an array of temperatures to the input of component B, that output from A is a function of the output of heat transfer rates of component B . Component A uses this heat transfer array to solve for an array of thermal resistances which produce the output A array of temperatures.   So would using a common block allow for the TRNSYS solver to essentially guess the array of resistances until the outputs no longer change from each iteration above the acceptable tolerance?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></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;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Jeff Thornton [mailto:thornton@tess-inc.com] <br><b>Sent:</b> Thursday, June 02, 2011 1:09 PM<br><b>To:</b> Aaron J. Danenberg; trnsys-users@cae.wisc.edu<br><b>Subject:</b> Re: [TRNSYS-users] Passing Large Arrays Between Components as Inputsand Outputs<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>If it was me, I'd probably put the arrays in a common block such that both models had access to the arrays.  I can't imagine trying to hook up 5000 input/output connections....<br><br>Jeff<br><br>Jeff Thornton <br>President - TESS, LLC <br><br>22 North Carroll Street - Suite 370<br>Madison WI 53703 USA <br><br>Phone: 608-274-2577 <br>Fax: 608-278-1475 <br>E-mail: thornton@tess-inc.com <br>Web: www.tess-inc.com<br><br><br><o:p></o:p></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><strong>----- Original Message -----</strong><br><strong>From:</strong> "Aaron J. Danenberg" <danenberg@hartford.edu> <br><strong>Sent:</strong> Thu, June 2, 2011 11:52<br><strong>Subject:</strong> [TRNSYS-users] Passing Large Arrays Between Components as Inputsand Outputs<o:p></o:p></p><table class=MsoNormalTable border=0 cellspacing=5 cellpadding=0 width="100%" style='width:100.0%'><tr><td style='padding:.75pt .75pt .75pt .75pt'><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>As I currently understand, if an output/input value is an array of values, you need to manually connect each value with an output of one component to a an input of another component.  If an output has an array of 5,000 values that needs to connect to an input of these 5,000 values is there a quick way of connecting all of the "nodes" or do you need to manually connect each node in the array?  If anyone has any examples of connecting two components that pass large arrays between components it would be very helpful. Thanks!  <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Aaron J. Danenberg<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Graduate Research Assistant<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Candidate for Master of Mechanical Engineering, September 2011<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>University of Hartford<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Dana Hall 103, Research Laboratory 1<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>200 Bloomfield Ave.<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>West Hartford, CT 06117<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div></div><div class=MsoNormal align=center style='text-align:center'><hr size=1 width="100%" noshade style='color:#A0A0A0' align=center></div><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>TRNSYS-users mailing list<o:p></o:p></pre><pre><a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a><o:p></o:p></pre><pre><a href="https://mailman.cae.wisc.edu/listinfo/trnsys-users" target="_blank">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a><o:p></o:p></pre></div></td></tr></table><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>