Chemical use per ton at a plastics recycling plant
Problem
A flake-washing line logged chemicals on a Google Form. Nobody could see where use per ton was drifting, or what it cost.
What I did
- Replaced paper first at near-zero cost — a Google Form and Sheet, no infrastructure, no IT sign-off.
- Built a web app on the data that already existed: phone entry for the floor, live dashboards for the office.
- Encoded the plant's own rule: chemicals are dosed per batch, so the only correct metric is Σ quantity ÷ Σ tons — the old row-average was off by about 2x.
- A rule-based advisor, not a black box: set a budget per ton and a mix ratio, get a kg/ton ceiling per chemical and a plain over/under verdict — with a warning when data is too thin to judge.
- Every edit goes to an audit table; ~400 automated tests protect the calculations. Later modules: downtime, line productivity, plant-wide electricity.
Silent screen recording of the demo: an operator logs a batch in three taps and the office kg-per-ton figure for line L2 drops from 3.99 to 3.42; the batch appears in the data table with an audit trail; averaging row ratios is shown to overstate cost by 14%; the dashboard compares cost per ton with the budget and flags missing data; line L2 is shown using about twice the caustic of L1; changing the budget updates every ceiling.
