<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>David,</p>
<p> What you are proposing is quite feasible. Trnsys certainly does
not require that weather data be provided hourly. If you had a
file containing minute data then you could read it in using Type9.
Your case is a bit different of course and I think you'd need to
write a component to collect the incoming data and then just put
it into a data structure that would be passed as outputs of your
Type. You might also need to add some code to your Type so that
when called it sits and waits until it gets more data from its
incoming source. Last fall I had to do something similar. In my
case some data was coming in from another software tool. I had to
wait until that data was completely written into a file before I
could read it all in and set it as outputs. Transferring data by
files is slow and clumsy; there are far more efficient ways of
doing it. In our case we opted for "easy to understand" over
"efficient" because it was just a proof of concept.<br>
</p>
<p>kind regards,</p>
<p> David</p>
<p><br>
</p>
<div class="moz-cite-prefix">On 02/23/2022 07:42, David Sengl via
TRNSYS-users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:014301d828bb$426cc690$c74653b0$@technikum-wien.at">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style>@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}@font-face
{font-family:"Rubik Light";}p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}div.WordSection1
{page:WordSection1;}</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="WordSection1">
<p class="MsoNormal">Dear TRNSys-Users,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="font-family:"Rubik
Light";mso-fareast-language:DE-AT" lang="DE-AT">for my
project i receive data via a MQTT-connection in order to
simulate a building. This data-connection also includes
real-time weather data from a sensor which should be used to
compare the simulation with the real building. Is it
possible to read the real-time data directly into a
weather-data without creating a file? Type 15 and 99 require
a file. As the data is collected every Minute it would be
great to also simulate each timestep and not to wait for 60
minutes, create a file and then simulate with the given
file.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks in advance!<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">David<o:p></o:p></p>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
TRNSYS-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:TRNSYS-users@lists.onebuilding.org">TRNSYS-users@lists.onebuilding.org</a>
<a class="moz-txt-link-freetext" href="http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org">http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">--
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
<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>