Canvas frame height 600 → 760 px and tank rectangle height 520 → 680 px so the visual fills the card aspect (taller than wide). Floor footer moves to y=702 (was 542) to stay just below the new tank floor. In-canvas bottom readouts (level / volume / fill mini-stats) removed — they were redundant with the Status row Level stat, the bar gauge, and the Level/Volume timeseries, and were getting clipped below the card's visible area anyway. The basin canvas now shows only basin-structure information (geometry, zones, thresholds). Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
560 lines
23 KiB
JSON
560 lines
23 KiB
JSON
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": {
|
|
"type": "grafana",
|
|
"uid": "-- Grafana --"
|
|
},
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"editable": true,
|
|
"graphTooltip": 0,
|
|
"id": null,
|
|
"links": [],
|
|
"panels": [
|
|
{
|
|
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 0 },
|
|
"id": 1,
|
|
"title": "Status",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [{ "color": "blue", "value": null }]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 4, "w": 6, "x": 0, "y": 1 },
|
|
"id": 2,
|
|
"options": {
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "/.*/" },
|
|
"colorMode": "value",
|
|
"graphMode": "none"
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field==\"direction\")\n |> group(columns:[\"_field\"])\n |> last()\n |> keep(columns:[\"_value\"])",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Direction",
|
|
"type": "stat",
|
|
"meta": { "emittedFields": ["direction"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "s",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{ "color": "green", "value": null },
|
|
{ "color": "orange", "value": 300 },
|
|
{ "color": "red", "value": 600 }
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 4, "w": 6, "x": 6, "y": 1 },
|
|
"id": 3,
|
|
"options": {
|
|
"reduceOptions": { "calcs": ["lastNotNull"] },
|
|
"colorMode": "value",
|
|
"graphMode": "area"
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field==\"timeleft\")\n |> group(columns:[\"_field\"])\n |> last()",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Time Left",
|
|
"type": "stat",
|
|
"meta": { "emittedFields": ["timeLeft"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [{ "color": "purple", "value": null }]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 4, "w": 6, "x": 12, "y": 1 },
|
|
"id": 4,
|
|
"options": {
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "/.*/" },
|
|
"colorMode": "value",
|
|
"graphMode": "none"
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field==\"flowSource\")\n |> group(columns:[\"_field\"])\n |> last()\n |> keep(columns:[\"_value\"])",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Flow Source",
|
|
"type": "stat",
|
|
"meta": { "emittedFields": ["flowSource"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "lengthm",
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [{ "color": "green", "value": null }]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 4, "w": 6, "x": 18, "y": 1 },
|
|
"id": 6,
|
|
"options": {
|
|
"reduceOptions": { "calcs": ["lastNotNull"] },
|
|
"colorMode": "value",
|
|
"graphMode": "area"
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^level\\.predicted\\.atequipment/)\n |> group(columns:[\"_field\"])\n |> last()\n |> keep(columns:[\"_value\"])",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Level",
|
|
"type": "stat",
|
|
"meta": { "emittedFields": ["level"] }
|
|
},
|
|
{
|
|
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 5 },
|
|
"id": 13,
|
|
"title": "Basin",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "lengthm",
|
|
"min": 0,
|
|
"max": {{heightBasin}},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{ "color": "#3a3a3a", "value": null },
|
|
{ "color": "semi-dark-grey", "value": {{outflowLevel}} },
|
|
{ "color": "blue", "value": {{dryRunLevel}} },
|
|
{ "color": "green", "value": {{inflowLevel}} },
|
|
{ "color": "orange", "value": {{highSafetyLevel}} },
|
|
{ "color": "red", "value": {{overflowLevel}} }
|
|
]
|
|
}
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 20, "w": 4, "x": 0, "y": 6 },
|
|
"id": 16,
|
|
"options": {
|
|
"displayMode": "basic",
|
|
"orientation": "vertical",
|
|
"reduceOptions": { "calcs": ["lastNotNull"], "fields": "" },
|
|
"showThresholdLabels": true,
|
|
"showThresholdMarkers": true,
|
|
"showUnfilled": true,
|
|
"minVizWidth": 8,
|
|
"minVizHeight": 16,
|
|
"valueMode": "color",
|
|
"namePlacement": "auto"
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^level\\.predicted\\.atequipment/)\n |> group(columns:[\"_field\"])\n |> last()\n |> keep(columns:[\"_value\"])",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Water Level",
|
|
"type": "bargauge",
|
|
"meta": { "emittedFields": ["basinLevel"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "none",
|
|
"decimals": 2
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": { "id": "byRegexp", "options": "^(outflowLevel|inflowLevel|overflowLevel|heightBasin|dryRunLevel|highVolumeSafetyLevel|level)$" },
|
|
"properties": [{ "id": "unit", "value": "lengthm" }, { "id": "decimals", "value": 2 }]
|
|
},
|
|
{
|
|
"matcher": { "id": "byRegexp", "options": "^(volume|maxVol|minVol|maxVolAtOverflow|minVolAtOutflow|minVolAtInflow)$" },
|
|
"properties": [{ "id": "unit", "value": "m3" }, { "id": "decimals", "value": 2 }]
|
|
},
|
|
{
|
|
"matcher": { "id": "byRegexp", "options": "^volumePercent$" },
|
|
"properties": [{ "id": "unit", "value": "percent" }, { "id": "decimals", "value": 1 }]
|
|
}
|
|
]
|
|
},
|
|
"gridPos": { "h": 20, "w": 6, "x": 4, "y": 6 },
|
|
"id": 17,
|
|
"options": {
|
|
"inlineEditing": false,
|
|
"showAdvancedTypes": true,
|
|
"panZoom": false,
|
|
"infinitePan": false,
|
|
"root": {
|
|
"name": "Basin",
|
|
"type": "frame",
|
|
"placement": { "left": 0, "top": 0, "width": 400, "height": 760 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "dark-green" } },
|
|
"elements": [
|
|
{
|
|
"name": "Zone Spill",
|
|
"type": "rectangle",
|
|
"placement": { "top": 20, "left": 10, "width": 380, "height": {{h_spill}} },
|
|
"background": { "color": { "fixed": "rgba(229, 67, 67, 0.18)" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "" } }
|
|
},
|
|
{
|
|
"name": "Zone HighSafety",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_overflow}}, "left": 10, "width": 380, "height": {{h_highSafety}} },
|
|
"background": { "color": { "fixed": "rgba(242, 165, 67, 0.16)" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "" } }
|
|
},
|
|
{
|
|
"name": "Zone Operating",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_highSafety}}, "left": 10, "width": 380, "height": {{h_operating}} },
|
|
"background": { "color": { "fixed": "rgba(95, 179, 122, 0.14)" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "" } }
|
|
},
|
|
{
|
|
"name": "Zone Dead",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_outflow}}, "left": 10, "width": 380, "height": {{h_dead}} },
|
|
"background": { "color": { "fixed": "rgba(128, 128, 128, 0.20)" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "" } }
|
|
},
|
|
{
|
|
"name": "Tank Outline",
|
|
"type": "rectangle",
|
|
"placement": { "top": 20, "left": 10, "width": 380, "height": 680 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "#8a8a8a" }, "width": 2 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "" } }
|
|
},
|
|
{
|
|
"name": "Line Overflow",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_overflow}}, "left": 10, "width": 380, "height": 1 },
|
|
"background": { "color": { "fixed": "#e54343" } },
|
|
"border": { "color": { "fixed": "#e54343" }, "width": 0 }
|
|
},
|
|
{
|
|
"name": "Line HighSafety",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_highSafety}}, "left": 10, "width": 380, "height": 1 },
|
|
"background": { "color": { "fixed": "#f2a543" } },
|
|
"border": { "color": { "fixed": "#f2a543" }, "width": 0 }
|
|
},
|
|
{
|
|
"name": "Line Inflow",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_inflow}}, "left": 10, "width": 380, "height": 1 },
|
|
"background": { "color": { "fixed": "#5fb37a" } },
|
|
"border": { "color": { "fixed": "#5fb37a" }, "width": 0 }
|
|
},
|
|
{
|
|
"name": "Line DryRun",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_dryRun}}, "left": 10, "width": 380, "height": 1 },
|
|
"background": { "color": { "fixed": "#5b9bd5" } },
|
|
"border": { "color": { "fixed": "#5b9bd5" }, "width": 0 }
|
|
},
|
|
{
|
|
"name": "Line Outflow",
|
|
"type": "rectangle",
|
|
"placement": { "top": {{y_outflow}}, "left": 10, "width": 380, "height": 1 },
|
|
"background": { "color": { "fixed": "#bfbfbf" } },
|
|
"border": { "color": { "fixed": "#bfbfbf" }, "width": 0 }
|
|
},
|
|
{
|
|
"name": "Label Overflow Name",
|
|
"type": "text",
|
|
"placement": { "top": {{ty_overflow}}, "left": 180, "width": 140, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "overflowLevel" }, "color": { "fixed": "#c92020" }, "size": 11, "align": "right", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Label HighSafety Name",
|
|
"type": "text",
|
|
"placement": { "top": {{ty_highSafety}}, "left": 180, "width": 140, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "highSafety" }, "color": { "fixed": "#cf7e20" }, "size": 11, "align": "right", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Label Inflow Name",
|
|
"type": "text",
|
|
"placement": { "top": {{ty_inflow}}, "left": 180, "width": 140, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "inflowLevel" }, "color": { "fixed": "#3d8a5a" }, "size": 11, "align": "right", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Label DryRun Name",
|
|
"type": "text",
|
|
"placement": { "top": {{ty_dryRun}}, "left": 180, "width": 140, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "dryRunLevel" }, "color": { "fixed": "#3a76a8" }, "size": 11, "align": "right", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Label Outflow Name",
|
|
"type": "text",
|
|
"placement": { "top": {{ty_outflow}}, "left": 180, "width": 140, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "outflowLevel" }, "color": { "fixed": "#6a6a6a" }, "size": 11, "align": "right", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Value Overflow",
|
|
"type": "metric-value",
|
|
"placement": { "top": {{ty_overflow}}, "left": 323, "width": 65, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "field", "fixed": "", "field": "overflowLevel" }, "color": { "fixed": "#c92020" }, "size": 11, "align": "left", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Value HighSafety",
|
|
"type": "metric-value",
|
|
"placement": { "top": {{ty_highSafety}}, "left": 323, "width": 65, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "field", "fixed": "", "field": "highVolumeSafetyLevel" }, "color": { "fixed": "#cf7e20" }, "size": 11, "align": "left", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Value Inflow",
|
|
"type": "metric-value",
|
|
"placement": { "top": {{ty_inflow}}, "left": 323, "width": 65, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "field", "fixed": "", "field": "inflowLevel" }, "color": { "fixed": "#3d8a5a" }, "size": 11, "align": "left", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Value DryRun",
|
|
"type": "metric-value",
|
|
"placement": { "top": {{ty_dryRun}}, "left": 323, "width": 65, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "field", "fixed": "", "field": "dryRunLevel" }, "color": { "fixed": "#3a76a8" }, "size": 11, "align": "left", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Value Outflow",
|
|
"type": "metric-value",
|
|
"placement": { "top": {{ty_outflow}}, "left": 323, "width": 65, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "field", "fixed": "", "field": "outflowLevel" }, "color": { "fixed": "#6a6a6a" }, "size": 11, "align": "left", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Header Rim",
|
|
"type": "text",
|
|
"placement": { "top": 2, "left": 10, "width": 380, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "rim ({{heightBasin}} m)" }, "color": { "fixed": "#8a8a8a" }, "size": 10, "align": "center", "valign": "middle" }
|
|
},
|
|
{
|
|
"name": "Footer Floor",
|
|
"type": "text",
|
|
"placement": { "top": 702, "left": 10, "width": 380, "height": 16 },
|
|
"background": { "color": { "fixed": "transparent" } },
|
|
"border": { "color": { "fixed": "transparent" }, "width": 0 },
|
|
"config": { "text": { "mode": "fixed", "fixed": "floor (0.00 m)" }, "color": { "fixed": "#8a8a8a" }, "size": 10, "align": "center", "valign": "middle" }
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: -7d)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and (r._field==\"outflowLevel\" or r._field==\"inflowLevel\" or r._field==\"overflowLevel\" or r._field==\"heightBasin\" or r._field==\"dryRunLevel\" or r._field==\"highVolumeSafetyLevel\" or r._field =~ /^level\\.predicted\\.atequipment/ or r._field =~ /^volume\\.predicted\\.atequipment/ or r._field =~ /^volumePercent\\.predicted\\.atequipment/))\n |> last()\n |> map(fn: (r) => ({ r with _field: if r._field =~ /^volumePercent\\.predicted/ then \"volumePercent\" else if r._field =~ /^volume\\.predicted/ then \"volume\" else if r._field =~ /^level\\.predicted/ then \"level\" else r._field, _time: 2020-01-01T00:00:00Z }))\n |> group()\n |> keep(columns:[\"_field\",\"_value\",\"_time\"])\n |> pivot(rowKey:[\"_time\"], columnKey:[\"_field\"], valueColumn:\"_value\")",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Tank Layout",
|
|
"type": "canvas",
|
|
"meta": { "emittedFields": ["basinLayout"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "lengthm",
|
|
"custom": { "drawStyle": "line", "lineWidth": 2, "fillOpacity": 10 }
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 10, "w": 14, "x": 10, "y": 6 },
|
|
"id": 8,
|
|
"options": {
|
|
"legend": { "displayMode": "list", "placement": "bottom" },
|
|
"tooltip": { "mode": "multi" }
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^level\\.(predicted|measured)\\.atequipment/)\n |> group(columns:[\"_field\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Level (over time)",
|
|
"type": "timeseries",
|
|
"meta": { "emittedFields": ["level"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "m3",
|
|
"custom": { "drawStyle": "line", "lineWidth": 2, "fillOpacity": 10 }
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 10, "w": 14, "x": 10, "y": 16 },
|
|
"id": 9,
|
|
"options": {
|
|
"legend": { "displayMode": "list", "placement": "bottom" },
|
|
"tooltip": { "mode": "multi" }
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^volume\\.predicted\\.atequipment/)\n |> group(columns:[\"_field\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Volume (over time)",
|
|
"type": "timeseries",
|
|
"meta": { "emittedFields": ["volume"] }
|
|
},
|
|
{
|
|
"gridPos": { "h": 1, "w": 24, "x": 0, "y": 26 },
|
|
"id": 10,
|
|
"title": "Flow",
|
|
"type": "row"
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "m3/h",
|
|
"custom": { "drawStyle": "line", "lineWidth": 2, "fillOpacity": 10 }
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 8, "w": 12, "x": 0, "y": 27 },
|
|
"id": 11,
|
|
"options": {
|
|
"legend": { "displayMode": "list", "placement": "bottom" },
|
|
"tooltip": { "mode": "multi" }
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^netFlowRate\\.(predicted|measured)\\.atequipment/)\n |> group(columns:[\"_field\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Net Flow Rate",
|
|
"type": "timeseries",
|
|
"meta": { "emittedFields": ["flow.net", "flow"] }
|
|
},
|
|
{
|
|
"datasource": { "type": "influxdb", "uid": "cdzg44tv250jkd" },
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"unit": "m3/h",
|
|
"custom": { "drawStyle": "line", "lineWidth": 2, "fillOpacity": 10 }
|
|
},
|
|
"overrides": []
|
|
},
|
|
"gridPos": { "h": 8, "w": 12, "x": 12, "y": 27 },
|
|
"id": 12,
|
|
"options": {
|
|
"legend": { "displayMode": "list", "placement": "bottom" },
|
|
"tooltip": { "mode": "multi" }
|
|
},
|
|
"targets": [
|
|
{
|
|
"query": "from(bucket: \"${bucket}\")\n |> range(start: v.timeRangeStart, stop: v.timeRangeStop)\n |> filter(fn:(r) => r._measurement==\"${measurement}\" and r._field =~ /^flow\\.(predicted|measured)\\.(upstream|in|out|overflow)/)\n |> group(columns:[\"_field\"])\n |> aggregateWindow(every: v.windowPeriod, fn: mean, createEmpty: false)",
|
|
"refId": "A"
|
|
}
|
|
],
|
|
"title": "Inflow + Outflow",
|
|
"type": "timeseries",
|
|
"meta": { "emittedFields": ["flow.in", "flow.out"] }
|
|
}
|
|
],
|
|
"schemaVersion": 39,
|
|
"tags": ["EVOLV", "pumpingStation", "template"],
|
|
"templating": {
|
|
"list": [
|
|
{
|
|
"name": "dbase",
|
|
"type": "custom",
|
|
"label": "dbase",
|
|
"query": "cdzg44tv250jkd",
|
|
"current": { "text": "cdzg44tv250jkd", "value": "cdzg44tv250jkd", "selected": false },
|
|
"options": [{ "text": "cdzg44tv250jkd", "value": "cdzg44tv250jkd", "selected": true }],
|
|
"hide": 2
|
|
},
|
|
{
|
|
"name": "measurement",
|
|
"type": "custom",
|
|
"query": "template",
|
|
"current": { "text": "template", "value": "template", "selected": false },
|
|
"options": [{ "text": "template", "value": "template", "selected": true }]
|
|
},
|
|
{
|
|
"name": "bucket",
|
|
"type": "custom",
|
|
"query": "lvl2",
|
|
"current": { "text": "lvl2", "value": "lvl2", "selected": false },
|
|
"options": [{ "text": "lvl2", "value": "lvl2", "selected": true }]
|
|
}
|
|
]
|
|
},
|
|
"time": { "from": "now-6h", "to": "now" },
|
|
"timezone": "",
|
|
"title": "template",
|
|
"uid": null,
|
|
"version": 1
|
|
}
|