{
  "__ceresflows_export": "1.0",
  "name": "Inline",
  "description": "",
  "mode": "",
  "timeoutSec": 0,
  "onTimeout": "PAUSE",
  "hardwareDependencies": {
    "3427b7d2-4590-4b4f-8b8a-0a83a1aa07e7": {
      "name": "Flow",
      "model": "Water Flow Sensor",
      "type": "SENSOR",
      "description": ""
    },
    "453923a6-2e38-43e5-bbdc-c3de109bf198": {
      "name": "EC Main Tank",
      "model": "EC V2 DFRobot",
      "type": "SENSOR",
      "description": "This is the sensor that measures the current level of \"EC\" in the main tank."
    },
    "e6397319-0c00-48bb-addc-189a0a3f4d0b": {
      "name": "Pump A",
      "model": "Generic Pump",
      "type": "ACTUATOR",
      "description": "This is the pump for adding nutrient \"Solution A\" to the main tank."
    },
    "d8782533-f967-4767-9e3e-3d092a635241": {
      "name": "Pump Irrigation",
      "model": "Generic Pump",
      "type": "ACTUATOR",
      "description": "This is the irrigation pump."
    },
    "d32f7579-1a94-4ba8-86c4-f00c3615c772": {
      "name": "Pump B",
      "model": "Generic Pump",
      "type": "ACTUATOR",
      "description": "This is the pump for adding nutrient \"Solution B\" to the main tank."
    }
  },
  "nodes": [
    {
      "id": "start",
      "type": "START",
      "params": {
        "label": "Start",
        "hasError": false
      },
      "position": {
        "x": 38.57178926828577,
        "y": -189.4448572341842
      }
    },
    {
      "id": "end",
      "type": "END",
      "params": {
        "label": "End",
        "hasError": false
      },
      "position": {
        "x": 66.4809876420214,
        "y": 186.6224452013042
      }
    },
    {
      "id": "SENSOR_READ_1774719270730",
      "type": "SENSOR_READ",
      "params": {
        "label": "Read Sensor Flow",
        "readingType": "flow_rate:linear",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "deviceId": "3427b7d2-4590-4b4f-8b8a-0a83a1aa07e7",
        "variable": "var_1"
      },
      "position": {
        "x": 449.6355393991697,
        "y": -68.90421575966786
      }
    },
    {
      "id": "IF_1774719306924",
      "type": "IF",
      "params": {
        "label": "Condition (IF)",
        "operator": "<=",
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "variable": "var_1",
        "value": "0"
      },
      "position": {
        "x": 698.6905800329201,
        "y": -79.18880902626972
      }
    },
    {
      "id": "LOOP_1774719340582",
      "type": "LOOP",
      "params": {
        "label": "Loop",
        "limitMode": "TIME",
        "interval": 2,
        "intervalUnit": "sec",
        "count": 1,
        "timeout": 10,
        "timeoutUnit": "min",
        "operator": "==",
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "variable": "var_6",
        "value": "0"
      },
      "position": {
        "x": 531.2107210251903,
        "y": 476.95845231871624
      }
    },
    {
      "id": "SENSOR_READ_1774719346017",
      "type": "SENSOR_READ",
      "params": {
        "label": "Read ЕС Sensor",
        "readingType": "ec:multi_point",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "deviceId": "453923a6-2e38-43e5-bbdc-c3de109bf198",
        "variable": "var_2"
      },
      "position": {
        "x": 909.1985789169787,
        "y": 542.1034306497813
      }
    },
    {
      "id": "IF_1774719450877",
      "type": "IF",
      "params": {
        "label": "EC >",
        "operator": ">",
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "variable": "var_2",
        "value": "{{global_4}}"
      },
      "position": {
        "x": 895.5276072071497,
        "y": 778.3943442375178
      }
    },
    {
      "id": "IF_1774719563692",
      "type": "IF",
      "params": {
        "label": "EC <",
        "operator": "<",
        "onFailure": "STOP",
        "errorNotification": false,
        "hasError": false,
        "variable": "var_2",
        "value": "{{global_4}}"
      },
      "position": {
        "x": 1239.5884339404827,
        "y": 801.9451414442042
      }
    },
    {
      "id": "ACTUATOR_SET_1774719681520",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "e6397319-0c00-48bb-addc-189a0a3f4d0b",
        "action": "ON",
        "amount": 30,
        "comment": "Стартиране на помпа А"
      },
      "position": {
        "x": 705.4531867767524,
        "y": 171.36123980949267
      }
    },
    {
      "id": "FLOW_CONTROL_1774719907452",
      "type": "FLOW_CONTROL",
      "params": {
        "label": "Flow Control (Jump/Label)",
        "controlType": "LOOP_BACK",
        "hasError": false,
        "targetLabel": "LOOP_1774719340582"
      },
      "position": {
        "x": 1325.0193186803392,
        "y": 1466.0170671468154
      }
    },
    {
      "id": "MATH_VARIABLE_1774720008157",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Set Loop Variable",
        "operation": "SET",
        "valueType": "constant",
        "operandValue": 0,
        "hasError": false,
        "targetVariable": "var_6",
        "comment": "Задаване на стойснот за луп блока, за да е верен"
      },
      "position": {
        "x": 1436.2998290391029,
        "y": 336.81553678153386
      }
    },
    {
      "id": "ACTUATOR_SET_1774743330986",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d8782533-f967-4767-9e3e-3d092a635241",
        "action": "ON",
        "comment": "Стартиране на помпата за поливане"
      },
      "position": {
        "x": 22.790988943452646,
        "y": -60.36193884596042
      }
    },
    {
      "id": "WAIT_1774743354032",
      "type": "WAIT",
      "params": {
        "label": "Wait",
        "duration": 5,
        "durationUnit": "sec",
        "hasError": false,
        "comment": "Изчакване определено време за да се запълнят тръбите"
      },
      "position": {
        "x": 254.95322283800095,
        "y": -54.2760585396647
      }
    },
    {
      "id": "generic_1774743539625",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump B Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d32f7579-1a94-4ba8-86c4-f00c3615c772",
        "action": "SET_SPEED",
        "amount": 100,
        "comment": "Задаване на скорост на помпа Б"
      },
      "position": {
        "x": 1440.1627292847859,
        "y": 179.28211749350828
      }
    },
    {
      "id": "MATH_VARIABLE_1774743577649",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Set EC Spped -",
        "operation": "SUBTRACT",
        "valueType": "variable",
        "operandValue": 0,
        "hasError": false,
        "targetVariable": "var_7",
        "operandVariable": "var_8"
      },
      "position": {
        "x": 527.2617337643554,
        "y": 806.5152396597707
      }
    },
    {
      "id": "MATH_VARIABLE_1774743726765",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Clamp min",
        "operation": "CLAMP",
        "valueType": "constant",
        "operandValue": 5,
        "hasError": false,
        "targetVariable": "var_7",
        "clampMin": 5,
        "clampMax": 100
      },
      "position": {
        "x": 543.981447629772,
        "y": 992.5320251396863
      }
    },
    {
      "id": "ACTUATOR_SET_1774743759888",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump A Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "e6397319-0c00-48bb-addc-189a0a3f4d0b",
        "action": "SET_SPEED",
        "amount": "{{var_7}}"
      },
      "position": {
        "x": 537.5772298967289,
        "y": 1156.6211052797146
      }
    },
    {
      "id": "generic_1774743776399",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump B Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d32f7579-1a94-4ba8-86c4-f00c3615c772",
        "action": "SET_SPEED",
        "amount": "{{var_7}}"
      },
      "position": {
        "x": 537.2417210847834,
        "y": 1316.4365788017162
      }
    },
    {
      "id": "generic_1774743826947",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Set EC Spped +",
        "operation": "ADD",
        "valueType": "variable",
        "operandValue": 0,
        "hasError": false,
        "targetVariable": "var_7",
        "operandVariable": "var_8"
      },
      "position": {
        "x": 1210.4506903290267,
        "y": 1016.6634001080686
      }
    },
    {
      "id": "generic_1774743857149",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Clamp max",
        "operation": "CLAMP",
        "valueType": "constant",
        "operandValue": 100,
        "hasError": false,
        "targetVariable": "var_7",
        "clampMin": 5,
        "clampMax": 100
      },
      "position": {
        "x": 992.2149162149515,
        "y": 1025.91114937688
      }
    },
    {
      "id": "generic_1774743872624",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump A Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "e6397319-0c00-48bb-addc-189a0a3f4d0b",
        "action": "SET_SPEED",
        "amount": "{{var_7}}"
      },
      "position": {
        "x": 991.3236329828694,
        "y": 1178.0611691420056
      }
    },
    {
      "id": "generic_1774743880109",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump B Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d32f7579-1a94-4ba8-86c4-f00c3615c772",
        "action": "SET_SPEED",
        "amount": "{{var_7}}"
      },
      "position": {
        "x": 759.4127558013665,
        "y": 1200.7713447633064
      }
    },
    {
      "id": "MATH_VARIABLE_1774744138139",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Set Pump Speed",
        "operation": "SET",
        "valueType": "constant",
        "operandValue": 100,
        "hasError": false,
        "targetVariable": "var_7",
        "comment": "Задавнена първоначална стойснот на скоростта на помпите"
      },
      "position": {
        "x": 1202.9853149403616,
        "y": 342.9206298550523
      }
    },
    {
      "id": "generic_1774744191672",
      "type": "MATH_VARIABLE",
      "params": {
        "label": "Set Step",
        "operation": "SET",
        "valueType": "constant",
        "operandValue": 5,
        "hasError": false,
        "targetVariable": "var_8",
        "comment": "Задаване на стъпка за промяна на скоростта"
      },
      "position": {
        "x": 952.5026283159207,
        "y": 339.96342461716796
      }
    },
    {
      "id": "generic_1774744412800",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Pump A Speed",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "e6397319-0c00-48bb-addc-189a0a3f4d0b",
        "action": "SET_SPEED",
        "amount": 100,
        "safetyTtl": 0,
        "comment": "Задаване на скорост на помпа А"
      },
      "position": {
        "x": 941.5423202862721,
        "y": 171.9672105446202
      }
    },
    {
      "id": "generic_1774744448948",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d32f7579-1a94-4ba8-86c4-f00c3615c772",
        "action": "ON",
        "amount": 100,
        "comment": "Стартиране на помпа Б"
      },
      "position": {
        "x": 1194.9472520505478,
        "y": 178.73938987363877
      }
    },
    {
      "id": "generic_1774746069646",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "e6397319-0c00-48bb-addc-189a0a3f4d0b",
        "action": "OFF",
        "amount": 30,
        "comment": "Стартиране на помпа А"
      },
      "position": {
        "x": 287.7279438448725,
        "y": 355.4841902760257
      }
    },
    {
      "id": "generic_1774746082932",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d8782533-f967-4767-9e3e-3d092a635241",
        "action": "OFF",
        "comment": "Стартиране на помпата за поливане"
      },
      "position": {
        "x": 287.55843864927715,
        "y": 514.3342424375035
      }
    },
    {
      "id": "generic_1774746095270",
      "type": "ACTUATOR_SET",
      "params": {
        "label": "Set Actuator",
        "strategy": "actuator_manual",
        "durationUnit": "sec",
        "amountMode": "VOLUME",
        "amountUnit": "ml",
        "safetyTtlUnit": "sec",
        "retryCount": 3,
        "retryDelay": 1000,
        "onFailure": "STOP",
        "errorNotification": false,
        "revertOnStop": true,
        "witnessDelay": 0,
        "witnessDelayUnit": "sec",
        "hasError": false,
        "deviceId": "d32f7579-1a94-4ba8-86c4-f00c3615c772",
        "action": "OFF",
        "amount": 100
      },
      "position": {
        "x": 288.1441954300852,
        "y": 663.6689327246173
      }
    }
  ],
  "edges": [
    {
      "id": "xy-edge__SENSOR_READ_1774719270730source-IF_1774719306924",
      "source": "SENSOR_READ_1774719270730",
      "target": "IF_1774719306924",
      "sourceHandle": "source",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__LOOP_1774719340582body-SENSOR_READ_1774719346017target",
      "source": "LOOP_1774719340582",
      "target": "SENSOR_READ_1774719346017",
      "sourceHandle": "body",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__SENSOR_READ_1774719346017source-IF_1774719450877",
      "source": "SENSOR_READ_1774719346017",
      "target": "IF_1774719450877",
      "sourceHandle": "source",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__ACTUATOR_SET_1774743330986source-WAIT_1774743354032target",
      "source": "ACTUATOR_SET_1774743330986",
      "target": "WAIT_1774743354032",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774743539625source-MATH_VARIABLE_1774720008157target",
      "source": "generic_1774743539625",
      "target": "MATH_VARIABLE_1774720008157",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__IF_1774719450877false-IF_1774719563692target",
      "source": "IF_1774719450877",
      "target": "IF_1774719563692",
      "sourceHandle": "false",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__IF_1774719450877false-IF_1774719563692",
      "source": "IF_1774719450877",
      "target": "IF_1774719563692",
      "sourceHandle": "false",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__IF_1774719450877true-MATH_VARIABLE_1774743577649target",
      "source": "IF_1774719450877",
      "target": "MATH_VARIABLE_1774743577649",
      "sourceHandle": "true",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__MATH_VARIABLE_1774743726765source-ACTUATOR_SET_1774743759888target",
      "source": "MATH_VARIABLE_1774743726765",
      "target": "ACTUATOR_SET_1774743759888",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__ACTUATOR_SET_1774743759888source-generic_1774743776399target",
      "source": "ACTUATOR_SET_1774743759888",
      "target": "generic_1774743776399",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__IF_1774719563692true-generic_1774743826947target",
      "source": "IF_1774719563692",
      "target": "generic_1774743826947",
      "sourceHandle": "true",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774743857149source-generic_1774743872624target",
      "source": "generic_1774743857149",
      "target": "generic_1774743872624",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__generic_1774743872624source-generic_1774743880109target",
      "source": "generic_1774743872624",
      "target": "generic_1774743880109",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774743880109source-FLOW_CONTROL_1774719907452target",
      "source": "generic_1774743880109",
      "target": "FLOW_CONTROL_1774719907452",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774743776399source-FLOW_CONTROL_1774719907452target",
      "source": "generic_1774743776399",
      "target": "FLOW_CONTROL_1774719907452",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__IF_1774719563692false-FLOW_CONTROL_1774719907452target",
      "source": "IF_1774719563692",
      "target": "FLOW_CONTROL_1774719907452",
      "sourceHandle": "false",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__MATH_VARIABLE_1774720008157source-MATH_VARIABLE_1774744138139target",
      "source": "MATH_VARIABLE_1774720008157",
      "target": "MATH_VARIABLE_1774744138139",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__MATH_VARIABLE_1774744138139source-generic_1774744191672target",
      "source": "MATH_VARIABLE_1774744138139",
      "target": "generic_1774744191672",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774744191672source-LOOP_1774719340582",
      "source": "generic_1774744191672",
      "target": "LOOP_1774719340582",
      "sourceHandle": "source",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__MATH_VARIABLE_1774743577649source-MATH_VARIABLE_1774743726765target",
      "source": "MATH_VARIABLE_1774743577649",
      "target": "MATH_VARIABLE_1774743726765",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774743826947source-generic_1774743857149target",
      "source": "generic_1774743826947",
      "target": "generic_1774743857149",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__ACTUATOR_SET_1774719681520source-generic_1774744412800target",
      "source": "ACTUATOR_SET_1774719681520",
      "target": "generic_1774744412800",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774744412800source-generic_1774744448948target",
      "source": "generic_1774744412800",
      "target": "generic_1774744448948",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774744448948source-generic_1774743539625target",
      "source": "generic_1774744448948",
      "target": "generic_1774743539625",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__LOOP_1774719340582exit-generic_1774746069646target",
      "source": "LOOP_1774719340582",
      "target": "generic_1774746069646",
      "sourceHandle": "exit",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774746069646source-generic_1774746082932target",
      "source": "generic_1774746069646",
      "target": "generic_1774746082932",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__generic_1774746095270source-endtarget",
      "source": "generic_1774746095270",
      "target": "end",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__generic_1774746082932source-generic_1774746095270target",
      "source": "generic_1774746082932",
      "target": "generic_1774746095270",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__WAIT_1774743354032source-SENSOR_READ_1774719270730target",
      "source": "WAIT_1774743354032",
      "target": "SENSOR_READ_1774719270730",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__IF_1774719306924false-ACTUATOR_SET_1774719681520target",
      "source": "IF_1774719306924",
      "target": "ACTUATOR_SET_1774719681520",
      "sourceHandle": "false",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    },
    {
      "id": "xy-edge__startsource-ACTUATOR_SET_1774743330986target",
      "source": "start",
      "target": "ACTUATOR_SET_1774743330986",
      "sourceHandle": "source",
      "targetHandle": "target",
      "type": "smoothstep"
    },
    {
      "id": "xy-edge__IF_1774719306924true-endtarget",
      "source": "IF_1774719306924",
      "target": "end",
      "sourceHandle": "true",
      "targetHandle": "target",
      "type": "smoothstep",
      "style": {
        "strokeWidth": 2
      }
    }
  ],
  "variables": [
    {
      "id": "var_1",
      "name": "Flow",
      "type": "number",
      "scope": "local",
      "unit": "L/min",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    },
    {
      "id": "var_2",
      "name": "EC Current",
      "type": "number",
      "scope": "local",
      "unit": "mS/cm",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    },
    {
      "id": "var_3",
      "name": "pH Current",
      "type": "number",
      "scope": "local",
      "unit": "pH",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    },
    {
      "id": "global_4",
      "name": "EC Need",
      "type": "number",
      "scope": "global",
      "unit": "mS/cm",
      "hasTolerance": true,
      "description": "",
      "value": 2400,
      "defaultTolerance": 200,
      "defaultTolMode": "symmetric"
    },
    {
      "id": "global_5",
      "name": "pH Need",
      "type": "number",
      "scope": "global",
      "unit": "pH",
      "hasTolerance": true,
      "description": "",
      "value": 6.2,
      "defaultTolerance": 0.2,
      "defaultTolMode": "symmetric"
    },
    {
      "id": "var_6",
      "name": "Loop",
      "type": "number",
      "scope": "local",
      "unit": "count",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    },
    {
      "id": "var_7",
      "name": "Pump Speed",
      "type": "number",
      "scope": "local",
      "unit": "count",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    },
    {
      "id": "var_8",
      "name": "Step",
      "type": "number",
      "scope": "local",
      "unit": "count",
      "hasTolerance": false,
      "description": "",
      "defaultTolMode": "symmetric"
    }
  ]
}