<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1252"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Amandine<br>
<br>
I think there may be a misunderstanding due to the variables names used
in the example in the manual, and the variables used in Type107. But
you are right, that there is a typo in the manual, it should read:<br>
NX(1) = 2<br>
NX(2) = 3<br>
<blockquote cite="mid004201c68eec$f7917950$d000a8c0@Delldaniel"
type="cite">
<div> <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. </font></div>
</blockquote>
Using your call to DYNAMICDATA, <br>
<font face="Arial" size="2">CALL
DYNAMICDATA(LU_S1,NX,NVAL,NY,X,Y,INFO,*10)<br>
the variables should contain the following information:<br>
<br>
NX = 3 !Number of independent variables<br>
NY = 2 !Number of dependent variables<br>
<br>
NVAL(1) = 5<br>
NVAL(2) = 3<br>
NVAL(3) = 5<br>
<br>
<br>
Please let me know if this solves your problem.<br>
Best regards,<br>
<br>
Diego<br>
<br>
<br>
</font><br>
<blockquote cite="mid004201c68eec$f7917950$d000a8c0@Delldaniel"
type="cite">
<div><font face="Arial" size="2">In a handmade Type, I try to read my
own file but DynamicData always give me the wrong solution.</font></div>
<div> </div>
<div><font face="Arial" size="2">the code is the following:</font></div>
<div><font face="Arial" size="2">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</font></div>
<font face="Arial" size="2"></font>
<div><font face="Arial" size="2"><br>
NVAL=3<br>
NY=2<br>
NX(1)=5</font></div>
<div><font face="Arial" size="2"> 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)</font></div>
<div> </div>
<font face="Arial" size="2"></font>
<div><font face="Arial" size="2">and data file is (separation = tab):</font></div>
<div><font face="Arial" size="2"> </font></div>
<div><font face="Arial" size="2"><font size="3">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 </font></font></div>
<div><font face="Arial" size="2"><font size="3">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...</font></font> <br>
</div>
</blockquote>
<br>
<br>
<br>
<blockquote cite="mid004201c68eec$f7917950$d000a8c0@Delldaniel"
type="cite">
<div><font face="Arial" size="2">Can someone detect the problem..?</font></div>
<div> </div>
<div><font face="Arial" size="2">thank you for your help,</font></div>
<div> </div>
<div><font face="Arial" size="2">Amandine LE DENN<br>
</font></div>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@engr.wisc.edu">TRNSYS-users@engr.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://www.cae.wisc.edu/mailman/listinfo/trnsys-users">https://www.cae.wisc.edu/mailman/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<br>
<pre>-- </pre>
Diego A. Arias
<br>
TRNSYS Coordinator
<br>
Solar Energy Laboratory
<br>
University of Wisconsin - Madison
<br>
1500 Engineering Drive
<br>
Madison, WI 53706
</body>
</html>