Physics-Informed Machine Learning Model (NitroPINN) for Nitrogen Content Prediction in Crude Steel Produced in BOF
Abstract
1. Introduction
- The development of a physics-constrained neural network (NitroPINN) with a novel multiplicative η architecture that embeds Sievert’s law equilibrium, Wagner interaction coefficients, and Byrne–Belton surface blockage theory directly into the prediction mechanism, employing physics infusion through feature engineering, architectural design, and composite loss regularization;
- The incorporation of the initial real nitrogen content Ninit from desulfurized pig iron (Stage 1) as a predictive feature that establishes the initial boundary condition for nitrogen evolution during BOF blowing (Stage 2);
- A rigorous benchmarking of the NitroPINN model against ridge regression and a pure MLP under five-fold cross-validation on 66 matched industrial heats.
2. Materials and Methods
2.1. Industrial Data
2.2. Physics-Based Feature Engineering
2.2.1. Thermodynamic Equilibrium Features
2.2.2. Kinetic and Interfacial Features
2.2.3. Desulfurization-Derived Features
2.2.4. Process Intensity Features
2.3. NitroPINN Architecture
2.4. Baseline Models
2.5. Evaluation Protocol
2.6. Software
3. Results
3.1. Data Matching and Exploratory Analysis
3.2. Benchmark Results
3.3. NitroPINN Physics Parameters
4. Discussion
4.1. Comparison with Previous Work
4.2. Physical Interpretability of the η Parameter
4.3. Role of Ninit from Pig Iron Desulfurization
4.4. Limitations and Future Work
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| G° | Gibbs free energy [J·mol−1] |
| T | Temperature [K] |
| KN | Equilibrium constant of reaction [−] |
| aN | Activity of elemental nitrogen dissolved in metal [−] |
| fN | Activity coefficient of elemental nitrogen dissolved in metal [−] |
| Partial pressure of gas in molecular form in a gaseous atmosphere above molten metal [Pa] | |
| [%N] | Equilibrium concentration of elemental nitrogen dissolved in metal [wt%] |
| Interaction coefficients of dissolved nitrogen and other solute element X in the steel [−] | |
| θ | Fraction of interfacial sites occupied by surface-active species |
| MAE | Mean absolute error |
| MSE | Mean squared error |
| MAPE | Mean absolute percentage error |
| 100 − MAPE | Accuracy |
| R2 | Coefficient of determination |
| FNN | Feedforward neural networks |
| GPR | Gaussian process regression |
| SVR | Support vector regression |
| MLP | Multilayer perceptron |
| AutoML | Automated machine learning |
| ODE | Ordinary differential equation |
| PINN | Physics-informed neural network |
| Crate | Decarburization rate [wt%·min−1] |
| Cpig | Carbon content in desulfurized pig iron [%] |
| Csteel | Carbon content in crude steel prior to tapping [%] |
| tblow | Overall time of pure oxygen blowing during the heat [s] |
| Wscrap | Weight of the scrap charged in BOF [kg] |
| Wpig | Weight of the pig iron charged in BOF [kg] |
| Ttap | Tapping temperature [°C] |
| O2_intensity | Oxygen blowing intensity [L·min−1] |
| O2_total | Overall amount of blown oxygen during heat [L] |
| O2_specific | Specific oxygen consumption [L·kg−1 metal] |
| Feslag | Iron oxide content in the slag [%] |
| Sipig | Silicon content in charged pig iron [%] |
| Ninit | Real measured nitrogen content in desulfurized pig iron [%] |
| Neq | Sievert equilibrium nitrogen content [%] |
| Npred | Predicted nitrogen content in crude steel prior to tapping [%] |
| Nfinal | Real measured nitrogen content in crude steel prior to tapping from BOF [%] |
| η | Fraction of Sievert equilibrium achieved [−] |
| δ | Additive correction [−] |
References
- Mahanta, B.K.; Gupta, P.; Mohanty, I.; Roy, T.K.; Chakraborti, N. Evolutionary Data Driven Modeling and Tri-Objective Optimization for Noisy BOF Steel Making Data. Digit. Chem. Eng. 2023, 7, 100094. [Google Scholar] [CrossRef]
- Zhao, F.; Liu, X.; Zhang, Z.; Xie, J. Effect of Nitrogen Content on the Mechanical Properties and Deformation Behaviors of Ferritic-Pearlitic Steels. Mater. Sci. Eng. A 2022, 855, 143918. [Google Scholar] [CrossRef]
- Hänninen, H.; Romu, J.; Ilola, R.; Tervo, J.; Laitinen, A. Effects of Processing and Manufacturing of High Nitrogen-Containing Stainless Steels on Their Mechanical, Corrosion and Wear Properties. J. Mater. Process. Technol. 2001, 117, 424–430. [Google Scholar] [CrossRef]
- Bazaleeva, K.O. Mechanisms of the Influence of Nitrogen on the Structure and Properties of Steels (A Review). Met. Sci. Heat Treat. 2005, 47, 455–461. [Google Scholar] [CrossRef]
- Misra, S.; Fruehan, R.J. Hydrogen and Nitrogen Control in Ladle and Casting Operations; Carnegie Mellon University Pittsburgh: Pittsburgh, PA, USA, 2005. [Google Scholar]
- Turkdogan, E.T. Fundamentals of Steelmaking; Institute of Materials: London, UK, 2010. [Google Scholar]
- Shamsuddin, M. Secondary Steelmaking. In Physical Chemistry of Metallurgical Processes, 2nd ed.; Springer International Publishing: Cham, Switzerland, 2021; pp. 293–351. [Google Scholar]
- Slater, C.; Spooner, S.; Davis, C.; Sridhar, S. Observation of the Reversible Stabilisation of Liquid Phase Iron during Nitriding. Mater. Lett. 2016, 173, 98–101. [Google Scholar] [CrossRef]
- Siwka, J. Equilibrium Constants and Nitrogen Activity in Liquid Metals and Iron Alloys. ISIJ Int. 2008, 48, 385–394. [Google Scholar] [CrossRef][Green Version]
- Satir, A.; Feichtinger, H. On the Solubility of Nitrogen in Liquid Iron and Steel Alloys Using Elevated Pressure. Z. Fuer Met. 1991, 52, 689. [Google Scholar]
- Jang, J.-M.; Kim, D.-H.; Paek, M.-K.; Pak, J.-J. Nitrogen Solubility in Cast Iron Containing C, Si and Mn. ISIJ Int. 2018, 58, 1185–1190. [Google Scholar] [CrossRef]
- Jang, J.-M.; Seo, S.-H.; Jiang, M.; Paek, M.-K.; Wang, X.; Pak, J.-J. Nitrogen Solubility in Liquid Fe–C Alloys. ISIJ Int. 2014, 54, 32–36. [Google Scholar] [CrossRef]
- Fruehan, R.J.; Goldstein, D.; Sarma, B.; Story, S.R.; Glaws, P.C.; Pasewicz, H.U. Recent Advances in the Fundamentals of the Kinetics of Steelmaking Reactions. Metall. Mater. Trans. B 2000, 31, 891–898. [Google Scholar] [CrossRef]
- Kobayashi, A.; Tsukihashi, F.; Sano, N. Kinetic Studies on the Dissolution of Nitrogen into Molten Iron by 14N-15N Isotope Exchange Reaction. ISIJ Int. 1993, 33, 1131–1135. [Google Scholar] [CrossRef]
- Byrne, M.; Belton, G.R. Studies of the Interfacial Kinetics of the Reaction of Nitrogen with Liquid Iron by the 15N-14N Isotope Exchange Reaction. Metall. Trans. B 1983, 14, 441–449. [Google Scholar] [CrossRef]
- Pitkälä, J.; Xia, J.; Jokilaakso, A. CFD Modeling of Nitrogen Dissolution into a Steel Bath During Gas Purging. In Proceedings of the Second International Conference on CFD in the Minerals and Process Industries, CSIRO, Melbourne, Australia, 6–8 December 1999; pp. 35–40. [Google Scholar]
- Inomoto, T.; Kitamura, S.; Yano, M. Kinetic Study of the Nitrogen Removal Rate from Molten Steel (Normal Steel and 17 mass%Cr Steel) under CO Boiling or Argon Gas Injection. ISIJ Int. 2015, 55, 1822–1827. [Google Scholar] [CrossRef]
- Trotter, D.; Varcoe, D.; Reeves, R.; Hornby, S. Use of HBI and DRI for Nitrogen Control in Steel Products. SEAISI Q. 2002, 31, 39–50. [Google Scholar]
- Patra, S.; Nayak, J.; Singhal, L.; Pal, S. Prediction of Nitrogen Content of Steel Melt during Stainless Steel Making Using AOD Converter. Steel Res. Int. 2017, 88, 1600271. [Google Scholar] [CrossRef]
- Liu, C.; Tang, L.; Liu, J. A Stacked Autoencoder With Sparse Bayesian Regression for End-Point Prediction Problems in Steelmaking Process. IEEE Trans. Autom. Sci. Eng. 2020, 17, 550–561. [Google Scholar] [CrossRef]
- Zhang, R.; Yang, J. State of the Art in Applications of Machine Learning in Steelmaking Process Modeling. Int. J. Miner. Metall. Mater. 2023, 30, 2055–2075. [Google Scholar] [CrossRef]
- Nam, J.; Rout, B.; Chatterjee, S.; Van Ende, M.-A.; Jung, I.-H. Integrated Mathematical Model for Nitrogen Control in Oxygen Steelmaking Process. Metall. Mater. Trans. B 2025, 56, 2202–2223. [Google Scholar] [CrossRef]
- Yoon, C.; Eom, C.; Jeon, Y.; Kim, K. Development of a Nitrogen Prediction Model for 320 Tonne Converter. In Proceedings of the 12th International Conference of Molten Slags, Fluxes and Salts (MOLTEN 2024) Proceedings, Brisbane, Australia, 17–19 June 2024. [Google Scholar] [CrossRef]
- Li, B.; Li, C.; Jing, P.; Shi, C.; Wu, W.; Dong, K. Mechanism-Data Hybrid-Driven Modeling of Energy Consumption and Carbon Emission for Converter Steelmaking Process Optimization. J. Clean. Prod. 2025, 532, 146964. [Google Scholar] [CrossRef]
- Liu, J.; Liu, H.; Chen, F.; Su, Y.; Li, H.; Xue, X. Dynamic Flame Feature-Driven Prediction Model for Basic Oxygen Furnace Steelmaking Endpoint Carbon Content Based on Three-Dimensional Multi-Layer Complex Networks. Eng. Appl. Artif. Intell. 2025, 139, 109564. [Google Scholar] [CrossRef]
- Niu, D.; Hu, W.; Zhou, J.; Jia, M. Multi-Target Adversarial Transfer TabTransformer for BOF Endpoint Composition Prediction under Zero-Inflated Sparsity. Expert Syst. Appl. 2026, 322, 132349. [Google Scholar] [CrossRef]
- Pawlik, L.; Wilk-Jakubowski, J.L.; Frej, D.; Wilk-Jakubowski, G. Applications of Computational Mechanics Methods Combined with Machine Learning and Neural Networks: A Systematic Review (2015–2025). Appl. Sci. 2025, 15, 10816. [Google Scholar] [CrossRef]
- Raissi, M.; Perdikaris, P.; Karniadakis, G.E. Physics-Informed Neural Networks: A Deep Learning Framework for Solving Forward and Inverse Problems Involving Nonlinear Partial Differential Equations. J. Comput. Phys. 2019, 378, 686–707. [Google Scholar] [CrossRef]
- Karniadakis, G.E.; Kevrekidis, I.G.; Lu, L.; Perdikaris, P.; Wang, S.; Yang, L. Physics-Informed Machine Learning. Nat. Rev. Phys. 2021, 3, 422–440. [Google Scholar] [CrossRef]
- Cai, S.; Mao, Z.; Wang, Z.; Yin, M.; Karniadakis, G.E. Physics-Informed Neural Networks (PINNs) for Fluid Mechanics: A Review. Acta Mech. Sin. 2021, 37, 1727–1738. [Google Scholar] [CrossRef]
- Cuomo, S.; Di Cola, V.S.; Giampaolo, F.; Rozza, G.; Raissi, M.; Piccialli, F. Scientific Machine Learning Through Physics–Informed Neural Networks: Where We Are and What’s Next. J. Sci. Comput. 2022, 92, 88. [Google Scholar] [CrossRef]
- Lee, J.; Shin, S.; Kim, T.; Park, B.; Choi, H.; Lee, A.; Choi, M.; Lee, S. Physics Informed Neural Networks for Fluid Flow Analysis with Repetitive Parameter Initialization. Sci. Rep. 2025, 15, 16740. [Google Scholar] [CrossRef] [PubMed]
- Badora, M.; Bartosik, P.; Graziano, A.; Szolc, T. Using Physics-Informed Neural Networks with Small Datasets to Predict the Length of Gas Turbine Nozzle Cracks. Adv. Eng. Inform. 2023, 58, 102232. [Google Scholar] [CrossRef]
- Mattey, R.; Ghosh, S. A Novel Sequential Method to Train Physics Informed Neural Networks for Allen Cahn and Cahn Hilliard Equations. Comput. Methods Appl. Mech. Eng. 2022, 390, 114474. [Google Scholar] [CrossRef]
- Lin, S.; Chen, Y. The Improved Backward Compatible Physics-Informed Neural Networks for Reducing Error Accumulation and Applications in Data-Driven Higher-Order Rogue Waves. Chaos Interdiscip. J. Nonlinear Sci. 2024, 34, 033139. [Google Scholar] [CrossRef]
- Li, D.; Cao, Y.; Huang, S.; Cui, Y.; Wei, X.; Cao, H.; Wang, C. Lagged Backward-Compatible Physics-Informed Neural Networks for Unsaturated Soil Consolidation Analysis. Can. Geotech. J. 2026, 63, 1–28. [Google Scholar] [CrossRef]
- Sun, Y.; Zhang, Q.; Raffoul, S. Physics-Informed Neural Network for Predicting Hot-Rolled Steel Temperatures during Heating Process. J. Eng. Res. 2025, 13, 1496–1504. [Google Scholar] [CrossRef]
- Xia, Y.; Wang, H.; Xu, A. dmPINNs: An Integrated Data-Driven and Mechanism-Based Method for Endpoint Carbon Prediction in BOF. Metals 2024, 14, 926. [Google Scholar] [CrossRef]
- Demeter, J.; Buľko, B.; Hrubovčáková, M. Predictive Modelling of Nitrogen Content in Molten Metal During BOF Steelmaking Processes via Python-Based Machine Learning: A Benchmarking of Statistical Techniques. Appl. Sci. 2026, 16, 3774. [Google Scholar] [CrossRef]
- Demeter, J.; Buľko, B.; Demeter, P.; Hrubovčáková, M.; Hubatka, S.; Fogaraš, L. Automated Machine Learning for Nitrogen Content Prediction in Steel Production: A Comprehensive Multi-Stage Process Analysis. Appl. Sci. 2025, 16, 441. [Google Scholar] [CrossRef]
- ASTM E1019-18; Standard Test Methods for Determination of Carbon, Sulfur, Nitrogen, and Oxygen in Steel, Iron, Nickel, and Cobalt Alloys by Various Combustion and Inert Gas Fusion Techniques. ASTM International: West Conshohocken, PA, USA, 2018. Available online: https://store.astm.org/e1019-18.html (accessed on 21 April 2026).
- ELTRA GmbH. Basic Application Information. Available online: https://www.eltra.com/files/446383/expert-guide-application-information.pdf (accessed on 22 April 2026).
- ELTRA GmbH. Effective Quality Control of Steel and Iron Products with Combustion Analysis. Available online: https://www.eltra.com/files/14146/effective-quality-control-of-steel-and-iron-products-with-combustion-analysis.pdf (accessed on 22 April 2026).
- Seetharaman, S. Fundamentals of Metallurgy; CRC Press: Boca Raton, FL, USA, 2005. [Google Scholar]
- Mukherjee, D.; Shukla, A.K.; Senk, D.G. Prediction of Decarburisation Process along with Hydrogen and Nitrogen Removal by Mathematical Modelling of RH Degassing Process. Ironmak. Steelmak. 2018, 45, 412–419. [Google Scholar] [CrossRef]
- Lee, M.S.; Trimble, D.J.; Wibberley, L.J. Evaluation of Low-Grade Iron Carbide as a Reagent for Enhanced Nitrogen Desorption in Steel Melts. Scand. J. Metall. 2001, 30, 121–126. [Google Scholar] [CrossRef]
- Zhang, Y.; Liu, J.; Yang, H.; Li, W.; Zhang, S.; Zhou, W. Kinetics of Nitrogen Absorption/Vacuum Denitrigenization and Precipitation Behavior of Nitrogen Bubbles in 42CrMoA Molten Steel. Steel Res. Int. 2025, 96, 2400071. [Google Scholar] [CrossRef]






