<html>
<body>
Amandine,<br>
  This is a common error. The format of the data file read by
DynamicData is:<br><br>
Values of X3<br>
Values of X2<br>
Values of X1<br>
Data<br><br>
what you used is:<br><br>
Values of X1<br>
Values of X2<br>
Values of X3<br>
Data<br><br>
I think you need to rearrange your call to DynamicData so that it reads
(changes are noted in bold):<br><br>
<font face="arial" size=2><x-tab>
        </x-tab>X(1) =
<b>THW_IN<br>
</b><x-tab>        </x-tab>X(2) =
TCW_IN<br>
<x-tab>        </x-tab>X(3) =
<b>TCHW_T1<br>
</b><x-tab>        </x-tab>CALL
DYNAMICDATA(LU_S1,NX,NVAL,NY,X,Y,INFO,*10)<br>
<x-tab>        </x-tab>CALL
LINKCK('TYPE807','DYNAMICDATA',1,807)<br>
10   <x-tab>   </x-tab>IF (ErrorFound()) RETURN
1<br>
<x-tab>        </x-tab>
FNCAP=Y(1)<br>
<x-tab>        </x-tab>
FNCOP=Y(2)<br><br>
</font>Kind regards,<br>
 David<br><br>
<br><br>
At 08:26 6/13/2006, Amandine LE DENN wrote:<br>
<blockquote type=cite class=cite cite=""><font face="arial" size=2>Dear
users,<br>
</font> <br>
<font face="arial" size=2>a DynamicData procedure is included in Type107
code and it seems a bit different that what's described in Trnsys
Programmers guide. In a handmade Type, I try to read my own file but
DynamicData always give me the wrong solution.<br>
</font> <br>
<font face="arial" size=2>the code is the following:<br>
C  GET THE PERFORMANCE DATA FROM THE S1 DATA FILE: FRACTION OF
DESIGN CHILLED WATER CAPACITY <br>
C  AND FRACTION OF DESIGN COP ARE FUNCTION OF INLET HOT WATER
TEMPERATURE, INLET COOLING <br>
C  WATER TEMPERATURE AND OUTLET CHILLED WATER TEMPERATURE
LEVEL<br><br>
  NVAL=3<br>
  NY=2<br>
  NX(1)=5<br>
  NX(2)=3<br>
  NX(3)=5<br>
  X(1)=TCHW_T1<br>
  X(2)=TCW_IN<br>
  X(3)=THW_IN<br>
  CALL DYNAMICDATA(LU_S1,NX,NVAL,NY,X,Y,INFO,*10)<br>
  CALL LINKCK('TYPE807','DYNAMICDATA',1,807)<br>
10   IF (ErrorFound()) RETURN 1<br>
  FNCAP=Y(1)<br>
  FNCOP=Y(2)<br>
</font> <br>
<font face="arial" size=2>and data file is (separation = tab):<br>
 <br>
</font><font face="arial">5.5 6 7 8 9 !Chilled Water Temperature output
at previous timestep    <br>
24 29.5 31   !Entering Cooling Water
Temperature    <br>
75 80 85 88 95 !Inlet Hot Water Temperature    <br>
0.87671 0.88571  ! Fraction of design capacity and design COP
at    5.5 24 75<br>
0.98630 0.88571  ! Fraction of design capacity and design COP
at    5.5 24 80<br>
y1  y2    ! Fraction of design capacity and design
COP at    5.5 24 85<br>
etc...<br>
</font><font face="arial" size=2> <br>
</font> <br>
<font face="arial" size=2>Can someone detect the problem..?<br>
</font> <br>
<font face="arial" size=2>thank you for your help,<br>
</font> <br>
<font face="arial" size=2>Amandine LE DENN<br>
</font>_______________________________________________<br>
TRNSYS-users mailing list<br>
TRNSYS-users@engr.wisc.edu<br>
<a href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users" eudora="autourl">
https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a></blockquote>
<x-sigsep><p></x-sigsep>
****************************************************************************************<br>
Thermal Energy System Specialists (TESS), LLC <br>
David
BRADLEY                          
2916 Marketplace Drive - Suite 104 <br>
Partner                                       
Madison, WI 53719 <br>
Phone: (608) 274-2577 USA <br>
Fax: (608) 278-1475 <br>
E-mail: bradley@tess-inc.com <br>
Web Pages: 
<a href="http://www.tess-inc.com/" eudora="autourl">
http://www.tess-inc.com</a>    
and     
<a href="http://www.trnsys.com/" eudora="autourl">
http://www.trnsys.com<br><br>
</a>"Providing software solutions for today's energy engineering
projects" <br>
****************************************************************************************<br>
</body>
</html>