[TRNSYS-users] [TRNSYS-Users] Using R to run a TRNSYS simulation

Marion Hiller via TRNSYS-users trnsys-users at lists.onebuilding.org
Mon Mar 13 05:32:46 PDT 2017


Dear Adam,

This is a message of Type 56, the building model.
Check the assign path of the building Type 56 => external file.
Did you use a relative or an absolute path?
Maybe using an absolute path helps.


Marion



-----------------------------------------------------------------------------------------------------------------------------------------------------------
Dipl.-Ing. Marion Hiller
TRANSSOLAR Energietechnik GmbH
Stuttgart - Munich - New York - Paris
t: +49.711.67976.0<tel:%2B49.711.67976.27>   f: +49.711.67976.11<tel:%2B49.711.67976.11>
www.transsolar.com/<http://www.transsolar.com/>

KlimaEngineering - Technologien für energieeffizientes Bauen und Nutzerkomfort in Gebäuden
Transsolar Energietechnik GmbH, Curiestrasse 2, 70563 Stuttgart
Amtsgericht Stuttgart - HRB 23347 / Steuernummer: 99073/00911 / USt-IdNr.: DE 152272639
Geschäftsführer: Matthias Schuler, Thomas Auer, Stefan Holst, Dieter Schnelle


Von: TRNSYS-users [mailto:trnsys-users-bounces at lists.onebuilding.org] Im Auftrag von Adam O' Donovan via TRNSYS-users
Gesendet: Sonntag, 12. März 2017 16:08
An: trnsys-users at lists.onebuilding.org
Betreff: [TRNSYS-users] [TRNSYS-Users] Using R to run a TRNSYS simulation

Dear TRNSYS-Users,

I have been attempting to run a TRNSYS simulation using system() and shell() in RStudio to open TRNExe.exe and then selected a .dck file from another folder. The command line is something similar to this.

system(paste("C:/Trnsys17/Exe/TRNExe.exe","C:/PathtoFile/File1/Building1.dck"),wait = FALSE)

The error that appears is "fortl:severe(24): end-of-life during read, unit 48, file C:\TRNSYS17\EXE\MyBuilding1.bld"

It appears to me that  instead of searching for the .bld file in /File1 it looks for it in /Exe.

I had no issues with the above command line with .dck files that have no outputs send via Type25 (printers) to external files.

Is there something in the command line within R that I am doing incorrectly or are there other issues here?

--
Kind Regards,

Adam Ó Donnabháin,
Postgraduate Researcher,
CIT,


Please, consider the environment before printing this message.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20170313/baf32d5b/attachment-0003.htm>


More information about the TRNSYS-users mailing list