U-Board

Water treatment transfer system

Water & utilities · Process diagram

Levels, pump states, discharge pressures and the transfer flow on their places in the process diagram, from the intake well through three transfer pumps and the clear well to two reservoirs. Normal stays grey and only the abnormal takes colour, as SCADA screens are drawn (ISA-101). Example data.

Water treatment transfer system

A board drawn with U-Board. Its values are example data written for it, not readings from a real site.

Open in the playground →

Board definition (JSON)

Everything that draws this board — where each value is read from (data), what is shown (parts), and where it sits and over what background (layout), in the same format U-Board’s editor and AI assistant write. The background drawing is long, so it is shortened here; the downloaded file has it whole.

Download — board.json
{
  "data": {
    "levels": {
      "from": "scada",
      "path": "/scada/levels",
      "time": "updatedAt",
      "fresh": 60,
      "fields": {
        "intake": {
          "label": "착수정 수위",
          "unit": "m"
        },
        "clearWell": {
          "unit": "%"
        },
        "reservoirA": {
          "unit": "%"
        },
        "reservoirB": {
          "unit": "%"
        }
      }
    },
    "pumps": {
      "from": "scada",
      "path": "/scada/pumps",
      "list": "/value",
      "key": "id",
      "time": "updatedAt",
      "fresh": 60,
      "fields": {
        "state": {
          "label": "P-101",
          "names": {
            "running": "운전",
            "standby": "대기",
            "fault": "고장 정지",
            "maintenance": "정비",
            "*": "알 수 없음"
          },
          "state": {
            "running": "idle",
            "standby": "idle",
            "fault": "alarm",
            "maintenance": "warn",
            "*": "warn"
          }
        },
        "pressure": {
          "label": "토출 압력(bar)"
        },
        "state-2": {
          "at": "/state",
          "state": {
            "running": "idle",
            "standby": "idle",
            "fault": "alarm",
            "maintenance": "warn",
            "*": "warn"
          }
        },
        "state-3": {
          "label": "P-102",
          "names": {
            "running": "운전",
            "standby": "대기",
            "fault": "고장 정지",
            "maintenance": "정비",
            "*": "알 수 없음"
          },
          "at": "/state",
          "state": {
            "running": "idle",
            "standby": "idle",
            "fault": "alarm",
            "maintenance": "warn",
            "*": "warn"
          }
        },
        "state-4": {
          "label": "P-103",
          "names": {
            "running": "운전",
            "standby": "대기",
            "fault": "고장 정지",
            "maintenance": "정비",
            "*": "알 수 없음"
          },
          "at": "/state",
          "state": {
            "running": "idle",
            "standby": "idle",
            "fault": "alarm",
            "maintenance": "warn",
            "*": "warn"
          }
        }
      }
    },
    "quality": {
      "from": "scada",
      "path": "/scada/quality",
      "time": "updatedAt",
      "fresh": 60,
      "fields": {
        "flow": {
          "label": "송수 유량",
          "unit": "m³/h"
        },
        "turbidity": {
          "label": "탁도",
          "unit": "NTU"
        },
        "chlorine": {
          "label": "잔류염소",
          "unit": "mg/L"
        }
      }
    },
    "flow-trend": {
      "from": "scada",
      "path": "/scada/flow-trend",
      "list": "/value",
      "fresh": 60,
      "answerTime": "/updatedAt"
    }
  },
  "parts": {
    "intake-level": {
      "as": "stat",
      "of": "levels",
      "show": "intake"
    },
    "pump-P-101": {
      "as": "stat-list",
      "of": "pumps[P-101]",
      "show": [
        "state",
        "pressure"
      ],
      "state": "state-2"
    },
    "pump-P-102": {
      "as": "stat-list",
      "of": "pumps[P-102]",
      "show": [
        "state-3",
        "pressure"
      ],
      "state": "state-2"
    },
    "pump-P-103": {
      "as": "stat-list",
      "of": "pumps[P-103]",
      "show": [
        "state-4",
        "pressure"
      ],
      "state": "state-2"
    },
    "clear-well": {
      "as": "gauge",
      "of": "levels",
      "show": "clearWell",
      "subtitle": "정수지 수위",
      "thresholds": [
        {
          "to": 25,
          "color": "orange"
        },
        {
          "to": 100,
          "color": "#6b7680"
        }
      ],
      "max": 100
    },
    "transfer-flow": {
      "as": "stat",
      "of": "quality",
      "show": "flow"
    },
    "reservoirA": {
      "as": "gauge",
      "of": "levels",
      "show": "reservoirA",
      "subtitle": "1 배수지 수위",
      "thresholds": [
        {
          "to": 25,
          "color": "orange"
        },
        {
          "to": 100,
          "color": "#6b7680"
        }
      ],
      "max": 100
    },
    "reservoirB": {
      "as": "gauge",
      "of": "levels",
      "show": "reservoirB",
      "subtitle": "2 배수지 수위",
      "thresholds": [
        {
          "to": 25,
          "color": "orange"
        },
        {
          "to": 100,
          "color": "#6b7680"
        }
      ],
      "max": 100
    },
    "flow-trend": {
      "as": "chart.line",
      "of": "flow-trend",
      "title": "송수 유량 (m³/h, 6시간)",
      "x": "t",
      "y": "flow",
      "xFormat": "time",
      "valueAxisZero": false,
      "series": [
        {
          "label": "송수 유량",
          "symbol": "none",
          "color": "#4a555b"
        }
      ]
    },
    "turbidity": {
      "as": "stat",
      "of": "quality",
      "show": "turbidity"
    },
    "chlorine": {
      "as": "stat",
      "of": "quality",
      "show": "chlorine"
    }
  },
  "layout": {
    "kind": "canvas",
    "size": [
      1280,
      780
    ],
    "background": "(background drawing, 7 KB — in the downloaded file)",
    "place": {
      "intake-level": [
        56,
        320,
        148,
        70
      ],
      "pump-P-101": [
        346,
        152,
        230,
        64
      ],
      "pump-P-102": [
        346,
        282,
        230,
        64
      ],
      "pump-P-103": [
        346,
        412,
        230,
        64
      ],
      "clear-well": [
        670,
        290,
        150,
        120
      ],
      "transfer-flow": [
        835,
        380,
        170,
        70
      ],
      "reservoirA": [
        1070,
        190,
        150,
        120
      ],
      "reservoirB": [
        1070,
        440,
        150,
        120
      ],
      "flow-trend": [
        40,
        590,
        600,
        160
      ],
      "turbidity": [
        680,
        600,
        170,
        70
      ],
      "chlorine": [
        860,
        600,
        170,
        70
      ]
    },
    "shapes": {
      "title": {
        "text": "정수장 송수 계통",
        "at": [
          24,
          20
        ],
        "size": 24,
        "tone": "next"
      },
      "note": {
        "text": "착수정 → 송수 펌프 → 정수지 → 배수지 · 정상은 회색, 이상만 색 · 예시 데이터",
        "at": [
          24,
          54
        ],
        "size": 13,
        "tone": "past"
      }
    }
  },
  "board": {
    "skin": {
      "palette": {
        "paper": "#f1f3f4",
        "ink": "#4a555b",
        "muted": "#959ca0",
        "rule": "#7d8890"
      }
    }
  }
}
Data (source answers JSON)

