Icon

Day3_​S3_​Health_​Indicator

1 · Readings and Reference

Read the monitoring readings and the reference-period file.

Step 1 · Read both inputs


  1. Read Day 2 table, drop z-columns: CSV Reader
  2. Parse, sort by pump then time: String to Date&Time, Sorter
  3. Fill sensor gaps: Missing Value
  4. Same for the reference-period file (raised row)

2 · Combine and Model

Stack both periods, fit a driver-based baseline, score the residual.

Step 2 · Fit the driver baseline


  1. Stack the 2 periods with Concatenate
  2. 8h mean flow, hour-of-day, sin(hour) with Moving Aggregator, Math Formula
  3. Learn temp from drivers on 2024H1 with Linear Regression Learner
  4. Apply the frozen model, compute the residual with Regression Predictor

3 · Flag the Residual

Fleet-wide baseline, then per-pump-per-regime.

Step 3 · Flag against both baselines


  1. Flag fleet-wide 3SD with Rule Engine
  2. Join the per-pump-regime baseline with Joiner
  3. Flag per-pump-regime 3SD with a second Rule Engine

4 · Trend Per Pump

One line per pump shows a rising machine before it fails.

Step 4 · Plot the trend


  1. Pull Day of year out of the timestamp with Extract Date&Time Fields
  2. Keep the worst indicator per pump per day with Pivot
  3. Draw one line per pump with Line Plot

5 · Compare and Write

Compare the two flags, then write the state file for Day 4.

Step 5 · Compare and export


  1. Compare fleet vs per-pump-regime flag with Table View
  2. Format the timestamp with String Manipulation
  3. Keep 5 columns, write day03_state.csv

หมายเหตุ

เพราะฉะนั้นวันนี้เปลี่ยนไปหาเหตุจากตัวขับแทน

Explore before you decide

Profile the input, then sweep the lag/window that justifies MA_H=8.

Explore · Profile and correlation sweep


  1. Profile the readings table with Statistics
  2. Lag bearing_temp_c 1-12h with Lag Column
  3. 8h mean flow with Moving Aggregator, per pump
  4. Correlate with Linear Correlation, plot with Line Plot
Node 1Read CSVdrop 3 columns
CSV Reader
Node 2Read baselinesensor_baseline
CSV Reader
Node 19Apply frozen modelmodel,full stream
Regression Predictor
Node 3Declare locked constants5 constants
Variable Creator
Node 4Parse timestampyyyy-MM-ddTHH:mm
String to Date&Time
Node 5Parse timestampyyyy-MM-dd HH:mm:ss
String to Date&Time
Node 6Sort rowspump_id then time
Sorter
Node 7Sort by pump+timepump_id,timestamp
Sorter
Node 20residual_realactual-frozen pred
Math Formula
EX Node 42Lag temp_c 1-12h12 lags
Lag Column
Node 21Keep ref periodbefore 2024-07
Row Filter
EX Node 43Loop start (explore)grp=pump_id
Group Loop Start
Node 40Write day03_state.csvfor Day 4
CSV Writer
EX Node 41Profile received tableday03_s2.csv columns
Statistics
Node 24Pump+regime baselineGroupBy pump, regime
GroupBy
EX Node 46Corr: lag+flow MAtemp vs lag+flowMA
Linear Correlation
Node 25Per-pump baselineGroupBy pump_id
GroupBy
EX Node 47Decision image E9corr vs lag/k
Line Plot
Node 22V2 loopp+regime
Group Loop Start
EX Node 448h flow (explore)MA(flow_m3h,8)
Moving Aggregator
Node 23Fleet baselinemean/SD
GroupBy
EX Node 45Loop End (explore)stack pumps
Loop End
Node 28Flag fleet 3SDflow vars, Node6
Rule Engine
Node 29V2 loop endconcat groups
Loop End
Node 26V2 per-loop GroupBysame agg as #36
GroupBy
Node 27Fleet base->varsmean/SD, res_real
Table Row to Variable
Node 31Lookup per-pump basesingle key pump_id
Value Lookup
Node 10Stack mon+refday03_s2+ref
Concatenate
Node 32Join pump+regimeon pump+regime
Joiner
Node 30#36 vs V2 loopref=port1, new=port2
Table Difference Finder
Node 8Fill sensor gapslinear interp
Missing Value
Node 13Loop End (real)stack pumps
Loop End
Node 35flag_fleet vs flag_regimetwo-baseline comparison
Table View
Node 9Fill ref sensor gapslinear interpolation
Missing Value
Node 14Extract hour of dayHour field
Date&Time Part Extractor
Node 36timestamp to stringfor CSV Writer only
String Manipulation
Node 11Real loop startgrp=pump_id
Group Loop Start
Node 33Flag per-regime 3SDcol-based, Joiner
Rule Engine
Node 128h mean flowMA(flow_m3h,8)
Moving Aggregator
Node 34Extract day-of-yearflagged table
Date&Time Part Extractor
Node 172024H1 onlybefore 2024-07
Row Filter
Node 39Residual trend/pumptail chart
Line Plot
Node 18Learn temp modelflow,MA8h,regime,hr
Linear Regression Learner
Node 15sin(hour)cyclical hour feature
Math Formula
Node 37Worst per pump/daypivot pump_id
Pivot
Node 16vibration z-score(x - mean) / std
Math Formula
Node 38Keep 5 columnsfor day03_state.csv
Column Filter

Nodes

Extensions

Links