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

Re: [TRNSYS-users] Error message



Anthony,
  The short answer to your question is that no, there is no way that TRNSYS can send you an email when it completes. I did write a component that plays a sound when one of its inputs is triggered because I wanted to know when my simulation ran into a particular combination of conditions. You'd have to monitor the simulation but at least it would alert you. The component is in the Trnsys17 TESS Utility Library.

  There is also a "triggered printer" component in the TESS Utility Library that will write to a file when its input is triggered. I'm not sure how you would trigger the printer when an error occurs because at that point the simulation is stuck.

Lastly, which version of TRNSYS are you running? With the release of Trnsys16 in 2004, the window data for a particular building was contained in the building description file (*.bui or later in Trnsys17 *.b17). It shouldn't need to go find anything in the w4-lib.dat. If you are picking different windows from one optimization to another, you can include them all in the *.bui each with a different ID, then choose the window ID that you want to run in a particular iteration of your optimization.

Best,
 David


On 4/9/2013 09:03, Anthony Rey wrote:

Dear TRNSYS users,

I perform optimizations via GenOpt, which is a optimization program for the minimization of a cost function .
As you can guess, the cost function is evaluated by TRNSYS. 
I try to enhance optimizations in terms of speed and accuracy and therefore I need to check how long an optimization takes.
The problem is that, sometimes, TRNSYS can't find the library (lib/basic/W4-lib.dat) and then GenOpt gets stuck, but its chronometer keeps on running.
Consequently, I can't use it. 
For this reason, I would like to know whether there exists a way to make TRNSYS send me an email when a problem occurs. 
Thus, I would be able to know how long an optimization takes - for real. 

Thank you so much for your consideration.

I am looking forward to hearing from you.

Best regards,

Anthony Rey

-----------------------------------------------------------------------------------------------------------------

M2  Génie de l’Habitat

Université Paul Sabatier – Toulouse III

Tél : 43. 88. 75. 11. 68

Mél : anthony.rey2@univ-tlse3.fr           

------------------------------------------------------------------------------------------------------------------



_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@cae.wisc.edu
https://mailman.cae.wisc.edu/listinfo/trnsys-users

-- 
***************************
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