The sources the board reads and what they answered — only the fields the board reads. This page draws the board from these answers, with no server.

Download — data.json
{
  "connectors": [
    {
      "key": "scada",
      "name": "예시 SCADA API",
      "example": true,
      "attribution": {
        "text": "예시 데이터 — 실제 정수장이 아닙니다"
      }
    }
  ],
  "capturedAt": "2026-10-15T05:30:00.000Z",
  "responses": {
    "scada": {
      "/scada/pumps": {
        "value": [
          {
            "id": "P-101",
            "state": "running",
            "pressure": 4.3,
            "updatedAt": "2026-10-15T05:29:50Z"
          },
          {
            "id": "P-102",
            "state": "running",
            "pressure": 4.2,
            "updatedAt": "2026-10-15T05:29:50Z"
          },
          {
            "id": "P-103",
            "state": "fault",
            "pressure": 0,
            "updatedAt": "2026-10-15T05:29:50Z"
          }
        ]
      },
      "/scada/levels": {
        "intake": 3.4,
        "clearWell": 72,
        "reservoirA": 64,
        "reservoirB": 41,
        "updatedAt": "2026-10-15T05:29:50Z"
      },
      "/scada/quality": {
        "flow": 1180,
        "turbidity": 0.08,
        "chlorine": 0.62,
        "updatedAt": "2026-10-15T05:29:50Z"
      },
      "/scada/flow-trend": {
        "value": [
          {
            "t": "2026-10-14T23:30:00Z",
            "flow": 1290
          },
          {
            "t": "2026-10-15T00:00:00Z",
            "flow": 1305
          },
          {
            "t": "2026-10-15T00:30:00Z",
            "flow": 1312
          },
          {
            "t": "2026-10-15T01:00:00Z",
            "flow": 1298
          },
          {
            "t": "2026-10-15T01:30:00Z",
            "flow": 1320
          },
          {
            "t": "2026-10-15T02:00:00Z",
            "flow": 1315
          },
          {
            "t": "2026-10-15T02:30:00Z",
            "flow": 1302
          },
          {
            "t": "2026-10-15T03:00:00Z",
            "flow": 1296
          },
          {
            "t": "2026-10-15T03:30:00Z",
            "flow": 1308
          },
          {
            "t": "2026-10-15T04:00:00Z",
            "flow": 1301
          },
          {
            "t": "2026-10-15T04:30:00Z",
            "flow": 1192
          },
          {
            "t": "2026-10-15T05:00:00Z",
            "flow": 1185
          },
          {
            "t": "2026-10-15T05:30:00Z",
            "flow": 1180
          }
        ],
        "updatedAt": "2026-10-15T05:29:50Z"
      }
    }
  }
}