Difference between revisions of "The Barbican"

From Open Source Controls Wiki
Jump to navigation Jump to search
 
(71 intermediate revisions by the same user not shown)
Line 2: Line 2:
https://www.barbican.org.uk/
https://www.barbican.org.uk/


==Designs==


<iframe key="wiki" align="right" width="100%" height="1050" level="" path="/gojs/samples/wiring22.html?id=Discussion&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">
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
</pre>
 
==Drawings==
 
{{#l:CHW_Art_Gallery_-_Temporary_Heat_Meter_Locations.pdf}}
 
[[File:Barbicanschem1.png|frameless|713x713px]]
 
== Temperature Data ==
 
==Heat Meters==
 
{{#l:U1000MKII_WM_Issue_1.1.pdf}}
 
 
See [[Micronics Heat Meters]] for information on how to connect Micronics Heat Meters.




<pre class="wikidiagram" id="Discussion" style="display:none">
<gallery heights="250" widths="400">
{ "class": "GraphLinksModel",
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.
  "copiesArrays": true,
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 ...]
  "copiesArrayObjects": true,
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.
  "linkFromPortIdProperty": "fromPort",
</gallery>
  "linkToPortIdProperty": "toPort",
 
  "modelData": {"layout":"landscape","title":"barbican discussion"},
== Data Storage Locally and to Dropbox ==
  "nodeDataArray": [
 
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr","size":"131 106","loc":"-402.84375 224","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
 
{"key":"node","name":"BEMS Hat","href":"https://hwwiki.ddns.net/","fill":"palegreen","image":"/images/1/11/Pcbbg1.png","signalTypes":[{"id":"GND","name":"Ground"},{"id":"NTC","name":"NTC 10K Thermistor"},{"id":"NTC1K","name":"NTC 1K Thermistor"},{"id":"NTC10K","name":"NTC 10K Thermistor"},{"id":"10K","name":"0-10K Resistance"},{"id":"1K","name":"0-1K Resistance"}],"leftArray":[{"portId":"TH8GND","block":"TH8","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH8 Ground"},{"portId":"TH8","block":"TH8","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH8 Signal","channel":"8"},{"portId":"TH7GND","block":"TH7","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH7 Ground"},{"portId":"TH7","block":"TH7","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH7 Signal","channel":"7"},{"portId":"TH6GND","block":"TH6","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH6 Ground"},{"portId":"TH6","block":"TH6","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH6 Signal","channel":"6"},{"portId":"TH5GND","block":"TH5","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH5 Ground"},{"portId":"TH5","block":"TH5","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH5 Signal","channel":"5"},{"portId":"IN4GND","block":"IN4","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"IN4 Ground"},{"portId":"IN4","block":"IN4","portColor":"#fffffe","figure":"Input","signalTypes":["NTC10K","NTC1K","0-10V","PULSE","DRY"],"name":"IN4 Signal","channel":"4"},{"portId":"IN3GND","block":"IN3","portColor":"#000000","figure":"Output"},{"portId":"IN3","block":"IN3","portColor":"#fffffe","figure":"Input","signalTypes":["NTC10K","NTC1K","0-10V","PULSE","DRY"],"name":"IN3 Signal","channel":"3"},{"portId":"IN2GND","block":"IN2","portColor":"#000000","figure":"Output"},{"portId":"IN2","block":"IN2","portColor":"#fffffe","figure":"Input","signalTypes":["NTC10K","NTC1K","0-10V","PULSE","DRY"],"name":"IN2 Signal","channel":"2"},{"portId":"IN1GND","block":"IN1","portColor":"#000000","figure":"Output"},{"portId":"IN1","block":"IN1","portColor":"#fffffe","figure":"Input","signalTypes":["NTC10K","NTC1K","0-10V","PULSE","DRY"],"name":"IN1 Signal","channel":"1"},{"portId":"TH4GND","block":"TH4","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH4 Ground"},{"portId":"TH4","block":"TH4","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"4"},{"portId":"TH3GND","block":"TH3","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH3 Ground"},{"portId":"TH3","block":"TH3","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH3 Signal","channel":"3"},{"portId":"TH2GND","block":"TH2","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH2 Ground"},{"portId":"TH2","block":"TH2","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH2 Signal","channel":"2"},{"portId":"TH1GND","block":"TH1","portColor":"#000000","figure":"Output","signalTypes":["GND"],"name":"TH1 Ground"},{"portId":"TH1","block":"TH1","portColor":"#00ff00","figure":"Input","signalTypes":["NTC10K","10K"],"name":"TH1 Signal","channel":"1"}],"topArray":[{"portColor":"#ffc900","portId":"top01","figure":"Output"},{"portColor":"#ffc900","portId":"top02","figure":"Output"},{"portColor":"#ffc900","portId":"top03","figure":"Output"},{"portId":"top1","portColor":"#000000","figure":"Output"},{"portId":"top2","portColor":"#e88600","figure":"Input"},{"portId":"top3","portColor":"#000002","figure":"Input"},{"portColor":"#ffffff","portId":"top4"},{"portColor":"#ffffff","portId":"top5"}],"bottomArray":[{"portColor":"#000000","portId":"pin25","figure":"Output"},{"portId":"D1","portColor":"#00ffff","figure":"Input","signalTypes":["PULSE","DRY"],"name":"Digital Input D1","channel":"1"},{"portId":"pin27","portColor":"#000000","figure":"Output"},{"portId":"D2","portColor":"#00ffff","figure":"Input","signalTypes":["PULSE","DRY"],"name":"Digital Input D2","channel":"2"},{"portId":"pin29","portColor":"#000000","figure":"Output"},{"portId":"D3","portColor":"#00ffff","figure":"Input","signalTypes":["PULSE","DRY"],"name":"Digital Input D3","channel":"3"},{"portId":"pin31","portColor":"#000000","figure":"Output"},{"portId":"D4","portColor":"#00ffff","figure":"Input","signalTypes":["PULSE","DRY"],"name":"Digital Input D4","channel":"4"},{"portId":"pin33","portColor":"#000000","figure":"Output"},{"portId":"P1","portColor":"#40aceb","figure":"Input","signalTypes":["PWM","PWMGND"],"name":"PWM Input P1","channel":"1"},{"portId":"pin35","portColor":"#000000","figure":"Output"},{"portId":"P2","portColor":"#40aceb","figure":"Input","signalTypes":["PWM","PWMGND"],"name":"PWM Input P2","channel":"2"},{"portId":"pin37","portColor":"#000000","figure":"Output"},{"portId":"P3","portColor":"#40aceb","figure":"Input","signalTypes":["PWM","PWMGND"],"name":"PWM Input P3","channel":"3"},{"portId":"pin39","portColor":"#000000","figure":"Output"},{"portId":"P4","portColor":"#40aceb","figure":"Input","signalTypes":["PWM","PWMGND"],"name":"PWM Input P4","channel":"4"},{"portId":"R1NO","portColor":"#ff8abd","figure":"Output","signalTypes":["SW_NO"],"name":"Relay 1 N/O","channel":"1"},{"portId":"R1COM","portColor":"#bf6ae3","figure":"Input","signalTypes":["SW_COM","SW_C"],"name":"Relay 1 Common","channel":"1"},{"portId":"R1NC","portColor":"#ffa3a3","figure":"Output","signalTypes":["SW_NC"],"name":"Relay 1 N/C","channel":"1"},{"portId":"R2NO","portColor":"#ff8abd","figure":"Output","signalTypes":["SW_NO"],"name":"Relay 2 N/O","channel":"2"},{"portId":"R2COM","portColor":"#bf6ae3","figure":"Input","signalTypes":["SW_COM","SW_C"],"name":"Relay 2 Common","channel":"2"},{"portId":"R2NC","portColor":"#ffa3a3","figure":"Output","signalTypes":["SW_NC"],"name":"Relay 2 N/C","channel":"2"}],"rightArray":[{"portColor":"#000000","portId":"pin47","figure":"Circle"},{"portColor":"#888891","figure":"Circle","portId":"RS485A1","signalTypes":["RS485A","RS485+","MODBUS+"],"name":"RS485 Positive 1","channel":"1"},{"portId":"RS485B1","portColor":"#888890","figure":"Circle","signalTypes":["RS485B","RS485-","MODBUS-"],"name":"RS485 Negative 1","channel":"1"},{"portId":"right3","portColor":"#000000","figure":"Circle"},{"portColor":"#888889","figure":"Circle","portId":"RS485A2","signalTypes":["RS485A","RS485+","MODBUS+"],"name":"RS485 Positive 2","channel":"2"},{"portId":"RS485B2","portColor":"#888888","figure":"Circle","signalTypes":["RS485B","RS485-","MODBUS-"],"name":"RS485 Negative 2","channel":"2"},{"portId":"right6","portColor":"#ddddba","figure":"Circle","signalTypes":["MBUS","MBUS+"],"name":"M-Bus","channel":"1"},{"portId":"right7","portColor":"#ddddbb","figure":"Circle","signalTypes":["MBUS","MBUS-"],"name":"M-Bus","channel":"1"},{"portId":"OUT4","portColor":"#ffff00","figure":"Output","signalTypes":["0-10V"],"name":"0-10V Output OUT4","channel":"4"},{"portId":"right9","block":"OUT4","portColor":"#000000","figure":"Output"},{"portId":"OUT3","portColor":"#ffff00","figure":"Output","signalTypes":["0-10V"],"name":"0-10V Output OUT3","channel":"3"},{"portId":"right11","block":"OUT3","portColor":"#000000","figure":"Output"},{"portId":"OUT2","portColor":"#ffff00","figure":"Output","signalTypes":["0-10V"],"name":"0-10V Output OUT2","channel":"2"},{"portId":"right13","block":"OUT2","portColor":"#000000","figure":"Output"},{"portId":"OUT1","portColor":"#ffff00","figure":"Output","signalTypes":["0-10V"],"name":"0-10V Output OUT1","channel":"1"},{"portId":"right15","block":"OUT1","portColor":"#000000","figure":"Output"},{"portId":"OD4","portColor":"#40aceb","figure":"Output","signalTypes":["0-10V"],"name":"PWM Output OD4","channel":"4"},{"portId":"right17","block":"OD4","portColor":"#ff0000","figure":"Output"},{"portId":"OD3","portColor":"#40aceb","figure":"Output","signalTypes":["0-10V"],"name":"PWM Output OUT3","channel":"3"},{"portId":"right19","block":"OD3","portColor":"#ff0000","figure":"Output"},{"portId":"OD2","block":"OD2","portColor":"#40aceb","figure":"Output","signalTypes":["0-10V"],"name":"PWM Output OD2","channel":"2"},{"portId":"right21","block":"OD2","portColor":"#ff0000","figure":"Output"},{"portId":"OD1","block":"OD1","portColor":"#40aceb","figure":"Output","signalTypes":["0-10V"],"name":"PWM Output OD1","channel":"1"},{"portId":"right23","block":"OD1","portColor":"#ff0000","figure":"Output"}],"loc":"46.15625 -32.65625","size":"231 250.5","thickness":2,"color":"palegreen","attributes":{}},
 
{"name":"Heat Meter","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#888888","figure":"Circle","signalType":"RS485"},{"portId":"left1","portColor":"#888888","figure":"Circle","signalType":"RS485"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"meter1","size":"67 54","loc":"434.15625 160.34375","attributes":{},"color":"black","figure":"RoundedRectangle","thickness":1},
Data subscribed to is stored on the server locally into csv files.  
{"name":"Heat Meter","fill":"#dbf6cb","leftArray":[{"portId":"left0","portColor":"#888888","figure":"Circle","signalType":"RS485"},{"portId":"left1","portColor":"#888888","figure":"Circle","signalType":"RS485"}],"rightArray":[],"topArray":[],"bottomArray":[],"key":"meter2","size":"67 54","loc":"392.15625 242.34375","attributes":{},"color":"black","thickness":1,"figure":"RoundedRectangle"},
 
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr2","size":"131 106","loc":"-510.84375 117","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
A file browser utility is included on this wiki with a user account setup to provide simple access to stored CSV files.
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr22","size":"131 106","loc":"-517.84375 -11","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
 
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr222","size":"131 106","loc":"-331.84375 -35","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
[[File:Csvfiles1.PNG|frameless|570x570px|border]] [[File:Csvfiles2.PNG|frameless|863x863px]]
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr2222","size":"131 106","loc":"-521.84375 -137","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
 
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr22222","size":"131 106","loc":"-344.84375 -209","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
Every day these files are sent to Dropbox, and then can optionally be purged from the server.
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr222222","size":"131 106","loc":"-512.84375 -279","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}},
 
{"name":"Temperature","make":"Regin","model":"","fill":"#ffffff","leftArray":[],"rightArray":[{"portId":"gnd","signalType":"GND","portColor":"#000000","figure":"Input"},{"portId":"temperature","signalType":"NTC10K","name":"Temperature","map":[[97.006,-20],[72.911,-15],[72.911,-10],[42.317,-5],[32.651,0],[25.395,5],[19.903,10],[15.714,15],[12.493,20],[10,25],[8.056,30],[6.53,35],[5.325,40],[4.367,45],[3.601,50],[2.985,55],[2.467,60],[2.082,65],[1.752,70],[1.256,80],[0.916,90],[0.678,100],[0.51,110],[0.388,120]],"mapUnits":["k\u03a9","\u00b0C"],"portColor":"#00ff00","signalTypes":["#00ff00","#ffff00"],"figure":"Output"}],"topArray":[],"bottomArray":[],"key":"ntcr2222222","size":"131 106","loc":"-336.84375 -358","color":"#000000","thickness":0,"showKey":false,"notes":"","textColor":"#484848","avoidable":true,"topicDevice":"","topicKey":"","image":"","icon":"/images/1/10/Ntc5a.png","iconSize":"120 80","attributes":{"make":"Regin","model":""}}
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.
],
 
  "linkDataArray": [
[[File:Savetodropbox.png]]
{"from":"ntcr","to":"node","fromPort":"temperature","toPort":"TH1","points":[-328.84375,229.25,-306.84375,229.25,-181.84375,229.25,-181.84375,88.09375,-88.84375,88.09375,-78.84375,88.09375]},
 
{"from":"ntcr","to":"node","fromPort":"gnd","toPort":"TH1GND","points":[-328.84375,218.75,-314.84375,218.75,-189.84375,218.75,-189.84375,77.59375,-96.84375,77.59375,-78.84375,77.59375]},
== Time Series Data Visualisation Using InfluxDB and Grafana ==
{"from":"node","to":"meter1","fromPort":"RS485A2","toPort":"left0","points":[171.15625,-111.40625,333.15625,-111.40625,371.40625,-111.40625,371.40625,155.09375,377.65625,155.09375,391.65625,155.09375]},
 
{"from":"node","to":"meter1","fromPort":"RS485B2","toPort":"left1","points":[171.15625,-100.90625,325.15625,-100.90625,363.40625,-100.90625,363.40625,165.59375,369.65625,165.59375,391.65625,165.59375]},
<gallery heights="250" widths="400">
{"from":"meter1","to":"meter2","fromPort":"left1","toPort":"left1","points":[391.65625,165.59375,381.65625,165.59375,327.65625,165.59375,327.65625,206.59375,327.65625,247.59375,349.65625,247.59375]},
File:Barbigraf2.PNG|Data is fetched from an InfluxDB database using the FLEX query language.
{"from":"meter1","to":"meter2","fromPort":"left0","toPort":"left0","points":[391.65625,155.09375,373.65625,155.09375,335.65625,155.09375,335.65625,196.09375,335.65625,237.09375,349.65625,237.09375]},
File:Barbigraf3.PNG|Data is then post-processed, renaming fields.
{"from":"ntcr2","to":"node","fromPort":"temperature","toPort":"TH2","points":[-436.84375,122.25,-414.84375,122.25,-243.84375,122.25,-243.84375,67.09375,-104.84375,67.09375,-78.84375,67.09375]},
File:Barbigraf4.PNG|Data is further processed based on type to apply colours and units
{"from":"ntcr2","to":"node","fromPort":"gnd","toPort":"TH2GND","points":[-436.84375,111.75,-422.84375,111.75,-251.84375,111.75,-251.84375,56.59375,-112.84375,56.59375,-78.84375,56.59375]},
</gallery>
{"from":"ntcr22","to":"node","fromPort":"temperature","toPort":"TH3","points":[-443.84375,-5.75,-433.84375,-5.75,-433.84375,-5.75,-433.84375,46.09375,-244.84375,46.09375,-78.84375,46.09375]},
 
{"from":"ntcr22","to":"node","fromPort":"gnd","toPort":"TH3GND","points":[-443.84375,-16.25,-425.84375,-16.25,-425.84375,-16.25,-425.84375,35.59375,-236.84375,35.59375,-78.84375,35.59375]},
=== Client Dashboard ===
{"from":"ntcr222","to":"node","fromPort":"temperature","toPort":"TH4","points":[-257.84375,-29.75,-247.84375,-29.75,-222.34375,-29.75,-222.34375,25.09375,-228.84375,25.09375,-78.84375,25.09375]},
 
{"from":"ntcr222","to":"node","fromPort":"gnd","toPort":"TH4GND","points":[-257.84375,-40.25,-239.84375,-40.25,-214.34375,-40.25,-214.34375,14.59375,-220.84375,14.59375,-78.84375,14.59375]},
 
{"from":"ntcr2222","to":"node","fromPort":"temperature","toPort":"TH5","points":[-447.84375,-131.75,-437.84375,-131.75,-436,-131.75,-436,-131.75,-244,-131.75,-244,-79.90625,-148.84375,-79.90625,-78.84375,-79.90625]},
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.
{"from":"ntcr2222","to":"node","fromPort":"gnd","toPort":"TH5GND","points":[-447.84375,-142.25,-429.84375,-142.25,-428,-142.25,-428,-142.25,-233.84375,-142.25,-233.84375,-90.40625,-140.84375,-90.40625,-78.84375,-90.40625]},
 
{"from":"ntcr22222","to":"node","fromPort":"temperature","toPort":"TH6","points":[-270.84375,-203.75,-260.84375,-203.75,-180.84375,-203.75,-180.84375,-100.90625,-132.84375,-100.90625,-78.84375,-100.90625]},
 
{"from":"ntcr22222","to":"node","fromPort":"gnd","toPort":"TH6GND","points":[-270.84375,-214.25,-252.84375,-214.25,-172.84375,-214.25,-172.84375,-111.40625,-124.84375,-111.40625,-78.84375,-111.40625]},
Sections in Heating and Cooling can be expanded.
{"from":"ntcr222222","to":"node","fromPort":"temperature","toPort":"TH7","points":[-438.84375,-273.75,-428.84375,-273.75,-143.84375,-273.75,-143.84375,-121.90625,-116.84375,-121.90625,-78.84375,-121.90625]},
{"from":"ntcr2222222","to":"node","fromPort":"temperature","toPort":"TH8","points":[-262.84375,-352.75,-252.84375,-352.75,-113.84375,-352.75,-113.84375,-142.90625,-100.84375,-142.90625,-78.84375,-142.90625]},
{"from":"ntcr2222222","to":"node","fromPort":"gnd","toPort":"TH8GND","points":[-262.84375,-363.25,-244.84375,-363.25,-103.84375,-363.25,-103.84375,-153.40625,-92.84375,-153.40625,-78.84375,-153.40625]},
{"from":"ntcr222222","to":"node","fromPort":"gnd","toPort":"TH7GND","points":[-438.84375,-284.25,-420.84375,-284.25,-134.84375,-284.25,-134.84375,-132.40625,-108.84375,-132.40625,-78.84375,-132.40625]}
]}
</pre>

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.