<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Michele,<br>
Everything that you noted down in your problem description looks
correct. You do not need to put all the EES variables into the
outputs, only the ones that you want EES to put onto the clipboard
and pass back to TRNSYS (so 1 in your case). The Type66 parameter
for the number of expected outputs has to match the number of values
that EES places on the clipboard of course but it sounds as though
you already checked that. One thing that concerns me a bit is the
use of the "," as a decimal separator. It is possible that TRNSYS is
interpreting a result of 123,45 pasted to the clipboard as two
numbers: 123.0 and 45.0. <br>
kind regards,<br>
David<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On 04/19/2016 07:59, Michele Pressiani
wrote:<br>
</div>
<blockquote
cite="mid:HE1PR06MB1740EAF6CCA88884429BBA03D56C0@HE1PR06MB1740.eurprd06.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>To whom I may concern,</p>
<p>I´m trying to link together TRNSYS 17 (Version 5.4.0.0) with
EES (Version 9.920) using Type66a.</p>
<p><br>
</p>
<p>The main script in EES is:</p>
<p><br>
</p>
<div>
<div>$Import 'CLIPBOARD' T_ambient;G</div>
<div><br>
</div>
<div>T_amb=T_ambient+273,15<span class="Apple-tab-span" style="white-space:pre"> </span>
"[K]"</div>
<div>v_wind=3<span class="Apple-tab-span" style="white-space:pre"> <span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></span>"[m/s]"</div>
<div>k_sub=420<span class="Apple-tab-span" style="white-space:pre"> <span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></span>"[W/m/K]"</div>
<div>dz_sub=0,1 <span class="Apple-tab-span" style="white-space:pre"> <span>
</span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></span>"[m]"</div>
<div>T_1=25+273,15 <span class="Apple-tab-span" style="white-space:pre"><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></span>"[K]"</div>
<div>h=2,8+3*v_wind<span class="Apple-tab-span" style="white-space:pre"> <span> </span><span> </span><span> </span><span> </span><span> </span><span> </span><span> </span></span>"[W/m2/K]"</div>
<div>h_cond=k_sub/dz_sub<span class="Apple-tab-span" style="white-space:pre"> <span>
</span><span> </span><span> </span></span>"[W/m2/K]"</div>
<div><br>
</div>
<div>h*(T-T_amb)+h_cond*(T-T_1)+G=0</div>
<div><br>
</div>
<div>$Export 'CLIPBOARD' T</div>
</div>
<br>
<p>I set two inputs and one ouput.</p>
<p>For the inputs:</p>
<p>- I used Type 15-6 in order to get the Dry Bulb Temperature (<span
style="font-family: Calibri, Arial, Helvetica, sans-serif,
'Apple Color Emoji', 'Segoe UI Emoji', NotoColorEmoji,
'Segoe UI Symbol', 'Android Emoji', EmojiSymbols; font-size:
16px;">T_ambient)</span> and the Total Horizontal Radiation
(<span style="font-family: Calibri, Arial, Helvetica,
sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',
NotoColorEmoji, 'Segoe UI Symbol', 'Android Emoji',
EmojiSymbols; font-size: 16px;">G</span>)</p>
<p>For the output:</p>
<p>-I used the online plotter Type 65c in order to visualize T.</p>
<p><br>
</p>
<p>In the control cards I set:</p>
<p>-Simuluation start time 12 hr</p>
<p>-Simulation Stop Time 15 hr</p>
<p>-Simulation time step 10 min</p>
<p><br>
</p>
<p>When I run the TRNSYS project then I find error related to
MESSAGE 129: "<i style="white-space: pre-wrap; font-size: 12pt;">The referenced Unit has tried to set an
</i><i style="white-space: pre-wrap; font-size: 12pt;">Output value higher than the number of Outputs that the Type reserved
</i><i style="white-space: pre-wrap; font-size: 12pt;">for itself."</i></p>
<p><br>
</p>
<p>Then if I check on EES I find:</p>
<p>T_ambient=<span style="font-size: 12pt;">2,982E+14 </span></p>
<div>G=3,385E+14 </div>
<div><br>
</div>
<div>I have two questions: </div>
<div>1- Why this values are so high? Am I missing anything?</div>
<div>2- Do I have to put like output from EES all the variables
even if I want to see only one of them?</div>
<div><span> </span><span> </span>$Export 'CLIPBOARD'
T;T_amb;v_wind;k_sub;dz_sub;T_1;h;h_cond<br>
</div>
<div><br>
</div>
<div>Would you mind helping me with this problem?</div>
<div>Thanks you so much! </div>
<div><br>
</div>
<div>Regards,</div>
<div>Michele Pressiani</div>
<div><br>
</div>
<br>
<span style="font-size: 12pt;"></span>
<div><br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</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>