<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3020" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Dear Trnsys users, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have a question concerning to the use of Dynamic 
arrays in new Trnsys types. I'm programming a new Type with fortran 90 and I'm 
using the instruction ALLOCATABLE to define the dimension of some arrays. This 
dimension is depending on an input defined in the proforma. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The issue is that I don't exactly know at 
which step iteration should I define the array dimension so that this 
dimenson keeps saved in each iteration. In other words, if I define the array 
dimension just bellow the variables definition, each time the trnsys call my 
type, the matrix appear as "Undefined pointer/array" until trnsys finds the 
ALLOCATE instruction. This happens even if I've already defined the 
dimension in previous iteration callings. This fact affects all the calculations 
because one of the arrays is the STORED array, which I use to update 
the temporary terms of my ecuations.  </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does anybody know who to solve this 
problem?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Many thanks, </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Jordi Cipriano</FONT></DIV>
<DIV><FONT face=Arial size=2>BEE-Group</FONT></DIV>
<DIV><FONT face=Arial size=2>CIMNE-Terrassa</FONT></DIV>
<DIV><FONT face=Arial size=2>CIMNE. Spain </FONT></DIV></BODY></HTML>