Hi Krishna,
Please
look at the FAQ at
http://sel.me.wisc.edu/trnsys/faq/faq.htm#General
Werner
Q: How can I run TRNSYS (perhaps from
another program or batch file) and avoid having to click 'Continue' or 'Yes' at the end of each simulation?
A: From the command
line, the "/N" switch is used to tell TRNExe.EXE that you don't want the dialog box at the end of the simulation.
For example, to run the input file called C:\Program
Files\Trnsys16\Examples\SDHW\SDHW.dck such that
no dialog box is produced at the end of the simulation, the following command
line statement would be used:
"C:\Program Files\Trnsys16\Exe\TRNExe.exe" "C:\Program
Files\Trnsys16\Examples\SDHW\SDHW.dck" /n
Furthermore, the "/h" switch is also available if you need TRNSYS to
run completely in the background (without even creating a Window). The /h
switch implies /n and is only applicable to simulations that do not use the
online plotter (Type 65):
"C:\Program Files\Trnsys16\Exe\TRNExe.exe" "C:\Program
Files\Trnsys16\Examples\SDHW\SDHW.dck" /h
De :
trnsys-users-bounces@engr.wisc.edu [mailto:trnsys-users-bounces@engr.wisc.edu] De la part de Krishna
Envoyé : jeudi 23 juin 2005
23:52
À :
trnsys-users@engr.wisc.edu
Objet : [TRNSYS-users]
calling trnsys from command prompt
Could anyone let me know if it is
possible to call TRNExe without the interface. I see that we can pass it
the file name at the command prompt. But it would be good if the calculation
progress window does not show up and does not prompt to continue at the end.
Perhaps there are some kind of
switch that we could set to prevent this.