| Chemical Composition | Grade of Steel | |
|---|---|---|
| Steel #1 | Steel #2 | |
| C (%) | 0.07–0.21 | 0.02–0.1 |
| Mn (%) | 0.8–1.6 | 0.1–0.55 |
| Si (%) | 0.03–0.6 | max. 0.08 |
| Al (%) | min. 0.02 | 0.02–0.07 |
| P (%) | max. 0.025 | 0.01–0.07 |
| S (%) | max. 0.020 | max. 0.020 |
| Nb (%) | - | 0.004–0.0075 |
| Category | Parameter | Specification/Value |
|---|---|---|
| Instrument specifications | Instrument model | ELTRA ON 900 |
| Manufacturer | ELTRA GmbH, Haan, Germany | |
| Operating principle | Combustion with thermal conductivity detection | |
| Analytical standard | ASTM E-1019 | |
| Measurement range | 0.0001–0.03 [wt% N] | |
| Accuracy | ±0.1 ppm or ±1% of measured value (whichever is greater) | |
| Typical standard deviation | 1–3% (under proper operating conditions) | |
| Measurement protocol | Number of measurements per sample | Duplicate (primary + control measurement) |
| Calibration factor adjustment | Automatic recalculation by instrument software | |
| Drift correction | Applied prior to each analytical sequence; repeated as necessary | |
| Quality assurance | Manufacturer calibration | Performed at instrument commissioning |
| Periodic servicing | Annual | |
| Routine verification | Hourly, by laboratory technician using standard reference sample | |
| Certified reference material (CRM) analysis | Daily, minimum 3 replicates per session |
| Model | RMSE [ppm] | MAE [ppm] | R2 | MAPE [%] | 100 – MAPE [%] |
|---|---|---|---|---|---|
| Ridge Regression | 8.60 | 5.96 | 0.216 | 27.7 | 72.3 |
| Pure MLP | 7.95 | 5.82 | 0.330 | 27.3 | 72.7 |
| NitroPINN | 7.98 | 5.60 | 0.325 | 27.2 | 72.8 |
| Fold | Ridge Regression R2 | Pure MLP R2 | NitroPINN R2 |
|---|---|---|---|
| 1 | 0.479 | 0.268 | 0.635 |
| 2 | −0.113 | 0.136 | −0.076 |
| 3 | −2.143 | −1.942 | −2.984 |
| 4 | −0.387 | −0.137 | −0.168 |
| 5 | 0.334 | 0.546 | 0.532 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Demeter, J.; Buľko, B.; Demeter, P.; Hrubovčáková, M.; Molnár, M.; Hertneky, S. Physics-Informed Machine Learning Model (NitroPINN) for Nitrogen Content Prediction in Crude Steel Produced in BOF. Appl. Sci. 2026, 16, 5731. https://doi.org/10.3390/app16125731
Demeter J, Buľko B, Demeter P, Hrubovčáková M, Molnár M, Hertneky S. Physics-Informed Machine Learning Model (NitroPINN) for Nitrogen Content Prediction in Crude Steel Produced in BOF. Applied Sciences. 2026; 16(12):5731. https://doi.org/10.3390/app16125731
Chicago/Turabian StyleDemeter, Jaroslav, Branislav Buľko, Peter Demeter, Martina Hrubovčáková, Marek Molnár, and Slavomír Hertneky. 2026. "Physics-Informed Machine Learning Model (NitroPINN) for Nitrogen Content Prediction in Crude Steel Produced in BOF" Applied Sciences 16, no. 12: 5731. https://doi.org/10.3390/app16125731
APA StyleDemeter, J., Buľko, B., Demeter, P., Hrubovčáková, M., Molnár, M., & Hertneky, S. (2026). Physics-Informed Machine Learning Model (NitroPINN) for Nitrogen Content Prediction in Crude Steel Produced in BOF. Applied Sciences, 16(12), 5731. https://doi.org/10.3390/app16125731

