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

Re: [TRNSYS-users] Starting a TRNSED application from a batch file (or similar)



Jochen,
It is possible to start the TRNExe directly with the name of an input file either from the command line or from a batch file. As far as I know it is not possible to start TRNSED that way, however. I'm not sure I see the advantage of starting TRNSED since it is intended as an interface to make targeted modifications to an input file. It would be wise to contact your distributor about running TRNSYS in this mode to make sure that you are respecting the license agreement; they can give you guidance about the correct syntax of the call.
Best,
 David


On 4/28/2011 05:58, Jochen Doell wrote:
Dear TRNSYS users,

is it possible to start a TRNSED application from a batch file without having to select a file and klicking something somewhere?
So far, I succeeded in starting the exe with a batch file like this:

@echo off
start "" "MyTrnsedApp.exe"
exit

But I still have to klick ok in the popup window, choose the .trd file and then start the simulation manually.

Any ideas? I am free to migrate to other ways than batch files...

Best regards,
Jochen


--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI  53703 USA

P:+1.608.274.2577
F:+1.608.278.1475
d.bradley@tess-inc.com

http://www.tess-inc.com
http://www.trnsys.com