[TRNSYS-users] problem with the STEM subroutine

David Bradley bradley at tess-inc.com
Fri Feb 18 09:59:58 PST 2005


Hello Lourdes,
   It sounds as though the problem may come from there being two different 
subroutines that produce steam properties. The one in standard TRNSYS is 
called "steam" while the one in the STEC library is called steam3 if I am 
not mistaken. In your first example:

>             CALL STEAM('SI',PROP,35,IERR,*84)
>             CALL LINKCK('TYPE219','STEAM ',1,99)
>    84       CONTINUE

I think you are calling the standard STEAM routine while in your second 
example:

>             CALL STEAM3('SI',PROP,35,ierr,*84)
>             CALL LINKCK('TYPE219','Steam3',1,99)
>    84       CONTINUE

you are calling the STEC library subroutine. From your description it 
sounds like your conditions may be outside the boundaries of the steam 
property algorithms in both subroutines. The only way to find out, 
unfortunately, is to step through the code of your call into each of the 
STEAM subroutines and to determine where they are going wrong. I might also 
mention that a lot of improvements were made to the standard STEAM routine 
for the release of TRNSYS 16.
Kind regards,
   David

****************************************************************************************
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 at tess-inc.com
Web Pages:  http://www.tess-inc.com     and      http://www.trnsys.com

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





More information about the TRNSYS-users mailing list