LAPSE:2025.0354
Published Article

LAPSE:2025.0354
Machine Learning-Based Soft Sensor for Hydrogen Sulfide Monitoring in the Gas Treatment Section of an Industrial-Scale Oil Regeneration Plant
June 27, 2025
Abstract
Monitoring chemical composition is key in several industrial-scale chemical processes. However, traditional composition sensors usually convey drawbacks, including high costs, short lifetimes, and frequent calibration requirements. As an alternative, software (soft) sensors have gained attention in recent years due to their accuracy, ease of training, and potential of integrating widely known machine learning techniques. This study presents the methodology followed to train a soft sensor for hydrogen sulfide monitoring in the gas treatment section of an industrial facility in Italy. In particular, this methodology includes a novel approach for steady-state determination from historical plant data in the presence of several steady states and noise. Unfortunately, only four steady states were found in the plant data, which was insufficient for accurate soft sensor training. As an alternative, these steady states were used to develop and validate a rigorous Aspen HYSYS process simulation. The relative error of the simulation compared to the steady states found was around 1%. This simulation was used to extract additional steady state data, which was sufficient for soft sensor training. The soft sensor, trained following a Kriging Gaussian Process regression, showed a relative error with respect to the rigorous simulation of around 0.7%. The high accuracy of the sensor suggests it is a quick, low-cost, and accurate alternative to estimate the hydrogen sulfide composition and identify potential operating conditions that may lead to off-specification conditions. Future work will focus on field implementation and evaluation of the trained sensor.
Monitoring chemical composition is key in several industrial-scale chemical processes. However, traditional composition sensors usually convey drawbacks, including high costs, short lifetimes, and frequent calibration requirements. As an alternative, software (soft) sensors have gained attention in recent years due to their accuracy, ease of training, and potential of integrating widely known machine learning techniques. This study presents the methodology followed to train a soft sensor for hydrogen sulfide monitoring in the gas treatment section of an industrial facility in Italy. In particular, this methodology includes a novel approach for steady-state determination from historical plant data in the presence of several steady states and noise. Unfortunately, only four steady states were found in the plant data, which was insufficient for accurate soft sensor training. As an alternative, these steady states were used to develop and validate a rigorous Aspen HYSYS process simulation. The relative error of the simulation compared to the steady states found was around 1%. This simulation was used to extract additional steady state data, which was sufficient for soft sensor training. The soft sensor, trained following a Kriging Gaussian Process regression, showed a relative error with respect to the rigorous simulation of around 0.7%. The high accuracy of the sensor suggests it is a quick, low-cost, and accurate alternative to estimate the hydrogen sulfide composition and identify potential operating conditions that may lead to off-specification conditions. Future work will focus on field implementation and evaluation of the trained sensor.
Record ID
Keywords
Process Control, Simulation, Soft sensor, Steady-State
Subject
Suggested Citation
Sánchez LF, Coelho EC, Negri F, Gallo F, Vallerio M, Matos HA, Manenti F. Machine Learning-Based Soft Sensor for Hydrogen Sulfide Monitoring in the Gas Treatment Section of an Industrial-Scale Oil Regeneration Plant. Systems and Control Transactions 4:1263-1268 (2025) https://doi.org/10.69997/sct.181239
Author Affiliations
Sánchez LF: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy
Coelho EC: Departamento de Engenharia Química, Instituto Superior Técnico, Avenida Rovisco Pais 1, Lisboa, 1049-001, Portugal
Negri F: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy; Itelyum Regeneration S.p.A., Via Tavernelle, 19, Pieve Fissiraga, 26854, Italy
Gallo F: Itelyum Regeneration S.p.A., Via Tavernelle, 19, Pieve Fissiraga, 26854, Italy
Vallerio M: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy
Matos HA: Departamento de Engenharia Química, Instituto Superior Técnico, Avenida Rovisco Pais 1, Lisboa, 1049-001, Portugal
Manenti F: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy
Coelho EC: Departamento de Engenharia Química, Instituto Superior Técnico, Avenida Rovisco Pais 1, Lisboa, 1049-001, Portugal
Negri F: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy; Itelyum Regeneration S.p.A., Via Tavernelle, 19, Pieve Fissiraga, 26854, Italy
Gallo F: Itelyum Regeneration S.p.A., Via Tavernelle, 19, Pieve Fissiraga, 26854, Italy
Vallerio M: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy
Matos HA: Departamento de Engenharia Química, Instituto Superior Técnico, Avenida Rovisco Pais 1, Lisboa, 1049-001, Portugal
Manenti F: CMIC Department "Giulio Natta", Politecnico di Milano, Piazza Leonardo da Vinci 32, Milano, 20133, Italy
Journal Name
Systems and Control Transactions
Volume
4
First Page
1263
Last Page
1268
Year
2025
Publication Date
2025-07-01
Version Comments
Original Submission
Other Meta
PII: 1263-1268-1742-SCT-4-2025, Publication Type: Journal Article
Record Map
Published Article

