[TRNSYS-users] Using real-Time Weather data
David BRADLEY
d.bradley at tess-inc.com
Thu Feb 24 07:25:39 PST 2022
David,
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.
kind regards,
David
On 02/23/2022 07:42, David Sengl via TRNSYS-users wrote:
>
> Dear TRNSys-Users,
>
> 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.
>
> Thanks in advance!
>
> Best regards,
>
> David
>
>
> _______________________________________________
> TRNSYS-users mailing list
> TRNSYS-users at lists.onebuilding.org
> http://lists.onebuilding.org/listinfo.cgi/trnsys-users-onebuilding.org
--
***************************
David BRADLEY
Principal
Thermal Energy System Specialists, LLC
3 North Pinckney Street - suite 202
Madison, WI 53703 USA
P:+1.608.274.2577
d.bradley at tess-inc.com
http://www.tess-inc.com
http://www.trnsys.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onebuilding.org/pipermail/trnsys-users-onebuilding.org/attachments/20220224/9fdba009/attachment.htm>
More information about the TRNSYS-users
mailing list