Thermodynamic Simulation-assisted Random Forest: Towards explainable fault diagnosis of combustion chamber components of marine diesel engines
Congcong Luo, Minghang Zhao*, Xuyun Fu, Shisheng Zhong, Song Fu, Kai Zhang, Xiaoxia Yu
Harbin Institute of Technology, Southwest Jiaotong University, and Chongqing University of Technology

📄 Free Full-Text Access (Open-Access Accepted Manuscript)
Copyright & License Notice: This is the author’s accepted manuscript of an article published in Measurement, Vol. 251, 117252 (2025), available online at https://doi.org/10.1016/j.measurement.2025.117252. Shared for non-commercial personal academic access under a CC BY-NC-ND license.
💻 Open-Source Code, Dataset & Interactive Demo
The first author has established an interactive companion project page hosting open-source code and dataset for this work:
👉 https://ts-rf.github.io/
- Code & Pipeline: Complete model training, feature selection, and Random Forest classification implementation.
- Interactive SHAP Visualizations: Online exploration of local waterfall plots and global beeswarm/interaction interpretations.
- Multilingual Platform: Available in 14 languages (English, 简体中文, Español, Français, 日本語, 한국어, etc.).
🔍 Research Problem: Data Scarcity & Black-Box Explainability
In Prognostics and Health Management (PHM) of marine diesel engines, the combustion chamber (cylinder head, piston, cylinder liner, and piston rings) operates under extreme thermal and mechanical stress. However, conventional data-driven diagnostics face two critical barriers in engineering practice:
- Scarcity of Fault Samples: Real-world catastrophic combustion-chamber faults are rare and hazardous to induce experimentally.
- Lack of Physical Explainability: Purely black-box machine learning models struggle to incorporate domain fault mechanisms or justify why a particular thermodynamic indicator drives a diagnosis.
Fig. 1. Overall architecture of the proposed Thermodynamic Simulation-assisted Random Forest (TSRF).
To bridge physics-based domain knowledge and data-driven learning, this work proposes TSRF, integrating a calibrated 1D thermodynamic fault simulator with Tree SHAP (SHapley Additive exPlanations) and Random Forest (RF).
⚙️ Methodology Overview
- Thermodynamic Parameter Fine-Tuning: A calibrated 1D thermodynamic diesel engine model simulates five representative combustion-chamber faults—cylinder head cracking (
F1), piston ablation (F2), liner wear (F3), piston ring wear (F4), and ring sticking (F5)—by systematically tuning physical boundary and geometric parameters (surface temperature, bore diameter, and blow-by mass flow).
- SHAP-Guided Parameter Selection: Rather than feeding all thermodynamic outputs blindly into a classifier, Tree SHAP quantifies the marginal contribution of each simulated variable to select a compact, physically meaningful subset of diagnostic indicators.
Fig. 3. SHAP-based thermodynamic parameter selection and re-identification workflow.
- Dual-Perspective Explainability (Local + Global): Model decisions are explained both at the individual sample level (waterfall plots) and across the entire fault class (beeswarm, interaction, and dependence plots), verifying consistency with underlying thermodynamic laws.
🌐 Key Findings & Cross-Disciplinary Relevance
Qualitative takeaways from the thermodynamic simulation and explainability analyses (see full paper for detailed experiments & visualizations):
- Mechanistic Feature Compactness: Selecting a compact subset of high-contribution thermodynamic indicators via Tree SHAP reduces redundancy while improving fault separability across combustion-chamber degradation modes.
- Physical Consistency of Model Decisions: Local and global SHAP interaction analyses confirm that the classifier relies on physically interpretable indicators—such as turbocharger exhaust gas temperature, blow-by heat/mass flow, and cylinder liner heat flow—rather than spurious correlations.
- Cross-Disciplinary Applicability: This “Physical Simulation → SHAP-Guided Selection → Ensemble Diagnosis → Dual-Scale Explainability” paradigm is directly applicable to internal combustion engines, gas turbines, compressors, industrial process systems, and digital-twin-assisted PHM where real fault data are scarce and explainable AI (XAI) is essential.
- CAAN (Ships and Offshore Structures, 2026): Control-aware affine network: a novel framework for reliable fault diagnosis of marine diesel engines in dynamic maneuvers — Project Page & Free PDF
- CA-DANN (Transactions of the Institute of Measurement and Control, 2026): Fault diagnosis of marine diesel engine via control-aware domain adversarial network: A control-diagnosis collaboration perspective — Project Page & Free PDF
- SDTL (Journal of Power Sources, 2025): Deep transfer learning enabled online state-of-health estimation of lithium-ion batteries under small samples across different cathode materials, ambient temperature and charge-discharge protocols — Project Page & Free PDF
- BMSFormer (Energy, 2024): BMSFormer: An efficient deep learning model for online state-of-health estimation of lithium-ion batteries under high-frequency early SOC data with strong correlated single health indicator — Project Page & Free PDF
📝 Citation
If you find this framework or paper helpful for your research, please consider citing:
@article{luo2025tsrf,
title={Thermodynamic Simulation-assisted Random Forest: Towards explainable fault diagnosis of combustion chamber components of marine diesel engines},
author={Luo, Congcong and Zhao, Minghang and Fu, Xuyun and Zhong, Shisheng and Fu, Song and Zhang, Kai and Yu, Xiaoxia},
journal={Measurement},
volume={251},
pages={117252},
year={2025},
publisher={Elsevier},
doi={10.1016/j.measurement.2025.117252}
}
For academic inquiries or collaboration requests, please contact the corresponding author:
Minghang Zhao (zhaomh@hit.edu.cn), Harbin Institute of Technology.
Topics: Explainable AI (XAI) · Fault Diagnosis · SHAP · Random Forest · Thermodynamic Simulation · Digital Twin · PHM · Marine Diesel Engine