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

Re: [TRNSYS-users] Pond component



Kent,

I have experienced exactly the same problem with the Type 230 pond
component as you describe in your previous mail to this list (error
regarding the psychrometrics subroutine), but did not quite understand
Davids suggestion. I am curious if you have found a solution to the problem
by now.


Kind regards,

Knut Erik



                                                                           
             trnsys-users-requ                                             
             est@engr.wisc.edu                                             
                                                                        To 
             03/19/2008 06:03          trnsys-users@engr.wisc.edu          
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         TRNSYS-users Digest, Vol 39, Issue  
             trnsys-users@engr         24                                  
                 .wisc.edu                                                 
                                                                           
                                                                           
                                                                           
                                                                           
                                                                           





----- Message from David Bradley <bradley@tess-inc.com> on Wed, 19 Mar 2008
08:49:07 -0500 -----
                                                                           
          To: Kent Beason <kbeason@schlitterbahn.com>                      
                                                                           
          cc: trnsys-users@engr.wisc.edu                                   
                                                                           
     Subject: Re: [TRNSYS-users] FW: Pond component                        
                                                                           

Kent,
 I think that the DLL you are running and the Fortran code that you
attached are not quite the same. I had to make a few changes in the source
code before I was able to run the project that you sent. When I did run the
project, I got an error when the variable PRPIPEFILM got set to a negative
number, then got raised to a non integer power during the Type's iteration.
The offending equation is:

NUPIPEFILM=(0.6+0.387*RAPIPEFILM**(1./6.)/(1+(0.559/PRPIPEFILM)**(9./16.))**(8./27.))**2.


I hope that helps...
David


Kent Beason wrote:
      I am having trouble with a pond component, Type 230.  I keep getting
      an error regarding the psychrometrics subroutine, that the subroutine
      has been called with a wet bulb temp above the max wet bulb temp for
      the given pressure right after the sim starts.  Any suggestions on
      where the problem may be?


      From: Kent Beason
      Sent: Monday, February 25, 2008 5:21 PM
      To: David Bradley
      Subject: Pond component

      David,

      Attached are the studio file, list file, and source code file of the
      pond component.  The "replace" command which we last discussed did
      eliminate the 2 errors at that time, but now there is 1 error
      regarding the Psychrometrics utility routine and the simulation
      crashes at .13hour.

      Thanks for taking a look at this, and see you tomorrow.

      Kent






----------------------------------------------------------------------------------------------------------------------
NIVAs hovedkontor har flyttet til nye lokaler i CIENS - Forskningssenter
for miljø og samfunn; Gaustadalléen 21, 0349 Oslo. Meld deg på vårt
nyhetsbrev på www.niva.no