UNPKG

node-red-contrib-prib-functions

Version:
2,111 lines 171 kB
[ { "id": "6dd63ebd.bf044", "type": "tab", "label": "Append", "disabled": false, "info": "" }, { "id": "11cc261f.ec82da", "type": "tab", "label": "Data Analysis", "disabled": false, "info": "" }, { "id": "cf595649.931658", "type": "tab", "label": "Data Analysis - Real time", "disabled": false, "info": "" }, { "id": "955f4808.fd1898", "type": "tab", "label": "Host Available", "disabled": false, "info": "" }, { "id": "cf804fb2.6df8c", "type": "tab", "label": "Load Injector", "disabled": false, "info": "" }, { "id": "1be03be45284f9d4", "type": "tab", "label": "load injector", "disabled": false, "info": "", "env": [] }, { "id": "ae9957f07bd56e1b", "type": "tab", "label": "Matrix", "disabled": false, "info": "", "env": [] }, { "id": "fcc005d5.131ee8", "type": "tab", "label": "Monitor", "disabled": false, "info": "" }, { "id": "0ff935c8a42f26ae", "type": "tab", "label": "Monitory System", "disabled": false, "info": "", "env": [] }, { "id": "fa243279.4dbe9", "type": "tab", "label": "os (nodejs)", "disabled": false, "info": "Calls to require('os') of node.js " }, { "id": "22109ce1.cdbde4", "type": "tab", "label": "Spawn Process", "disabled": false, "info": "" }, { "id": "e4973c86.37d63", "type": "tab", "label": "Test", "disabled": false, "info": "" }, { "id": "d9c7ae0e.cb9a9", "type": "tab", "label": "Transform", "disabled": false, "info": "" }, { "id": "5866424ac23291eb", "type": "tab", "label": "transform array", "disabled": false, "info": "", "env": [] }, { "id": "1374c39ae82adb4e", "type": "tab", "label": "transform date", "disabled": false, "info": "", "env": [] }, { "id": "65b5beda2b73b7b5", "type": "tab", "label": "transform compression", "disabled": false, "info": "", "env": [] }, { "id": "460ae66eec4b7f8a", "type": "tab", "label": "transform string", "disabled": false, "info": "", "env": [] }, { "id": "924bb2b7.03fd1", "type": "tab", "label": "transform xlsx", "disabled": false, "info": "" }, { "id": "680198a3be420949", "type": "group", "z": "1374c39ae82adb4e", "name": "date is between", "style": { "label": true }, "nodes": [ "49b2ad130416e0a0", "8623ee29d4c12529", "d6dab95d41cd38af", "c81d74aeb883cd43", "94c3bd1cdaed91d7" ], "x": 144, "y": -1, "w": 762, "h": 142 }, { "id": "68a2c0f4427ce400", "type": "group", "z": "1374c39ae82adb4e", "name": "Range Limit", "style": { "label": true }, "nodes": [ "4f6a21107d3e15fe", "7fdb40764c01f99a", "2b4dc03c0cb6ea2b", "06787d2f44f5d979", "e36d78184f2c0e34", "b9d724057624e971" ], "x": 944, "y": -1, "w": 902, "h": 142 }, { "id": "a761e268.19bc7", "type": "append", "z": "6dd63ebd.bf044", "name": "append", "files": [ { "value": "./testData.txt", "type": "require" }, { "value": "********", "type": "text" } ], "x": 300, "y": 140, "wires": [ [ "65aa2f4d.847f9" ] ] }, { "id": "64beb83a.018ed8", "type": "inject", "z": "6dd63ebd.bf044", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "str", "x": 110, "y": 140, "wires": [ [ "a761e268.19bc7" ] ] }, { "id": "65aa2f4d.847f9", "type": "debug", "z": "6dd63ebd.bf044", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 520, "y": 140, "wires": [] }, { "id": "c549c07b.bc4b9", "type": "debug", "z": "11cc261f.ec82da", "name": "max", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 610, "y": 40, "wires": [] }, { "id": "fe98fb5d.1e1d28", "type": "inject", "z": "11cc261f.ec82da", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "error input", "payload": "", "payloadType": "date", "x": 160, "y": 40, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "1e28144c.d43d5c", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "avg", "action": "avg", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 100, "wires": [ [ "f90f769f.41f3b8", "77385484.cf760c" ], [] ] }, { "id": "f2dfe624.ec12e8", "type": "inject", "z": "11cc261f.ec82da", "name": "[1,2,3,4,5]", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "[1,2,3,4,5]", "payloadType": "json", "x": 120, "y": 140, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "7a6e792d.b98b88", "type": "inject", "z": "11cc261f.ec82da", "name": "[]", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "[]", "payloadType": "json", "x": 110, "y": 80, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "7a86c3e4.f3aa8c", "type": "inject", "z": "11cc261f.ec82da", "name": "[1,2,3,4,5,6]", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "[1,2,3,4,5,6]", "payloadType": "json", "x": 130, "y": 200, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "cc146f9a.2d96", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "max", "action": "max", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 40, "wires": [ [ "c549c07b.bc4b9", "1e28144c.d43d5c" ], [] ] }, { "id": "f90f769f.41f3b8", "type": "debug", "z": "11cc261f.ec82da", "name": "avg", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 610, "y": 100, "wires": [] }, { "id": "77385484.cf760c", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "min", "action": "min", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 160, "wires": [ [ "bc1f7e64.94177", "ca5f5c59.94cd4" ], [] ] }, { "id": "bc1f7e64.94177", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "median", "action": "median", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 400, "y": 220, "wires": [ [ "31efbbf6.5ff994", "e27973fe.8fcd9" ], [] ] }, { "id": "31efbbf6.5ff994", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "range", "action": "range", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 280, "wires": [ [ "d71f02b6.07e4a", "ae37030c.743a" ], [] ] }, { "id": "d71f02b6.07e4a", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "sum", "action": "sum", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 340, "wires": [ [ "5d469222.b4431c", "8d6da6fc.ab2f48" ], [] ] }, { "id": "ca5f5c59.94cd4", "type": "debug", "z": "11cc261f.ec82da", "name": "min", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 610, "y": 160, "wires": [] }, { "id": "e27973fe.8fcd9", "type": "debug", "z": "11cc261f.ec82da", "name": "median", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 620, "y": 220, "wires": [] }, { "id": "ae37030c.743a", "type": "debug", "z": "11cc261f.ec82da", "name": "range", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 610, "y": 260, "wires": [] }, { "id": "5d469222.b4431c", "type": "debug", "z": "11cc261f.ec82da", "name": "sum", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 610, "y": 300, "wires": [] }, { "id": "8d6da6fc.ab2f48", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "variance", "action": "variance", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 400, "y": 400, "wires": [ [ "80a318a1.8fe578", "e2cf5bf2.9c23e8" ], [] ] }, { "id": "80a318a1.8fe578", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "stdDev", "action": "stdDev", "outputs": 3, "term": "3", "keyProperty": "", "dataProperty": "", "dataProperties": [], "x": 400, "y": 460, "wires": [ [ "9b53372d.9fcc28", "e26ac738.0ac368" ], [], [] ] }, { "id": "9b53372d.9fcc28", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "skew", "action": "skew", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 390, "y": 520, "wires": [ [ "838e4106.d42d1", "3b9f8cb5.bad514" ], [] ] }, { "id": "e2cf5bf2.9c23e8", "type": "debug", "z": "11cc261f.ec82da", "name": "variance", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 620, "y": 340, "wires": [] }, { "id": "e26ac738.0ac368", "type": "debug", "z": "11cc261f.ec82da", "name": "stdDev", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 620, "y": 380, "wires": [] }, { "id": "838e4106.d42d1", "type": "debug", "z": "11cc261f.ec82da", "name": "skew", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 630, "y": 520, "wires": [] }, { "id": "3b9f8cb5.bad514", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "movingAvgCumulative", "action": "movingAvgCumulative", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 420, "y": 580, "wires": [ [ "ac835c8.491cba", "64eb625e.2303fc" ], [] ] }, { "id": "ac835c8.491cba", "type": "debug", "z": "11cc261f.ec82da", "name": "movingAvgCumulative", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 660, "y": 580, "wires": [] }, { "id": "40e08530.b2fc2c", "type": "debug", "z": "11cc261f.ec82da", "name": "movingAvgSimple", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 650, "y": 620, "wires": [] }, { "id": "64eb625e.2303fc", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "movingAvgSimple", "action": "movingAvgSimple", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 410, "y": 640, "wires": [ [ "40e08530.b2fc2c", "c37806d2.a5c5f8" ], [] ] }, { "id": "96fa5b66.4c61b8", "type": "inject", "z": "11cc261f.ec82da", "name": "[1]", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "[1]", "payloadType": "json", "x": 110, "y": 260, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "3cb6979e.12f878", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "movingAvgExponential", "action": "movingAvgExponential", "outputs": 2, "outliersStdDevs": "3", "term": "0.5", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 420, "y": 760, "wires": [ [ "8ce2398a.805488", "b13dd76e.d59c48" ], [] ] }, { "id": "c37806d2.a5c5f8", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "movingAvgWeighted", "action": "movingAvgWeighted", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 420, "y": 700, "wires": [ [ "3cb6979e.12f878", "8a9c80eb.1a406" ], [] ] }, { "id": "8a9c80eb.1a406", "type": "debug", "z": "11cc261f.ec82da", "name": "movingAvgWeighted", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 680, "y": 700, "wires": [] }, { "id": "8ce2398a.805488", "type": "debug", "z": "11cc261f.ec82da", "name": "movingAvgExponential", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 680, "y": 760, "wires": [] }, { "id": "b13dd76e.d59c48", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "deltas", "action": "deltas", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 370, "y": 820, "wires": [ [ "8706b576.2b83e8", "853dbd38.70d92" ], [] ] }, { "id": "8706b576.2b83e8", "type": "debug", "z": "11cc261f.ec82da", "name": "deltas", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 630, "y": 820, "wires": [] }, { "id": "3b8b4e1c.24e322", "type": "inject", "z": "11cc261f.ec82da", "name": "[8,4,5,3,2,1]", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "[8,4,5,3,2,1]", "payloadType": "json", "x": 130, "y": 320, "wires": [ [ "cc146f9a.2d96" ] ] }, { "id": "254df734.5b5628", "type": "debug", "z": "11cc261f.ec82da", "name": "deltaNormalised", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 640, "y": 880, "wires": [] }, { "id": "853dbd38.70d92", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "deltaNormalised", "action": "deltaNormalised", "columns": "", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 400, "y": 880, "wires": [ [ "254df734.5b5628", "369bed28.8f2102" ], [] ] }, { "id": "6b313397.1721dc", "type": "debug", "z": "11cc261f.ec82da", "name": "normalise", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 620, "y": 940, "wires": [] }, { "id": "ce485240.bb0fa", "type": "debug", "z": "11cc261f.ec82da", "name": "standardization", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "statusVal": "", "statusType": "auto", "x": 640, "y": 1000, "wires": [] }, { "id": "369bed28.8f2102", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "normalise", "action": "normalize", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 380, "y": 940, "wires": [ [ "6b313397.1721dc", "b9c0be7.93f5b4" ], [] ] }, { "id": "b9c0be7.93f5b4", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "standardization", "action": "standardize", "columns": "", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [], "x": 400, "y": 1000, "wires": [ [ "ce485240.bb0fa", "1ffd982aa6657013" ], [] ] }, { "id": "1dd23162.47096f", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "", "action": "min", "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload.data", "dataProperties": [], "x": 1140, "y": 40, "wires": [ [ "89fa71fb.d157d" ], [] ] }, { "id": "89fa71fb.d157d", "type": "test", "z": "11cc261f.ec82da", "name": "", "payload": "{\"data\":[1,2,3]}", "payloadType": "json", "result": "1", "resultType": "num", "resultProperty": "msg.result", "topic": "", "x": 870, "y": 40, "wires": [ [ "1dd23162.47096f" ], [], [] ] }, { "id": "1ffd982aa6657013", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "difference", "action": "difference", "columns": "", "outputs": 2, "outliersBase": "avg", "outliersStdDevs": "3", "term": "10", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload[0]", "msg.payload[1]" ], "x": 380, "y": 1060, "wires": [ [ "41453a54a3914a81" ], [] ] }, { "id": "41453a54a3914a81", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "difference seasonal", "action": "differenceSeasonal", "columns": "", "lag": "2", "outputs": 2, "outliersBase": "avg", "outliersStdDevs": "3", "term": "10", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload[0]", "msg.payload[1]" ], "x": 410, "y": 1120, "wires": [ [ "25c998531bce6e6b" ], [] ] }, { "id": "25c998531bce6e6b", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "diifference second order", "action": "differenceSecondOrder", "columns": "", "lag": "1", "outputs": 2, "outliersBase": "avg", "outliersStdDevs": "3", "term": "10", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload[0]", "msg.payload[1]" ], "x": 430, "y": 1180, "wires": [ [ "3b47871eb15d2f72" ], [] ] }, { "id": "3b47871eb15d2f72", "type": "Data Analysis", "z": "11cc261f.ec82da", "name": "difference seasonal second order", "action": "differenceSeasonalSecondOrder", "columns": "", "lag": "2", "outputs": 2, "outliersBase": "avg", "outliersStdDevs": "3", "term": "10", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload[0]", "msg.payload[1]" ], "x": 460, "y": 1240, "wires": [ [], [] ] }, { "id": "a749368e.985a18", "type": "Data Analysis", "z": "cf595649.931658", "name": "", "action": "realtime", "columns": "", "lag": "5", "outputs": 3, "outliersBase": "avg", "outliersStdDevs": "2", "term": "3", "keyProperty": "msg.payload.assignedColor", "dataProperty": "msg.payload.salary", "dataProperties": [], "x": 437, "y": 80, "wires": [ [], [ "a6cd6306.a217c" ], [ "a37e4b57.2a7778" ] ] }, { "id": "a6cd6306.a217c", "type": "debug", "z": "cf595649.931658", "name": "realtime", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "result", "targetType": "msg", "x": 680, "y": 120, "wires": [] }, { "id": "62f3c2c7.8c3b7c", "type": "inject", "z": "cf595649.931658", "name": "@stats", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "@stats", "payload": "", "payloadType": "date", "x": 150, "y": 200, "wires": [ [ "a749368e.985a18", "770e1ad6.5fe4f4" ] ] }, { "id": "7f16af76.d1c2b", "type": "Load Injector", "z": "cf595649.931658", "name": "", "thinktimemin": "10", "thinktimemax": "100", "runtime": "60", "payload": "", "payloadType": "date", "topic": "", "topicType": "str", "x": 150, "y": 40, "wires": [ [ "82a035c7.eb2198" ], [] ] }, { "id": "770e1ad6.5fe4f4", "type": "Data Analysis", "z": "cf595649.931658", "name": "", "action": "pearsonR", "columns": "", "lag": 1, "outputs": 2, "outliersStdDevs": "3", "term": "3", "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload.salary", "msg.payload.age", "msg.payload.height" ], "x": 430, "y": 160, "wires": [ [], [ "a6cd6306.a217c" ] ] }, { "id": "a37e4b57.2a7778", "type": "debug", "z": "cf595649.931658", "name": "outlier", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 670, "y": 200, "wires": [] }, { "id": "65bd1564.34a0cc", "type": "inject", "z": "cf595649.931658", "name": "outiler", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "{\"name\":\"test outlier \",\"work\":\"outlier\",\"email\":\"{{email}}\",\"address\":\"{{int 1 100}} {{street}}\",\"country\":\"{{country}}\",\"salary\":700,\"assignedColor\":\"red\",\"age\":69,\"height\":2.6}", "payloadType": "json", "x": 130, "y": 280, "wires": [ [ "a749368e.985a18" ] ] }, { "id": "82a035c7.eb2198", "type": "data-generator", "z": "cf595649.931658", "name": "", "field": "payload", "fieldType": "msg", "syntax": "json", "template": "{\n \"name\": \"{{firstName}} {{lastName}}\",\n \"work\": \"{{company}}\",\n \"email\": \"{{email}}\",\n \"address\": \"{{int 1 100}} {{street}}\",\n \"country\": \"{{country}}\",\n \"salary\": {{float 50 150 '0.00'}},\n \"assignedColor\":\"{{color}}\",\n \"age\": {{int 16 67 '0'}},\n \"height\": {{float 1.5 2.5 '0.0'}}\n}", "x": 160, "y": 120, "wires": [ [ "a749368e.985a18", "770e1ad6.5fe4f4" ] ] }, { "id": "b7da7a9e30699c6f", "type": "Data Analysis", "z": "cf595649.931658", "name": "", "action": "autocorrelation", "columns": "", "lag": 1, "outputs": 2, "outliersBase": "avg", "outliersStdDevs": "3", "term": 10, "keyProperty": "msg.topic", "dataProperty": "msg.payload", "dataProperties": [ "msg.payload[0]", "msg.payload[1]" ], "x": 520, "y": 420, "wires": [ [ "542b732966669deb" ], [] ] }, { "id": "114d327f05e06720", "type": "test", "z": "cf595649.931658", "name": "autocovariance data", "errorFactor": "0.001", "escapeString": false, "infiniteIsNull": false, "payload": "[0.05,0.01,-0.02,0.03,-0.04,0.06,0.02,-0.01,-0.03,0.04]", "payloadType": "json", "result": "-0.38", "resultType": "num", "resultProperty": "msg.result", "topic": "", "x": 160, "y": 420, "wires": [ [ "b7da7a9e30699c6f" ], [ "da932227f003cc83" ], [ "74920ca767d590ba" ] ] }, { "id": "da932227f003cc83", "type": "debug", "z": "cf595649.931658", "name": "error", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 710, "y": 340, "wires": [] }, { "id": "542b732966669deb", "type": "Monitor Flow", "z": "cf595649.931658", "name": "", "x": 390, "y": 340, "wires": [ [ "114d327f05e06720" ] ] }, { "id": "74920ca767d590ba", "type": "Monitor Flow", "z": "cf595649.931658", "name": "", "x": 370, "y": 500, "wires": [ [] ] }, { "id": "ffd72c7.5d152d", "type": "Host Available", "z": "955f4808.fd1898", "name": "", "host": "localhost", "port": "9092", "checkInterval": "60", "x": 400, "y": 60, "wires": [ [ "be654225.78ec5" ], [ "16439017.33e21" ] ] }, { "id": "a303ce7d.b0c31", "type": "Host Available", "z": "955f4808.fd1898", "name": "", "host": "localhost", "port": "1880", "checkInterval": "", "x": 380, "y": 140, "wires": [ [ "be654225.78ec5" ], [ "16439017.33e21" ] ] }, { "id": "be654225.78ec5", "type": "debug", "z": "955f4808.fd1898", "name": "host ok", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 620, "y": 60, "wires": [] }, { "id": "16439017.33e21", "type": "debug", "z": "955f4808.fd1898", "name": "host down", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "payload", "targetType": "msg", "x": 630, "y": 140, "wires": [] }, { "id": "3e04758.89a298a", "type": "inject", "z": "955f4808.fd1898", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 100, "y": 140, "wires": [ [ "a303ce7d.b0c31", "ffd72c7.5d152d" ] ] }, { "id": "62f6a2ef.48084c", "type": "inject", "z": "955f4808.fd1898", "name": "refreshHostAvailable", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "refreshHostAvailable", "payload": "", "payloadType": "date", "x": 130, "y": 60, "wires": [ [ "a303ce7d.b0c31", "ffd72c7.5d152d" ] ] }, { "id": "4bed6788.398bc8", "type": "Load Injector", "z": "cf804fb2.6df8c", "name": "", "thinktimemin": "100", "thinktimemax": "5000", "runtime": "30", "payload": "", "payloadType": "date", "topic": "", "topicType": "str", "x": 190, "y": 100, "wires": [ [ "df6c40ba.fb661" ], [ "dd8f915be7585f46" ] ] }, { "id": "df6c40ba.fb661", "type": "function", "z": "cf804fb2.6df8c", "name": "Message count", "func": "var count = context.get('count')||0;\ncontext.set('count',++count);\nnode.status({fill:\"green\",shape:\"ring\",text:\"count: \"+count});\nreturn msg;", "outputs": 1, "noerr": 0, "initialize": "", "finalize": "", "libs": [], "x": 600, "y": 100, "wires": [ [] ] }, { "id": "dd8f915be7585f46", "type": "debug", "z": "cf804fb2.6df8c", "name": "debug 1", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "statusVal": "", "statusType": "auto", "x": 580, "y": 160, "wires": [] }, { "id": "f8d6f002dbf1a0ec", "type": "Load Injector", "z": "1be03be45284f9d4", "name": "gen id + json", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "[\"aaa\"]", "payloadType": "json", "topic": "", "topicType": "genid", "x": 130, "y": 140, "wires": [ [ "06a65ce9414ae1a8" ], [ "d75971a334c97a1d" ] ] }, { "id": "d75971a334c97a1d", "type": "debug", "z": "1be03be45284f9d4", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 570, "y": 280, "wires": [] }, { "id": "06a65ce9414ae1a8", "type": "Monitor Flow", "z": "1be03be45284f9d4", "name": "", "x": 470, "y": 120, "wires": [ [ "d75971a334c97a1d" ] ] }, { "id": "ce87d1616e851eb3", "type": "Load Injector", "z": "1be03be45284f9d4", "name": "timestamp+string", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "abc", "payloadType": "str", "topic": "", "topicType": "date", "x": 150, "y": 80, "wires": [ [ "06a65ce9414ae1a8" ], [ "d75971a334c97a1d" ] ] }, { "id": "f92c48ed91e841ca", "type": "Load Injector", "z": "1be03be45284f9d4", "name": "number+boolean", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "true", "payloadType": "bool", "topic": "123", "topicType": "num", "x": 130, "y": 200, "wires": [ [ "06a65ce9414ae1a8" ], [ "d75971a334c97a1d" ] ] }, { "id": "273e66a15fcb86aa", "type": "Load Injector", "z": "1be03be45284f9d4", "name": "jsondata+buffer", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "[97,116,101,115,116]", "payloadType": "str", "topic": "$random()\t", "topicType": "str", "x": 120, "y": 280, "wires": [ [ "06a65ce9414ae1a8" ], [ "d75971a334c97a1d" ] ] }, { "id": "6282e45766a9ca96", "type": "Load Injector", "z": "1be03be45284f9d4", "name": "", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "{\"users\":[ {{#repeat 2}}{\"id\": {{@index}}, \"name\": \"{{firstName}} {{lastName}}\", \"work\": \"{{company}}\", \"email\": \"{{email}}\", \"dob\": \"{{date '1900' '2000' 'YYYY'}}\", \"address\": \"{{int 1 100}} {{street}}\", \"city\": \"{{city}}\", \"optedin\": {{boolean}} } {{/repeat}} ], \"images\": [{{#repeat 3}} \"img{{@index}}.png\" {{/repeat}}], \"coordinates\": { \"x\": {{float -50 50 '0.00'}}, \"y\": {{float -25 25 '0.00'}} }, \"price\": \"${{int 0 99999 '0,0'}}\"}", "payloadType": "genDataJSON", "topic": "{{#repeat 3 comma=false}}hello1{{/repeat}} ", "topicType": "genData", "x": 110, "y": 380, "wires": [ [ "d75971a334c97a1d" ], [] ] }, { "id": "a2aba2377f22b1af", "type": "matrix", "z": "ae9957f07bd56e1b", "name": "", "action": "define", "args": [ "rows", "columns", "dataType" ], "call": "", "column": "", "column-type": "num", "columns": "3", "columns-type": "num", "dataType": "Float64Array", "end": "", "end-type": "num", "factor": "", "factor-type": "num", "initialState": "setZero", "matrix": "payload", "matrix-type": "msg", "precision": 3, "precision-type": "num", "row": 3, "row-type": "num", "rows": "4", "rows-type": "num", "rowTarget": "", "rowTarget-type": "num", "source": "_matrix", "source-type": "msg", "start": "", "start-type": "num", "target": "_matrix", "target-type": "msg", "value": "payload", "value-type": "msg", "vector": "payload", "vector-type": "msg", "x": 290, "y": 160, "wires": [ [ "c922cee2ef7e0546" ], [ "bbc14559e50eb44a" ] ] }, { "id": "c922cee2ef7e0546", "type": "debug", "z": "ae9957f07bd56e1b", "name": "debug 2", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 540, "y": 140, "wires": [] }, { "id": "bbc14559e50eb44a", "type": "debug", "z": "ae9957f07bd56e1b", "name": "Error", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "true", "targetType": "full", "statusVal": "", "statusType": "auto", "x": 530, "y": 200, "wires": [] }, { "id": "79292cc4355e3252", "type": "inject", "z": "ae9957f07bd56e1b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 100, "y": 120, "wires": [ [ "a2aba2377f22b1af" ] ] }, { "id": "b4bb7d0bf7b654d9", "type": "matrix", "z": "ae9957f07bd56e1b", "name": "", "action": "defineEmpty", "args": [ "rows", "columns", "dataType" ], "call": "", "column": "", "column-type": "num", "columns": "2", "columns-type": "num", "dataType": "Float32Array", "end": "", "end-type": "num", "factor": "", "factor-type": "num", "initialState": "setZero", "matrix": "payload", "matrix-type": "msg", "precision": 3, "precision-type": "num", "row": 3, "row-type": "num", "rows": "3", "rows-type": "num", "rowTarget": "", "rowTarget-type": "num", "source": "_matrix", "source-type": "msg", "start": "", "start-type": "num", "target": "_matrix", "target-type": "msg", "value": "payload", "value-type": "msg", "vector": "payload", "vector-type": "msg", "x": 310, "y": 260, "wires": [ [ "c922cee2ef7e0546" ], [ "bbc14559e50eb44a" ] ] }, { "id": "0da6adfb6026f53b", "type": "inject", "z": "ae9957f07bd56e1b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 100, "y": 260, "wires": [ [ "b4bb7d0bf7b654d9" ] ] }, { "id": "a7479251a3e14f81", "type": "matrix", "z": "ae9957f07bd56e1b", "name": "", "action": "create", "args": [ "initialState", "rows", "columns" ], "call": "", "column": "", "column-type": "num", "columns": "2", "columns-type": "num", "end": "", "end-type": "num", "factor": "", "factor-type": "num", "initialState": "setZero", "matrix": "payload", "matrix-type": "msg", "precision": 3, "precision-type": "num", "row": 3, "row-type": "num", "rows": "3", "rows-type": "num", "rowTarget": "", "rowTarget-type": "num", "source": "payload", "source-type": "msg", "sourceArray": "[[1,2],[3,4],[5.6]]", "sourceArray-type": "json", "start": "", "start-type": "num", "target": "_matrix", "target-type": "msg", "value": "payload", "value-type": "msg", "vector": "payload", "vector-type": "msg", "x": 310, "y": 340, "wires": [ [ "c922cee2ef7e0546" ], [ "bbc14559e50eb44a" ] ] }, { "id": "1df55e5fc034db0a", "type": "inject", "z": "ae9957f07bd56e1b", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 140, "y": 340, "wires": [ [ "a7479251a3e14f81" ] ] }, { "id": "25c0c8c9e94083e0", "type": "test", "z": "ae9957f07bd56e1b", "name": "test idenity create", "errorFactor": 0, "escapeString": false, "infiniteIsNull": false, "payload": "", "payloadType": "date", "result": "$boolean(msg._matrix.toArray()=[[1,0],[0,1]])", "resultType": "jsonata", "resultProperty": "msg.payload", "topic": "", "x": 170, "y": 480, "wires": [ [ "a0c8377d534977a2" ], [ "bbc14559e50eb44a" ], [] ] }, { "id": "a0c8377d534977a2", "type": "matrix", "z": "ae9957f07bd56e1b", "name": "", "action": "create", "args": [ "initialState", "rows", "columns", "dataType" ], "call": "", "column": "", "column-type": "num", "columns": "2", "columns-type": "num", "dataType": "Float32Array", "end": "", "end-type": "num", "factor": "", "factor-type": "num", "initialState": "setIdentity", "matrix": "payload", "matrix-type": "msg", "precision": 3, "precision-type": "num", "row": 3, "row-type": "num", "rows": "2", "rows-type": "num", "rowTarget": "", "rowTarget-type": "num", "source": "_matrix", "source-type": "msg", "sourceArray": "payload", "sourceArray-type": "msg,json,flow,global", "start": "", "start-type": "num", "target": "_matrix", "target-type": "msg", "value": "payload", "value-type": "msg", "vector": "payload", "vector-type": "msg", "x": 430, "y": 480, "wires": [ [ "25c0c8c9e94083e0" ], [] ] }, { "id": "c4e5d98c.1db6f8", "type": "Monitor Flow", "z": "fcc005d5.131ee8", "name": "", "x": 370, "y": 60, "wires": [ [] ] }, { "id": "6985d392.2b65ac", "type": "Load Injector", "z": "fcc005d5.131ee8", "name": "", "thinktimemin": 1000, "thinktimemax": 10000, "runtime": 60, "payload": "", "payloadType": "date", "x": 150, "y": 60, "wires": [ [ "c4e5d98c.1db6f8" ], [] ] }, { "id": "c1d0d1b5be0f10d4", "type": "Monitor System", "z": "0ff935c8a42f26ae", "name": "", "metrics": "gaugeMemory,resourceUsage,chartLineResource", "x": 180, "y": 240, "wires": [ [] ] }, { "id": "ac811c5f2be19993", "type": "Monitor System", "z": "0ff935c8a42f26ae", "name": "", "me