[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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   f: +49.711.67976.11

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@lists.onebuilding.org] Im Auftrag von Adam O' Donovan via TRNSYS-users
Gesendet: Sonntag, 12. März 2017 16:08
An: trnsys-users@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.