Dear Pei,<br /><br />Assuming that you are working in the Simulation Studio, the way to implement Parameters with Equations is to select from the drop-down menu of that particular component's proforma, 'String'. Then, after you have defined the string variable in an Equation, simply type in the exact string variable name in the appropriate parameter.<br />Thus, no "linking" in the Studio is necessary for parameters. The example, "C:\Trnsys17\Examples\Parametric Runs\SDHW-ParametricRuns-Studio.tpf" should demonstrate this.<br /><br />Best regards,<br /><br />Matt Duffy<br /><br /><br /><!--replyfwdwrap--><div style="background-image: url(http://webmail.fusemail.com/de/r_bg_img.gif); background-repeat: repeat-x; background-position: 50% top"><strong>----- Original Message -----</strong><br /><strong>From:</strong> "Pei Ru Chao" <simplica1@hotmail.com> <br /><strong>Sent:</strong> Thu, December 1, 2011 18:09<br /><strong>Subject:</strong> [TR!
NSYS-users] Specify Constants via Equations for Parameters<br /><br /><table cellspacing="5" width="100%"><tbody><tr><td><div class="PrivateMsgDiv"><!-- begin sanitized html --><style type="text/css"></style><div class="bodyclass"><div dir="ltr"><div dir="ltr">Dear TRNSYS,<br /> <br />I would like to set constants for a number of Parameters but I realized Equations are linkable only to Inputs of the components. I have seen an example that showed constants in an Equation unlinked to any component, assuming that is setting constants for the entire system. But I don't quite understand how the variable names are chosen and how does TRNSYS know where these named variables can be used? (in my case I would like to put the constants and its associated equations in some of the parameters of the components)<br /> <br />In deck files the constants can be written in via equations quite easily, eliminating the calculation required beforehand. I wo!
uld like to add them in the graphic mode.<br /> <br />Thanks<br /
>Regards,<br /> <br />Pei<br /> </div></div></div><!-- end sanitized html --><hr noshade="" size="1" /><pre>
_______________________________________________
TRNSYS-users mailing list
<a href="javascript:bodyCreateMail('TRNSYS-users%40cae.wisc.edu')">TRNSYS-users@cae.wisc.edu</a>
<a target="_blank" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre></div></td></tr></tbody></table></div>