[TRNSYS-users] Updating TRNSYS types which use COMMON BLOCKS to version 16

David Bradley bradley at tess-inc.com
Tue Mar 31 10:24:04 PDT 2009

  Sorry for the delay in getting back to you. All of the variables that 
were previously contained in the TRNSYS COMMON blocks were moved to a 
module called "TrnsysData." What you need to do is figure out which of 
the variables in the COMMON block are actually being used by your Type 
(say, for example, that it is ITMAX and ITRACE). You then add a line 
that says:


ITMAX and ITRACE are defined in TrnsysData as integers so you don't have 
to define it again in your Type. You then delete the entire line 
starting with COMMON

Kind regards,

Jochen Doell wrote:
> Hello,
> I have a problem updating an old type to TRNSYS 16.
> After performing all changes necessary for the legacy mode the compiler 
> states the following error for 10 different variables:
> "Error: A COMMON block data object must not be an automatic object. 
> [name of the variable]"
> The user guide gives an example for the replacement of the common block, 
> but how can I find out what is the correct replacement for all other 
> variables?
> Below is an example for one of the common blocks that cause the error:
> Best regards,
> Jochen

Thermal Energy System Specialists (TESS), LLC 
David BRADLEY                      22 N. Carroll Street - Suite 370 
Partner                            Madison, WI 53703 
P: +1.608.274.2577 
F: +1.608.278.1475
E-mail: bradley at tess-inc.com 
Web Pages:  http://www.tess-inc.com    and      http://www.trnsys.com


More information about the TRNSYS-users mailing list