[TRNSYS-users] How to pass variable defined by equation to parameters

吉永 美香 yoshi at meijo-u.ac.jp
Thu Oct 30 18:59:49 PDT 2014


Dear Sasuda-san,

Nice to hear you. Thanks for your comment.
Yes, I selected "string" as unit and, additionally, optimised the order of
the components.
I attached very simple sample that creates error #125.

>TRNSYS Message    125 : The referenced Unit has a bad parameter value.
>Reported information  : Parameter # 2, Reported Problem: The pipe length
must be greater than 0.

Best regards,
Mika

===================================
Dr. Mika Yoshinaga
Associate Professor
Meijo University
Shiogamaguchi1-501,Tempaku, Nagoya
Phone: +52-838-2385
Email: yoshi at meijo-u.ac.jp
===================================



2014-10-31 10:19 GMT+09:00 Yuichi Yasuda <yasuda at qcd.co.jp>:

> Dr. Yoshinaga,
>
> If you want to use the variable as a parameter, you have to choose
> 'String' for the unit.
>
> Yuichi Yasuda
> Quattro Corporate Design
>
> (2014/10/30 18:35), 吉永 美香 wrote:
> > Dear all,
> > Does anyone know the way to pass some variables which are defined by
> > "equation" to parameters? I want to give them from an external file via
> > type9.
> >
> > Actually, we can see this example in the project semi-automatically
> > created with TRNSYS 3D. Type 15(Weather data) has a variable named
> > "AA_H_0_0" on parameter field and it is defined in an "equation". So I
> > thought it is easy thing.
> >
> > But I tried this in generic types, for example Parameters#2(pipe length)
> > of type31(pipe), and the simulation would stop with error saying the
> > parameter is invalid.
> >
> > Thanks in advance.
> >
> > Best regards,
> > Mika
> > ===================================
> > Dr. Mika Yoshinaga
> > Associate Professor
> > Meijo University
> > Shiogamaguchi1-501,Tempaku, Nagoya
> > Phone: +52-838-2385
> > Email: yoshi at meijo-u.ac.jp <mailto:yoshi at meijo-u.ac.jp>
> > ===================================
> >
> >
> >
> > _______________________________________________
> > TRNSYS-users mailing list
> > TRNSYS-users at lists.onebuilding.org
> > http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
> >
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20141031/b4036902/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: parameter_string.zip
Type: application/zip
Size: 19741 bytes
Desc: not available
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20141031/b4036902/attachment-0002.zip>


More information about the TRNSYS-users mailing list