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

Re: [TRNSYS-users] Type 534 invalid floating point operation



Jens,
 My guess is that you may need to look at the section of Type534 that reserves space in the global output and storage arrays. Space is reserved in the OUT() array by setting INFO(6) and then calling TYPECK() at the start of the simulation. Space is reserved in the global storage array by calling the SetStorageSize() subroutine. The problems that you describe sounds like what happens when one component overwrites the outputs of another.
Kind regards,
 David


At 06:17 2/12/2008, Jens Apel wrote:
Dear all,
 
I?m using the type 534 storage tank of the TESS libraries. I made a small change in the code, I set the maximum number of ports to 20. Beside other components I use an online plotter with file to see and print the tank nodal temperatures. The system runs ok, but if I change the double port of the solar circle I get an invalid floating point operation error. This happens only if I have the respective plotter switched on and the tank energy balance error connected to the plotter. As soon as I switch off the plotter or disconnect the balance error everything is alright. In the output file of the plotter I get normal values for the balance error and at some times it is written ?NaN?. Those are probably the times where I get the error.
 
This is no problem for me as I don?t necessarily need the balance error and so I don?t need real help from you. I am just curious what the reason might be and if anybody of you ended up with the same behavior.
 
Thanks for any replies
 
Jens Apel
Technical University of Berlin
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

****************************************************************************************
Thermal Energy System Specialists (TESS), LLC
David BRADLEY                           2916 Marketplace Drive - Suite 104
Partner                                        Madison, WI 53719
Phone: (608) 274-2577 USA
Fax: (608) 278-1475
E-mail: bradley@tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

"Providing software solutions for today's energy engineering projects"
****************************************************************************************