[TRNSYS-users] Shut down computer after finished simulation
Schranzhofer, Hermann
hermann.schranzhofer at tugraz.at
Thu May 21 05:37:09 PDT 2015
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 at lists.onebuilding.org] Im Auftrag von Mattias Ericsson
Gesendet: Mittwoch, 20. Mai 2015 13:50
An: TRNSYS-list (trnsys-users at 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 at varmex.se<mailto:mattias.ericsson at varmex.se>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150521/97d17455/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3005 bytes
Desc: image001.jpg
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150521/97d17455/attachment-0003.jpg>
More information about the TRNSYS-users
mailing list