Machine learning & optimisation case study

Replacing Furnace Trials With a Model Engineers Can Question

Finding austempering settings for a new ductile-iron component used to take repeated physical trials. For Husqvarna, surrogate models now predict hardness, tensile and yield strength from the process settings, a multi-objective search finds the best trade-offs, and a GPT-4 analyst explains the recommendation to the engineers who have to sign it off.

ContextHusqvarna AB · 2024
Analytics stages
QualitativeDescriptiveDiagnosticPredictivePrescriptiveSoftware
Technology
PythonStreamlitscikit-learnXGBoostNeural networksMulti-objective optimisationPlotlyAzure OpenAI (GPT-4)Semantic Kernel
ResultProcess iteration moved from the furnace to the screen: fewer physical trials, less scrap, faster sign-off.
Stakeholder engagement · business problem

Every new setting used to mean another furnace trial

Husqvarna AB · 2024 · austempered ductile iron (ADI) components.

Austempering turns ductile iron into a strong, tough material — but the properties depend on three process settings: the austenitising temperature, the austempering temperature and the austempering time. Finding the right combination for a new component meant iterating physical trials: expensive, slow and resource-hungry. Husqvarna wanted engineers to explore the process window on a screen first, and send only the promising settings to the furnace.

Data · descriptive analysis

From trial records to model features

Experimental data from physical austempering trials.

Results from past physical trials were collected, cleaned and engineered into features for supervised learning. Engineers can upload new experimental data as CSV in the application, so the models grow with every trial the plant does run.

Predictive modelling

Surrogate models of the furnace

Neural network, random forest and XGBoost, trained and compared in the app.

Regression models predict hardness (HBW), ultimate tensile strength (UTS) and yield strength (YS) from the three process settings. Engineers choose the surrogate — neural network, random forest or XGBoost — and train it inside the application, so the prediction is always tied to the data it was trained on.

Prescriptive optimisation · visual analytics

Search the process window, then choose with the engineer

Multi-objective search, 2D/3D objective plots and parallel coordinates.
Heat treatment optimisation application: multi-objective optimisation settings, Pareto front and solution-space plots
Optimisation settings through to the Pareto front and the solution space, in the application.
  1. Multi-objective search. The engineer picks the objectives and whether each is minimised or maximised, sets the population size and number of generations, and the search generates candidate settings across the scaled process window.
  2. Visual analytics. The objective space is shown in 2D and 3D, and parallel coordinates carry the higher-dimensional view.
  3. Knowledge discovery. Interactive filtering on the parallel-coordinates plot narrows the Pareto-optimal settings to the ones that meet the engineer’s own constraints.
Explainable AI · software delivery

An AI analyst that explains the recommendation

Azure OpenAI (GPT-4) through Semantic Kernel.

A prediction nobody trusts changes nothing on the shop floor. An integrated AI analyst — GPT-4 on Azure OpenAI, orchestrated with Semantic Kernel — writes a human-readable report on why particular parameter combinations give better mechanical properties, and answers follow-up questions, so the engineer who has to sign off the material can interrogate the result rather than accept it.

InterfaceStreamlit
Machine learningscikit-learn, XGBoost, neural networks
Data & visualspandas, NumPy, Plotly
AI analystAzure OpenAI (GPT-4), Semantic Kernel

The application was built for Husqvarna and its source is proprietary; the public repository documents the method and the interface. A manuscript on the work is under review at Engineering Applications of Artificial Intelligence.

Business value

What it’s worth

Fewer furnace trials, and a decision engineers can explain.
3
process settings optimised
3
properties predicted: HBW, UTS, YS
3
surrogate model types to compare
GPT-4
explains each recommendation

The iteration moves from the furnace to the screen: fewer physical trials, less scrap, and faster material sign-off for new components — with a platform that engineers who are not machine-learning specialists can use, and an explanation they can take to whoever approves the material.