[TRNSYS-users] variable storage problems

David Bradley bradley at tess-inc.com
Thu Jun 1 06:48:18 PDT 2006


Jeroen,
   I am infamous among my colleagues for having caused the problem that you 
describe more times than any one else. I looked at the code you sent and 
cannot directly see the cause of the problem. It looks to me as though you 
are using getStorageVars and setStorageVars() properly. My initial guess 
was that you might not want to update the storage array at the end of each 
iteration but only at the end of the time step (when INFO(13) > 0) but 
without seeing it run, I cannot be certain. If you have a simple project 
that uses two instances of the thermostatic valve, I would be happy to take 
a look at it from the debugger.
Cheers,
  David

At 08:02 6/1/2006, Jeroen Van der Veken wrote:
>Dear all,
>I have made a thermostatic valve model based on the old type including
>pipes, a thermostatic valve and a radiator (currently named type 207, it
>seems).
>It works fine when I use only one type in a project, but if I use more
>than one, the stored values seem to interfere.
>When I make a copy of the valve model, give it another type number, use
>another name for the storage array and compile it; this new type works
>fine next to the original type. However, I need 9 thermostatic valves
>next each other and it's not really an elegant solution.
>Is there another way to avoid this problem ?
>
>Greetings,
>Jeroen Van der Veken
>
>--
>Ir.Jeroen Van der Veken
>Afdeling Bouwfysica
>Katholieke Universiteit Leuven
>Kasteelpark Arenberg 40
>3001 Heverlee
>T: +32 16 32 13 47
>F: +32 16 32 19 80
>@: jeroen.vanderveken at bwk.kuleuven.be
>
>NEW MAILADRES WITHOUT .AC !!
>
>
>Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
>
>_______________________________________________
>TRNSYS-users mailing list
>TRNSYS-users at engr.wisc.edu
>https://www.cae.wisc.edu/mailman/listinfo/trnsys-users

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