mat@jakubczak:~$ cat ~/projects/kghm-copper-smelter.md
KGHM CuValley Hack — 1st Place, Now in Production
- date
- summary
- ML-driven real-time optimisation engine for KGHM's flash smelting furnace — from hackathon prototype to continuous production use.
1st place at KGHM CuValley Hack (KGHM Polska Miedź S.A., June 2021), out of 100 teams and nearly 300 participants, including PhD teams.
We won the flash furnace stabilisation category with the Data Drivers team: a machine learning model of the furnace’s heat losses plus a simple-to-implement optimisation algorithm (the jury’s words), with simulation and visualisation on top — the highest accuracy and prediction horizon in the competition.
From prototype to production
After the hackathon we spent about a year turning the prototype into a production system with KGHM’s engineers:
- a simulation model that predicts the process, and a stabiliser that recommends setpoints, tuned against a cost function that penalises deviation, oscillation and abrupt changes;
- drift monitoring and automatically generated stabilisation reports;
- versioned releases running against live plant data.
KGHM completed the deployment at the Głogów copper smelter in late 2022. It now automates the heating regulation of a ~$675M flash furnace — one of fewer than five such installations in the world — and remains in continuous operation.
Tech
Python, FastAPI, PostgreSQL, TypeScript, React, Docker.
More: KGHM — the winners · KGHM on the deployment · CuValley — Data Drivers · datadrivers.pl