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

Re: [TRNSYS-users] Issues with STEC library - air receiver



Lisa,
  The best way to go about solving this problem is to step one line at a time through the code while your simulation is running from the debugging/compiling environment. In order to do this, of course, you need to have a Fortran compiler. If you have access to the Intel Visual Fortran (IVF) compiler then you can load the IVF project that is included in the ..\Trnsys17\Compilers\IVF11x\ directory, add the STEC Library components to the project and begin the debugging process that way. Put breakpoints into the air receiver component code. Once you hit a breakpoint you can then step one line at a time and look at intermediate values until you hit the line in question.
Kind regards,
 David


On 8/7/2014 04:22, Lisa Hagg wrote:

Hi, 

I'm currently doing my master thesis with the help of TRNSYS, but there seems to be an issue which I can't overcome.

The issue is within the air receiver in the STEC library. As soon as the air flow is set to a value of 8040 and below a fortran error occurs. The error code is 696: real zero raised to negative power. However I have looked in the source code of the type (422) and I can't find a negative power anywhere, so I don't understand how 0 can be raised to a negative power in the type, when there seems to be no negative power in the code at all. 

I have isolated each type used in my code, and all signs point towards the air receiver being the issue, since the other types work by there own when the air flow is set below 8140. 

I have also seen quite a few papers that use a heat exchanger as the tower, but still have the air receiver. Is this necessary and something I should do as well? Because I thought that the air receiver was the tower, but that might not be the case. 

All kind of help is very appreciated!

Kind regards,

Lisa Hägg




_______________________________________________
TRNSYS-users mailing list
TRNSYS-users@lists.onebuilding.org
http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org

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