Difference between revisions of "The Barbican"

From Open Source Controls Wiki
Jump to navigation Jump to search
 
(32 intermediate revisions by the same user not shown)
Line 4: Line 4:
==Designs==
==Designs==


<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiring22.html?cid=barbican_discussion.json&palette=heatweb_sensors.json&height=800px" />
<iframe key="wiki" align="right" width="100%" height="1150" level="" path="/gojs/samples/wiring24.html?cid=barbican_discussion.json&height=800px" />


<pre class="wikidiagrams">
<pre class="wikidiagrams">
barbican_discussion.json Monitoring Architecture
barbican_discussion.json Monitoring Architecture
all_lorawan.json All LoRaWAN Architecture
barbican_meter_locations.json Heat Meter and Sensor Locations
meter_installation.json Principles of calculating flow rates from temperatures
meter_installation.json Principles of calculating flow rates from temperatures
barbican_meter_locations.json Heat Meter and Sensor Locations
barbican_wiring_1.json Wiring 1
heatweb_barbican_graph1.json Graph 1
heatweb_barbican_micronics_1.json Micronics Installation 1
</pre>
</pre>


Line 21: Line 19:
[[File:Barbicanschem1.png|frameless|713x713px]]
[[File:Barbicanschem1.png|frameless|713x713px]]


== Temperature Data ==


==Heat Meters==
==Heat Meters==
Line 30: Line 29:




<gallery heights="250" widths="350">
<gallery heights="250" widths="400">
File:Micronics2.png|A Node-RED flow has been created to read Micronics meters via Modbus (or any other Modbus device). This has been pasted into the controllers, containing all the registers and descriptions, and deployed.
File:MicronicsBarbi1.PNG|The first Micronics heat meter provided data immediately as expected, matching values on the screen.  This can be viewed in the Node-RED software in the debug window, where one can inspect the data telegrams being sent and received. [1, 3 ...] represents device 1, function code 3 (read register). The response should also start with [1, 3 ...]
File:MicronicsBarbi1.PNG|The first Micronics heat meter provided data immediately as expected, matching values on the screen.  This can be viewed in the Node-RED software in the debug window, where one can inspect the data telegrams being sent and received. [1, 3 ...] represents device 1, function code 3 (read register). The response should also start with [1, 3 ...]
File:MicronicsBarbi2.PNG|However, the second meter provided incorrectly formed responses and will require further investigation.  It is the same setup entirely, so the only difference could be the polarity is reversed on the RS485 line.
File:MicronicsBarbi2.PNG|However, the second meter provided incorrectly formed responses and will require further investigation.  FIXED: The GND for the RS485 was into the wrong terminal. When corrected, the data matched heat meter display.
</gallery>
</gallery>
== Data Storage Locally and to Dropbox ==
Data subscribed to is stored on the server locally into csv files.
A file browser utility is included on this wiki with a user account setup to provide simple access to stored CSV files.
[[File:Csvfiles1.PNG|frameless|570x570px|border]]  [[File:Csvfiles2.PNG|frameless|863x863px]]
Every day these files are sent to Dropbox, and then can optionally be purged from the server.
We are currently storing all '''/dat/''' incoming MQTT data, fed from field trials. This will ensure we retain long-term records of all operational data, from all field trials, down to 1 second resolution.  It will be a lot of data, but Dropbox has more than enough room.
[[File:Savetodropbox.png]]
== Time Series Data Visualisation Using InfluxDB and Grafana ==
<gallery heights="250" widths="400">
File:Barbigraf2.PNG|Data is fetched from an InfluxDB database using the FLEX query language.
File:Barbigraf3.PNG|Data is then post-processed, renaming fields.
File:Barbigraf4.PNG|Data is further processed based on type to apply colours and units
</gallery>
=== Client Dashboard ===
Grafana includes organisation, role and user management, making it straightforward to setup a dedicated client portal with dashboards customised to best show the data and allow analysis.  A light theme has been used.
Sections in Heating and Cooling can be expanded.

Latest revision as of 19:42, 3 February 2023

https://www.barbican.org.uk/

Designs

barbican_discussion.json Monitoring Architecture
barbican_meter_locations.json Heat Meter and Sensor Locations
meter_installation.json Principles of calculating flow rates from temperatures
barbican_wiring_1.json Wiring 1

Drawings

CHW_Art_Gallery_-_Temporary_Heat_Meter_Locations

Barbicanschem1.png

Temperature Data

Heat Meters

U1000MKII_WM_Issue_1.1


See Micronics Heat Meters for information on how to connect Micronics Heat Meters.


Data Storage Locally and to Dropbox

Data subscribed to is stored on the server locally into csv files.

A file browser utility is included on this wiki with a user account setup to provide simple access to stored CSV files.

Csvfiles1.PNG Csvfiles2.PNG

Every day these files are sent to Dropbox, and then can optionally be purged from the server.

We are currently storing all /dat/ incoming MQTT data, fed from field trials. This will ensure we retain long-term records of all operational data, from all field trials, down to 1 second resolution. It will be a lot of data, but Dropbox has more than enough room.

Savetodropbox.png

Time Series Data Visualisation Using InfluxDB and Grafana

Client Dashboard

Grafana includes organisation, role and user management, making it straightforward to setup a dedicated client portal with dashboards customised to best show the data and allow analysis. A light theme has been used.


Sections in Heating and Cooling can be expanded.