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

Re: [TRNSYS-users] Error 409



Marcus,
  That message is a warning and it may be that the actual error occurs before the warning is written. You can probably test whether Type340 is the problem by running a simulation that has only a Type340 in it, then adding a second and trying to rerun the simulation. If the problem is indeed in Type340 then the simplest (but somewhat dirty) fix is to open the Type340 code, make a copy of it and give the "new" type a new number, then compile the copy into a new DLL. You'll have to make a copy of the Type340 proforma as well. The preferred fix is to contact the Type's author and see if they are aware of the problem.
kind regards,
 David


On 08/26/2015 08:57, Marcus Gustafsson wrote:

Hi,

 

I’m working with a project that I got from a colleague at another institution. I have modified the file to work with a larger multi-zone building (6 zones compared to the original 2). The simulations worked just fine when I got the file, but now, after making these changes, the simulation stops at the first time step and I get the following message:

 

*** Warning at time       :         0.000000

    Generated by Unit     :   247

    Generated by Type     :   340

    TRNSYS Message    409 : The setStorageVars subroutine was called with an array size greater than that requested from the call by setStorageSize routine. Only the variables located at and below the limit requested by setStorageSize will be stored for this simulation. Please check the formulation of the specified TYPE, rebuild the dynamic link library and re-run the simulation

    Reported information  : Not available

 

Now, there are two units of this type in this file, none of which I have touched. Does anyone know what this error means and how to get around it?

 

Best regards,

 

 

Marcus Gustafsson

PhD student

 

Solar Energy Research Center (SERC)      Dalarna University

Fluid and Climate Technology                  KTH Royal Institute of Technology

 

+46 (0)23-778563

mgu@du.se

marcug@kth.se

 



_______________________________________________
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