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

Re: [TRNSYS-users] Shut down computer after finished simulation



Hi Mattias,

 

There is a MS DOS command available doing this: http://www.computerhope.com/shutdown.htm

Thus if you just start your simulation with a batch file you can include also a shutdown:

 

The batch file would look this (or something in this direction):

 

C:\TRNSYS17\Exe TRNExe.exe D:\MyProject\simulation1\sim01.dck \n

shutdown /s

 

So, this is what I would try. Actually I did not test it :-/

 

cu

Hermann.

 

_______________________________________________________________

DI Dr. mont. Hermann Schranzhofer
Institut fuer Wärmetechnik / Institute of Thermal Engineering
TU Graz / Graz University of Technology
Inffeldgasse 25 / B, A-8010 Graz

Tel.:        +43 316 873 7314
mobil:     +43 664 60 873 7314
Fax :        +43 316 873 7305
http://www.iwt.tugraz.at/
_______________________________________________________________

 

Von: TRNSYS-users [mailto:trnsys-users-bounces@lists.onebuilding.org] Im Auftrag von Mattias Ericsson
Gesendet: Mittwoch, 20. Mai 2015 13:50
An: TRNSYS-list (trnsys-users@lists.onebuilding.org)
Betreff: [TRNSYS-users] Shut down computer after finished simulation

 

Dear TRNSYS users!

 

I am running standalone simulations on a virtual computer for which I pay a fee for every hour of runtime. I would like to have the computer shut off once the simulation is finished so I don’t have to pay for unnecessary hours if I start a simulation in the evening that finishes in the middle of the night.

 

I am creating distributable applications which I run on this virtual computer.

 

Bets regards

Mattias Ericsson

 

VX2

 

VÄRMEX AB

Solkraftsvägen 12

135 70 Stockholm

Växel : 08-448 71 90

Mobil: 070- 516 76 19

mattias.ericsson@varmex.se