[TRNSYS-users] Writing to a file at the end of a simulation

2 posts / 0 new
Last post

Dear all,

I am currently writing a user type which needs to create a xxx.txt file at the end of the simulation containing some information that was created during the simulation. I assume that, when creating the according component, I can use the FILES tab to define the write path (or have the user define it). However, I do not know how to get access to this information in my C++ code. There is some "getlistingfilelogicalunit" function in the Trnsys header, but I have no clue how to use it. Is there any documentation or simple example available?

I appreciate your help!
All the best
J?rn

Dr.-Ing. J?rn von Grabe, M.Sc.
Wissenschaftlicher Mitarbeiter und Postdoktorand

Universit?t Liechtenstein
Institut f?r Architektur und Raumentwicklung
F?rst-Franz-Josef-Strasse, 9490 Vaduz, Liechtenstein
Telefon +423 265 11 11, Direkt +423 265 11 39
joern.vgrabe at uni.li, www.uni.li

Bleiben wir in Verbindung:
Facebook | YouTube | Twitter | LinkedIn

=?iso-8859-1?Q?von_Grabe_J=F6rn?='s picture
Joined: 2016-04-05
Reputation: 0