[TRNSYS-users] Reading Parameter from Types
s0537085
s0537085 at HTW-Berlin.de
Wed Mar 7 07:01:54 PST 2018
Hey David,
thank you for your hint.
I´ll use your solution for the parameter-issue.
And concerning the code, I found the problem. The values for lamdaa,tetaa
etc. are also arrays. So I tried to write an array(x) to a single slot of
my SPEICHER-Array.
Kind regards,
Tom
Von: TRNSYS-users <trnsys-users-bounces at lists.onebuilding.org> Im Auftrag
von David BRADLEY via TRNSYS-users
Gesendet: Montag, 5. März 2018 22:02
An: s0537085 via TRNSYS-users <trnsys-users at lists.onebuilding.org>
Cc: David BRADLEY <d.bradley at tess-inc.com>
Betreff: Re: [TRNSYS-users] Reading Parameter from Types
Tom,
Parameters cannot be passed from one component to another. The best
solution, I think, would be to take the pipe diameter as a parameter to your
model. In the simulation studio you can then set the value of that parameter
as the result of an equation (select units of "string" in Trnsys17 or units
of "variable name" in Trnsys18). Then define an equation such as
pipe_dia = 0.02
and use pipe_dia as the value of the parameter for both components.
kind regards,
David
On 03/04/2018 14:45, s0537085 via TRNSYS-users wrote:
Dear TRNSYS-Community,
for my own type I need to know the diameter of type 31, in order to apply
Torricelli´s Law. There for I´m looking for an solution to get the parameter
of type 31. Is there a way?
Kind regards
Tom
_______________________________________________
TRNSYS-users mailing list
<mailto:TRNSYS-users at lists.onebuilding.org>
TRNSYS-users at lists.onebuilding.org
<http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org>
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
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
<mailto:d.bradley at tess-inc.com> d.bradley at tess-inc.com
<http://www.tess-inc.com> http://www.tess-inc.com
<http://www.trnsys.com> http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20180307/691a7c7d/attachment.htm>
More information about the TRNSYS-users
mailing list