[TRNSYS-users] Is it possible to use a string variable in a deck file
Jeff Thornton
thornton at tess-inc.com
Wed Oct 24 09:15:44 PDT 2018
Eric,
There’s not. But you can assign all the files in your project and then pass the logical units of the ones you want to the components that need them.
ASSIGN FILE1 25
ASSIGN FILE2 26
ASSIGN FILE3 27
Equations 1
LU_Weather = 27
Unit 2 Type 876 Data Reader
Parameters 1
LU_ Weather
Hope this helps!
Jeff
Sent from my iPhone
> On Oct 24, 2018, at 11:00 AM, Eric Peterson via TRNSYS-users <trnsys-users at lists.onebuilding.org> wrote:
>
> Hi,
>
> I am making great advances my editing a deck file to be generic my establishing user defined CONSTANTS
> and then using these in the various modules that are linked in what I created with Simulations Studio.
>
> Every more utility is obtained by then adding EQUATIONS immediately thereafter to adjust the parameters called by the modules!
>
> Now may I please ask if there is a way to have a string variable so that I can change a module’s ASSIGN reference to an assortment of desirable external files, such as weather data?
>
> Eric Peterson, PhD, PE, RPEQ, M-ASHRAE TC4.2 Climatic Data
> Research Fellow in Geothermal Systems Modelling
> http://www.geotech-project.eu/?portfolio=university-of-leeds
> School of Civil Engineering, University of Leeds
> Leeds, West Yorkshire LS2 9JT United Kingdom
> Telephone +44 (-0) 11334 31957
>
> _______________________________________________
> 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/20181024/dd1e09c1/attachment.htm>
More information about the TRNSYS-users
mailing list