[TRNSYS-users] Solver 1 Error

Krishna krishna at cdhenergy.com
Mon Jul 25 13:00:59 PDT 2005


Hi David,
               The error with The Powell's method not working is occuring at Line 99 in Type109.f90

      do iunit=1,maxu+1        ! FIGURE OUT WHICH OF THE TYPE9 UNITS THIS IS
        if(unit(iunit) == info(1)) exit
      enddo
      if (iunit>maxu) goto 750 !ERROR

>From the code above it seems that the loop causing iunit to increase upto maxu+1. Then after the loop a check is performed to see if iunit>maxu which raises the error. I am not sure why this is not happening for solver 0.

Krishna


  ----- Original Message ----- 
  From: David Bradley [SEL] 
  To: Krishna 
  Cc: trnsys-users at engr.wisc.edu ; Diego ARIAS 
  Sent: Monday, July 25, 2005 10:50 AM
  Subject: Re: [TRNSYS-users] Solver 1 Error


  Krishna,
    I have just done some testing and I do not find any problems running a SOLVER 1 simulation that contains Type109.  In looking at the Type109 code, it would appear that you can get Error139 if you exceed the maximum number of Type109 instances in a given simulation. By default you are able to have 10 instances of Type109. If you would like to send me the input file that is giving you trouble, I would be happy to take a look at it. You can email it and any accompanying data files to dbradley at engr.wisc.edu.
  Kind regards,
    David

  Krishna wrote: 
    Could any one let me know if Type 109 weather data is compatible with Powell method (Solver 1). When I run the simulation the program crashes and I get the following error in the list file.

    ***** ERROR *****        TRNSYS ERROR # 139
     UNIT 109 TYPE 109 NOT FOUND IN PROGRAM MEMORY.

     This simulation runs fine with Solver 2.
    Thank you,
    Krishna
----------------------------------------------------------------------------
_______________________________________________
TRNSYS-users mailing list
TRNSYS-users at engr.wisc.edu
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users
  

-- 
David BRADLEY
TRNSYS Engineer
Solar Energy Laboratory - University of Wisconsin, Madison
1500 Engineering Drive
Madison, WI  53706  
United States

ph: +1 608 263 1589
fax: +1 608 262 8464
email: dbradley at engr.wisc.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20050725/5cbf21c1/attachment-0005.htm>


More information about the TRNSYS-users mailing list