How many spare parts to keep in stock is a recurring question for anyone running a clinical engineering service. The answer almost always rests on the technicians’ experience: an effective but subjective criterion, hard to transfer and to update systematically, in which buying too much ties up resources and buying too little prolongs equipment downtime. Useful information, however, already exists in the history of maintenance calls, where each corrective intervention leaves a written trace of what was replaced. Yet the structured fields dedicated to spare parts are filled in a minimal fraction of cases, around 2%, and the information remains almost entirely in free text. The difficulty is linguistic: technicians do not follow a shared vocabulary, and the same spare part is described differently across people and sites. This thesis proposes a hybrid pipeline, combining deterministic rules and natural language processing, to extract from that text the spare parts actually replaced and to reconstruct historical demand, while keeping every estimate traceable to the text that generated it. The technicians’ descriptions are mapped to a controlled dictionary built on the real lexicon of the Fondazione. Applied to the 18,385 closed corrective tickets of Fondazione Don Carlo Gnocchi over 2019–2025, the pipeline identifies 275 canonical components in eight families and estimates 10,092 spare-part units across 3,674 devices. A prospective validation on 200 tickets from 2026, independent of the development data, confirms its reliability: spare-part detection reaches an F1 of 0.93, against 0.26 from the structured field alone, and the component is correctly identified in 91% of cases. The results feed a Power BI dashboard, navigable by site, equipment type, model, inventory and component, and the notebook that produces them can be re-run at each new extraction. The goal is to replace a subjective estimate with a solid, replicable and updatable numerical basis.
Quanti ricambi tenere a magazzino è una domanda ricorrente per chi gestisce un servizio di ingegneria clinica. La risposta si fonda quasi sempre sull’esperienza dei tecnici: un criterio efficace ma soggettivo, difficile da trasmettere e da aggiornare in modo sistematico, in cui acquistare troppo immobilizza risorse e acquistare troppo poco prolunga i fermi macchina. Un’informazione utile, però, esiste già nello storico delle chiamate manutentive, dove ogni intervento correttivo lascia una traccia scritta di cosa è stato sostituito. I campi strutturati dedicati ai ricambi sono però compilati in una quota minima dei casi, intorno al 2%, e l’informazione resta quasi interamente nel testo libero. Il nodo è linguistico: i tecnici non seguono un vocabolario condiviso e lo stesso ricambio è descritto in modi diversi tra persone e presidi. Questa tesi propone una pipeline ibrida, che combina regole deterministiche e tecniche di elaborazione del linguaggio naturale, per estrarre da quel testo i ricambi effettivamente sostituiti e ricostruire la domanda storica, mantenendo la tracciabilità di ogni stima rispetto al testo che l’ha generata. Le descrizioni dei tecnici vengono ricondotte a un dizionario controllato, costruito sul lessico reale della Fondazione. Applicata ai 18.385 ticket correttivi chiusi della Fondazione Don Carlo Gnocchi nel periodo 2019–2025, la pipeline individua 275 componenti canonici in otto famiglie e stima 10.092 unità di ricambio su 3.674 apparecchiature. Una validazione prospettica su 200 ticket del 2026, indipendenti dai dati di sviluppo, ne conferma l’affidabilità: la rilevazione del ricambio raggiunge un F1 di 0,93, contro lo 0,26 del solo campo gestionale, e il componente è identificato correttamente nel 91% dei casi. I risultati confluiscono in una dashboard Power BI esplorabile per sede, tipologia, modello, inventario e componente, e il notebook che li produce è rieseguibile a ogni nuova estrazione. L’obiettivo è sostituire una stima soggettiva con una base numerica solida, replicabile e aggiornabile nel tempo.
Dal testo libero dei ticket di manutenzione alla stima del fabbisogno di ricambi mediante natural language processing: il caso della Fondazione Don Carlo Gnocchi
Scortsaru, Keren Nety
2025/2026
Abstract
How many spare parts to keep in stock is a recurring question for anyone running a clinical engineering service. The answer almost always rests on the technicians’ experience: an effective but subjective criterion, hard to transfer and to update systematically, in which buying too much ties up resources and buying too little prolongs equipment downtime. Useful information, however, already exists in the history of maintenance calls, where each corrective intervention leaves a written trace of what was replaced. Yet the structured fields dedicated to spare parts are filled in a minimal fraction of cases, around 2%, and the information remains almost entirely in free text. The difficulty is linguistic: technicians do not follow a shared vocabulary, and the same spare part is described differently across people and sites. This thesis proposes a hybrid pipeline, combining deterministic rules and natural language processing, to extract from that text the spare parts actually replaced and to reconstruct historical demand, while keeping every estimate traceable to the text that generated it. The technicians’ descriptions are mapped to a controlled dictionary built on the real lexicon of the Fondazione. Applied to the 18,385 closed corrective tickets of Fondazione Don Carlo Gnocchi over 2019–2025, the pipeline identifies 275 canonical components in eight families and estimates 10,092 spare-part units across 3,674 devices. A prospective validation on 200 tickets from 2026, independent of the development data, confirms its reliability: spare-part detection reaches an F1 of 0.93, against 0.26 from the structured field alone, and the component is correctly identified in 91% of cases. The results feed a Power BI dashboard, navigable by site, equipment type, model, inventory and component, and the notebook that produces them can be re-run at each new extraction. The goal is to replace a subjective estimate with a solid, replicable and updatable numerical basis.| File | Dimensione | Formato | |
|---|---|---|---|
|
2026_07_Scortsaru_Tesi.pdf
accessibile in internet solo dagli utenti autorizzati
Descrizione: Tesi
Dimensione
3.98 MB
Formato
Adobe PDF
|
3.98 MB | Adobe PDF | Visualizza/Apri |
|
2026_07_Scortsaru_Executive Summary.pdf
accessibile in internet solo dagli utenti autorizzati
Descrizione: Executive Summary
Dimensione
871.65 kB
Formato
Adobe PDF
|
871.65 kB | Adobe PDF | Visualizza/Apri |
I documenti in POLITesi sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.
https://hdl.handle.net/10589/261537