<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Kordu,<br>
One thing to be careful of is that if you change the units of the
simulation time step to minutes (from its default of hours) and
enter a value of 5, then change the units back to hours, you'll
notice that the conversion is not perfect. Also 5 minutes, expressed
in hours, is a continuously repeating decimal. What I would
recommend is that you enter the following two lines in the "control
cards" field:<br>
<br>
EQUATIONS 1<br>
delt = 5/60<br>
<br>
set both the simulation time step and the Type9 data interval
parameter to units of "string" and enter the name of the equation
that you defined: delt. This will force both the simulation time
step and the data interval to be the result of two integers divided
by each other and they will be precisely equal as far as the TRNSYS
engine is concerned. My guess as to the cause of your problem is
that where the TRNSYS engine is concerned, the two values are not
identically equal.<br>
<br>
You might also look at the example:<br>
<br>
..\Trnsys16_1\Examples\Reading Data Files\DataReaders.tpf<br>
<br>
It is often easier to start with something that already works!!<br>
regards,<br>
David<br>
<br>
<br>
On 9/20/2011 03:59, kordou wrote:
<blockquote cite="mid:231BAFF94F9C4BF5BF45D39359514D54@lptaiolos"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 11 (filtered
medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">Hi,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">I am trying to
valuate a new type that I have made in
trnsys 16 with some experimental measurements.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">To do this I need
to import some measurement weather
data (Total solar rad, Tamb, Wind speed and direction, RH,
a room temperature, and
a voltage) <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">The measurements
that I have are based on time
interval of 5min.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">So I fount that I
could use the type9a (Utility </span></font><font
face="Wingdings" size="2"><span
style="font-size:10.0pt;font-family:
Wingdings" lang="EN-US">à</span></font><font face="Arial"
size="2"><span style="font-size:10.0pt;font-family:Arial"
lang="EN-US">Data readers -->Generic Data
Files</span></font><font face="Wingdings" size="2"><span
style="font-size:10.0pt;font-family:Wingdings"
lang="EN-US">à</span></font><font face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial" lang="EN-US">First
Line
is Simulation Start </span></font><font face="Wingdings"
size="2"><span
style="font-size:10.0pt;font-family:Wingdings"
lang="EN-US">à</span></font><font face="Arial" size="2"><span
style="font-size:10.0pt;font-family:Arial" lang="EN-US">Free
Format)
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">The problem that I
have is that if I input a dt=5min
on type9a and the same dt in simulation, it does not run.
<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">If I Input dt=5min
on Type9a and 1min in simulation
it runs but in results of the total simulation time is the
double minus 1 hour
from the expected!!!<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">With that I mean
that I got the results of one day (24
hr) twice in this time period minus 1 hr. (For 24 hours
of simulation I got
a curve of 47 hours)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">It is like the
trnsys reads the input file in about
the half time of the real so I get 2 times this file <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">Could someone help
here?<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">Thank you in
advanced <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">Regards<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US">Kordou<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size:
10.0pt;font-family:Arial" lang="EN-US"><o:p> </o:p></span></font></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@cae.wisc.edu">TRNSYS-users@cae.wisc.edu</a>
<a class="moz-txt-link-freetext" href="https://mailman.cae.wisc.edu/listinfo/trnsys-users">https://mailman.cae.wisc.edu/listinfo/trnsys-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy Systems Specialists, LLC
22 North Carroll Street - suite 370
Madison, WI 53703 USA
P:+1.608.274.2577
F:+1.608.278.1475
<a class="moz-txt-link-abbreviated" href="mailto:d.bradley@tess-inc.com">d.bradley@tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.tess-inc.com">http://www.tess-inc.com</a>
<a class="moz-txt-link-freetext" href="http://www.trnsys.com">http://www.trnsys.com</a></pre>
</body>
</html>