[TRNSYS-users] Shut down computer after finished simulation

Michal Klimas michal.klimas at put.poznan.pl
Wed May 20 09:06:45 PDT 2015


Hi Mattias,

You may try using Python script. An example:
http://stackoverflow.com/questions/14764126/how-to-make-a-python-script-which-can-logoff-shutdown-and-restart-a-computer

Unfortunaltelly I'dont have so much experience using Python but this is 
just a direction you can go.
You can always use any other language, even Excel VBA shoul work.


good luck
Michal



On 2015-05-20 13:49, Mattias Ericsson wrote:
>
> 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/20150520/b2261691/attachment-0003.htm>
-------------- next part --------------
An embedded message was scrubbed...
From: unknown sender
Subject: no subject
Date: no date
Size: 248
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20150520/b2261691/attachment-0003.eml>


More information about the TRNSYS-users mailing list