LAPSE:2025.0354
This Record
External Link

https://doi.org/10.69997/sct.181239
Article DOI
Download
Meta
Record Statistics
Record Views
1000
Version History
[v1] (Original Submission)
Jun 27, 2025
Verified by curator on
Jun 27, 2025
This Version Number
v1
Citations
Most Recent
This Version
URL Here
https://psecommunity.org/LAPSE:2025.0354
Record Owner
PSE Press
Links to Related Works
References Cited
- H. L. Wade, Basic and Advanced Regulatory Control: System Design and Application, 3° edizione. ISA, 2017
- A. W. Koch, Measurement and Sensor Systems: A Comprehensive Guide to Principles, Practical Issues and Applications, 1st ed. 2023 edition. Cham: Springer, 2024 https://doi.org/10.1007/978-3-031-15870-4_1
- M. Kano, K. Miyazaki, S. Hasebe, and I. Hashimoto, 'Inferential control system of distillation compositions using dynamic partial least squares regression', Journal of Process Control, vol. 10, no. 2, pp. 157-166, Apr. 2000, https://doi.org/10.1016/S0959-1524(99)00027-X
- Y. Liu and M. Xie, 'Rebooting data-driven soft-sensors in process industries: A review of kernel methods', Journal of Process Control, vol. 89, pp. 58-73, May 2020, https://doi.org/10.1016/j.jprocont.2020.03.012
- S. Herceg, Ž. Ujevic Andrijic, and N. Bolf, 'Support Vector Machine-based Soft Sensors in the Isomerisation Process', Chem. biochem. eng. q. (Online), vol. 34, no. 4, pp. 243-255, 2021, https://doi.org/10.15255/CABEQ.2020.1825
- P. Yan, M. Gai, Y. Wang, and X. Gao, 'Review of Soft Sensors in Anaerobic Digestion Process', Processes, vol. 9, no. 8, Art. no. 8, Aug. 2021, https://doi.org/10.3390/pr9081434
- Y. Wang et al., 'Blank sample denoising algorithm (BSDA): An effective spectral noise reduction in water sample LIBS detection', Talanta, vol. 275, p. 126086, Aug. 2024, https://doi.org/10.1016/j.talanta.2024.126086
- H. Ji, Y. Liu, R. Zhang, Z. Yuan, and F. Meng, 'Detection and recognition of toluene and butanone in mixture based on SnO2 sensor via dynamic transient and steady-state response analysis in jump heating voltage mode', Sensors and Actuators B: Chemical, vol. 376, p. 132969, Feb. 2023, https://doi.org/10.1016/j.snb.2022.132969
- 'TMView'. Accessed: Jan. 20, 2025. [Online]. Available: https://www.tmdn.org/tmview/#/tmview/detail/EM500000008525222
- 'Directive - 2016/2284 - EN - EUR-Lex'. Accessed: Jan. 21, 2025. [Online]. Available: https://eur-lex.europa.eu/eli/dir/2016/2284/oj/eng
- L. Salano, E. Moioli, M. Vallerio, and F. Manenti, 'Biogas Reforming: Data Reconciliation and Model Validation with Industrial Data', Dec. 03, 2024, Social Science Research Network, Rochester, NY: 5042990. https://doi.org/10.2139/ssrn.5042990
- K. McBride and K. Sundmacher, 'Overview of Surrogate Modeling in Chemical Process Engineering', Chemie Ingenieur Technik, vol. 91, no. 3, pp. 228-239, 2019, https://doi.org/10.1002/cite.201800091
- J. L. Loeppky, J. Sacks, and W. J. Welch, 'Choosing the Sample Size of a Computer Experiment: A Practical Guide', Technometrics, vol. 51, no. 4, pp. 366-376, Nov. 2009, https://doi.org/10.1198/TECH.2009.08040
(0.08 seconds)
[0.08 s]

