<div dir="ltr"><div>Dear Sasuda-san,</div><div> </div><div>Nice to hear you. Thanks for your comment.</div><div>Yes, I selected "string" as unit and, additionally, optimised the order of the components.</div><div>I attached very simple sample that creates error #125.  </div><div> </div><div>>TRNSYS Message    125 : The referenced Unit has a bad parameter value.<br>>Reported information  : Parameter # 2, Reported Problem: The pipe length must be greater than 0.</div><div> </div><div>Best regards,</div><div>Mika</div><div> </div><div>===================================<br>Dr. Mika Yoshinaga<br>Associate Professor<br>Meijo University<br>Shiogamaguchi1-501,Tempaku, Nagoya<br>Phone: +52-838-2385<br>Email: <a href="mailto:yoshi@meijo-u.ac.jp">yoshi@meijo-u.ac.jp</a><br>===================================<br> </div><div> </div></div><div class="gmail_extra"><br><div class="gmail_quote">2014-10-31 10:19 GMT+09:00 Yuichi Yasuda <span dir="ltr"><<a href="mailto:yasuda@qcd.co.jp" target="_blank">yasuda@qcd.co.jp</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dr. Yoshinaga,<br>
<br>
If you want to use the variable as a parameter, you have to choose<br>
'String' for the unit.<br>
<br>
Yuichi Yasuda<br>
Quattro Corporate Design<br>
<div><div class="h5"><br>
(2014/10/30 18:35), 吉永 美香 wrote:<br>
> Dear all,<br>
> Does anyone know the way to pass some variables which are defined by<br>
> "equation" to parameters? I want to give them from an external file via<br>
> type9.<br>
><br>
> Actually, we can see this example in the project semi-automatically<br>
> created with TRNSYS 3D. Type 15(Weather data) has a variable named<br>
> "AA_H_0_0" on parameter field and it is defined in an "equation". So I<br>
> thought it is easy thing.<br>
><br>
> But I tried this in generic types, for example Parameters#2(pipe length)<br>
> of type31(pipe), and the simulation would stop with error saying the<br>
> parameter is invalid.<br>
><br>
> Thanks in advance.<br>
><br>
> Best regards,<br>
> Mika<br>
> ===================================<br>
> Dr. Mika Yoshinaga<br>
> Associate Professor<br>
> Meijo University<br>
> Shiogamaguchi1-501,Tempaku, Nagoya<br>
> Phone: +52-838-2385<br>
</div></div>> Email: <a href="mailto:yoshi@meijo-u.ac.jp">yoshi@meijo-u.ac.jp</a> <mailto:<a href="mailto:yoshi@meijo-u.ac.jp">yoshi@meijo-u.ac.jp</a>><br>
> ===================================<br>
><br>
><br>
><br>
> _______________________________________________<br>
> TRNSYS-users mailing list<br>
> <a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><br>
> <a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><br>
><br>
<br>
_______________________________________________<br>
TRNSYS-users mailing list<br>
<a href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a><br>
<a href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org" target="_blank">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a><br>
</blockquote></div><br></div>