Predicting Cycle-to-Cycle Variations in Liquid Methane Engines Using CTGAN-Augmented Machine Learning
Abstract
1. Introduction
2. Experimental Set-Up
2.1. Test Engine and Test Rigs
2.2. Experimental Set-Up and Operating Conditions
2.3. Uncertainty Analysis
3. Modeling Strategy
3.1. Virtual Data Generation
3.2. Data Classification and Normalization
3.3. Machine Learning Prediction
4. Results and Discussion
4.1. LME Cycle Variability Study
4.2. Analysis of CTGAN Data Generation Results
4.3. Cyclic Variation Prediction Based on Machine Learning
5. Conclusions
- (1)
- The present study investigates the effect of compression ratio on cycle variations and their key indexes. This is achieved by means of cycle–cycle statistics and analysis of cylinder pressure test data. The results demonstrate that as the compression ratio increases, the consistency of the combustion process in different cycles decreases, and the stability of engine operation decreases. Concurrently, the enhancement in compression ratio instigates an oscillatory pattern in peak pressure, characterized by an initial decrease and subsequent increase. The increase in compression ratio also leads to an increase in the average maximum pressure rise rate. However, when the compression ratio is elevated from 12.6 to 13.6, a decline in the pressure rise rate is observed. This phenomenon can be attributed to the enhanced efficacy of the combustion management system at higher compression ratios, as evidenced by the modulation of ignition timing and fuel injection strategy.
- (2)
- Machine learning algorithms were employed in conjunction with enhanced SVM, RF, and XGBoost models to predict and compare cyclical variations in peak pressure, maximum pressure rise rates, and IMEP. The results demonstrate that the RF model, following Bayesian optimization, exhibits the most optimal prediction efficacy, with an R2 value that consistently exceeds 0.7 and minimal RMSE values consistently less than 0.3. This study underscores the efficacy of RF models in accurately predicting cyclic variations in liquid methane engines. Bayesian optimization algorithms have the capacity to enhance the predictive performance of the model by facilitating the selection of hyperparameters, and the model in question has been demonstrated to exhibit favorable indicators with regard to the prediction of peak pressure, maximum pressure rise rate, and IMEP. When making predictions, peak pressure is affected by fluctuations, causing data concentration and resulting in a large CCV. In combustion control, IMEP is the result of response performance. IMEP predictions are easier to make. Therefore, IMEP predictions are more accurate than peak pressure predictions.
Author Contributions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Omer, A.M. Energy, environment and sustainable development. Renew. Sustain. Energy Rev. 2008, 12, 2265–2300. [Google Scholar] [CrossRef]
- Othman, M.F.; Adam, A.; Najafi, G.; Mamat, R. Green fuel as alternative fuel for diesel engine: A review. Renew. Sustain. Energy Rev. 2017, 80, 694–709. [Google Scholar] [CrossRef]
- Alkhathlan, K.; Javid, M. Carbon emissions and oil consumption in Saudi Arabia. Renew. Sustain. Energy Rev. 2015, 48, 105–111. [Google Scholar] [CrossRef]
- Elgohary, M.M.; Seddiek, I.S.; Salem, A.M. Overview of alternative fuels with emphasis on the potential of liquefied natural gas as future marine fuel. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2014, 229, 365–375. [Google Scholar] [CrossRef]
- Ramey, V.A.; Vine, D.J. Oil, Automobiles, and the U.S. Economy: How Much Have Things Really Changed? NBER Macroecon. Annu. 2011, 25, 333–368. [Google Scholar] [CrossRef]
- Surawski, N.C.; Ristovski, Z.D.; Brown, R.J.; Situ, R. Gaseous and particle emissions from an ethanol fumigated compression ignition engine. Energy Convers. Manag. 2012, 54, 145–151. [Google Scholar] [CrossRef]
- Rabbi, M.F.; Popp, J.; Máté, D.; Kovács, S. Energy Security and Energy Transition to Achieve Carbon Neutrality. Energies 2022, 15, 8126. [Google Scholar] [CrossRef]
- Zhou, F.; Wu, C.; Fu, J.; Liu, J.; Duan, X.; Sun, Z. Abnormal combustion and NOx emissions control strategies of hydrogen internal combustion engine. Renew. Sustain. Energy Rev. 2025, 219, 115847. [Google Scholar] [CrossRef]
- Wan, S.; Zhou, F.; Fu, J.; Yu, J.; Liu, J.; Abdellatief, T.M.M.; Duan, X. Effects of hydrogen addition and exhaust gas recirculation on thermodynamics and emissions of ultra-high compression ratio spark ignition engine fueled with liquid methane. Energy 2024, 306, 132451. [Google Scholar] [CrossRef]
- Paul, A.; Bose, P.K.; Panua, R.S.; Banerjee, R. An experimental investigation of performance-emission trade off of a CI engine fueled by diesel–compressed natural gas (CNG) combination and diesel–ethanol blends with CNG enrichment. Energy 2013, 55, 787–802. [Google Scholar] [CrossRef]
- Wei, H.; Zhang, R.; Chen, L.; Pan, J.; Wang, X. Effects of high ignition energy on lean combustion characteristics of natural gas using an optical engine with a high compression ratio. Energy 2021, 223, 120053. [Google Scholar] [CrossRef]
- El-Gohary, M.M. The future of natural gas as a fuel in marine gas turbine for LNG carriers. Proc. Inst. Mech. Eng. Part M J. Eng. Marit. Environ. 2012, 226, 371–377. [Google Scholar] [CrossRef]
- Arteconi, A.; Brandoni, C.; Evangelista, D.; Polonara, F. Life-cycle greenhouse gas analysis of LNG as a heavy vehicle fuel in Europe. Appl. Energy 2010, 87, 2005–2013. [Google Scholar] [CrossRef]
- Kumar, S.; Kwon, H.-T.; Choi, K.-H.; Lim, W.; Cho, J.H.; Tak, K.; Moon, I. LNG: An eco-friendly cryogenic fuel for sustainable development. Appl. Energy 2011, 88, 4264–4273. [Google Scholar] [CrossRef]
- Kyrtatos, P.; Brückner, C.; Boulouchos, K. Cycle-to-cycle variations in diesel engines. Appl. Energy 2016, 171, 120–132. [Google Scholar] [CrossRef]
- Reyes, M.; Tinaut, F.V.; Giménez, B.; Pérez, A. Characterization of cycle-to-cycle variations in a natural gas spark ignition engine. Fuel 2015, 140, 752–761. [Google Scholar] [CrossRef]
- Yang, Z.; Steffen, T.; Stobart, R. Disturbance Sources in the Diesel Engine Combustion Process. In Proceedings of the SAE 2013 World Congress & Exhibition, Detroit, MI, USA, 16–18 April 2013; SAE Technical Paper Series. SAE international: Warrendale, PA, USA, 2013. [Google Scholar]
- Enaux, B.; Granet, V.; Vermorel, O.; Lacour, C.; Pera, C.; Angelberger, C.; Poinsot, T. LES study of cycle-to-cycle variations in a spark ignition engine. Proc. Combust. Inst. 2011, 33, 3115–3122. [Google Scholar] [CrossRef]
- Zhu, Y.; He, Z.; Xuan, T.; Shao, Z. An enhanced automated machine learning model for optimizing cycle-to-cycle variation in hydrogen-enriched methanol engines. Appl. Energy 2024, 362, 123019. [Google Scholar] [CrossRef]
- Babay, M.-A.; Adar, M.; Chebak, A.; Mabrouki, M. Forecasting green hydrogen production: An assessment of renewable energy systems using deep learning and statistical methods. Fuel 2025, 381, 133496. [Google Scholar] [CrossRef]
- Kodavasal, J.; Abdul Moiz, A.; Ameen, M.; Som, S. Using Machine Learning to Analyze Factors Determining Cycle-to-Cycle Variation in a Spark-Ignited Gasoline Engine. J. Energy Resour. Technol. 2018, 140, 102204. [Google Scholar] [CrossRef]
- Siqueira-Filho, E.A.; Lira, M.F.A.; Converti, A.; Siqueira, H.V.; Bastos-Filho, C.J.A. Predicting Thermoelectric Power Plants Diesel/Heavy Fuel Oil Engine Fuel Consumption Using Univariate Forecasting and XGBoost Machine Learning Models. Energies 2023, 16, 2942. [Google Scholar] [CrossRef]
- Zhan, Y.; Shi, Z.; Liu, M. The Application of Support Vector Machines (SVM) to Fault Diagnosis of Marine Main Engine Cylinder Cover. In Proceedings of the IECON 2007—33rd Annual Conference of the IEEE Industrial Electronics Society, Taipei, Taiwan, 5–8 November 2007; IEEE: New York, NY, USA, 2007; pp. 3018–3022. [Google Scholar]
- Roy, S.; Banerjee, R.; Bose, P.K. Performance and exhaust emissions prediction of a CRDI assisted single cylinder diesel engine coupled with EGR using artificial neural network. Appl. Energy 2014, 119, 330–340. [Google Scholar] [CrossRef]
- Wong, P.-k.; Vong, C.-m.; Ip, W.-f. Modelling of Petrol Engine Power Using Incremental Least-Square Support Vector Machines for ECU Calibration. In Proceedings of the 2010 International Conference on Optoelectronics and Image Processing, Haikou, China, 11–12 November 2010; IEEE: New York, NY, USA, 2010; pp. 12–15. [Google Scholar]
- Cruz-Peragón, F.; Jiménez-Espadafor, F.J. A Genetic Algorithm for Determining Cylinder Pressure in Internal Combustion Engines. Energy Fuels 2007, 21, 2600–2607. [Google Scholar] [CrossRef]
- Altın, İ.; Bilgin, A.; Çeper, B.A. Parametric study on some combustion characteristics in a natural gas fueled dual plug SI engine. Energy 2017, 139, 1237–1242. [Google Scholar] [CrossRef]
- Zhang, S.; Duan, X.; Liu, Y.; Guo, G.; Zeng, H.; Liu, J.; Lai, M.-C.; Talekar, A.; Yuan, Z. Experimental and numerical study the effect of combustion chamber shapes on combustion and emissions characteristics in a heavy-duty lean burn SI natural gas engine coupled with detail combustion mechanism. Fuel 2019, 258, 116130. [Google Scholar] [CrossRef]
- Zhuang, H.; Hung, D.L.S. Characterization of the effect of intake air swirl motion on time-resolved in-cylinder flow field using quadruple proper orthogonal decomposition. Energy Convers. Manag. 2016, 108, 366–376. [Google Scholar] [CrossRef]
- Heywood, J. Internal Combustion Engine Fundamentals; McGraw-Hill: New York, NY, USA, 2018. [Google Scholar]
- Raja Sekar, R.; Srinivasan, R.; Muralidharan, K. Investigation of the Performance and Emission Characteristics of Ceiba Pentandra Biodiesel Blends in a Variable Compression Ratio Engine. Trans. FAMENA 2022, 46, 73–86. [Google Scholar] [CrossRef]
- Zhao, Y.; Geng, C.; E, W.; Li, X.; Cheng, P.; Niu, T. Experimental study on the effects of blending PODEn on performance, combustion and emission characteristics of heavy-duty diesel engines meeting China VI emission standard. Sci. Rep. 2021, 11, 9514. [Google Scholar] [CrossRef]
- Sahoo, S.; Srivastava, D.K. Effect of compression ratio on engine knock, performance, combustion and emission characteristics of a bi-fuel CNG engine. Energy 2021, 233, 121144. [Google Scholar] [CrossRef]
- Barik, D.; Murugan, S. Simultaneous reduction of NOx and smoke in a dual fuel DI diesel engine. Energy Convers. Manag. 2014, 84, 217–226. [Google Scholar] [CrossRef]
- Venu, H.; Subramani, L.; Raju, V.D. Emission reduction in a DI diesel engine using exhaust gas recirculation (EGR) of palm biodiesel blended with TiO2 nano additives. Renew. Energy 2019, 140, 245–263. [Google Scholar] [CrossRef]
- Wu, D.; Deng, B.; Li, M.; Fu, J.; Hou, K. Improvements on performance and emissions of a heavy duty diesel engine by throttling degree optimization: A steady-state and transient experimental study. Chem. Eng. Process. Process Intensif. 2020, 157, 108132. [Google Scholar] [CrossRef]
- Kavak, H.; Padilla, J.J.; Lynch, C.J.; Diallo, S.Y. Big data, agents, and machine learning: Towards a data-driven agent-based modeling approach. In Proceedings of the Annual Simulation Symposium, San Diego, CA, USA, 15–18 April 2018; Society for Computer Simulation International: Baltimore, MD, USA, 2018; p. 12. [Google Scholar]
- Yang, J.; Yu, X.; Xie, Z.-Q.; Zhang, J.-P. A novel virtual sample generation method based on Gaussian distribution. Knowl.-Based Syst. 2011, 24, 740–748. [Google Scholar] [CrossRef]
- Zhu, Q.-X.; Hou, K.-R.; Chen, Z.-S.; Gao, Z.-S.; Xu, Y.; He, Y.-L. Novel virtual sample generation using conditional GAN for developing soft sensor with small data. Eng. Appl. Artif. Intell. 2021, 106, 104497. [Google Scholar] [CrossRef]
- Pan, T.; Chen, J.; Zhang, T.; Liu, S.; He, S.; Lv, H. Generative adversarial network in mechanical fault diagnosis under small sample: A systematic review on applications and future perspectives. ISA Trans. 2022, 128, 1–10. [Google Scholar] [CrossRef]
- Xu, L.; Skoularidou, M.; Cuesta-Infante, A.; Veeramachaneni, K. Modeling tabular data using conditional GAN. In Proceedings of the 33rd International Conference on Neural Information Processing Systems, Red Hook, NY, USA, 8–13 December 2019; Curran Associates Inc.: Red Hook, NY, USA, 2019; p. 659. [Google Scholar]
- Jakkula, V. Tutorial on Support Vector Machine (SVM); School of EECS, Washington State University: Pullman, WA, USA, 2006; Volume 37, p. 3. [Google Scholar]
- Schulz, E.; Speekenbrink, M.; Krause, A. A tutorial on Gaussian process regression: Modelling, exploring, and exploiting functions. J. Math. Psychol. 2018, 85, 1–16. [Google Scholar] [CrossRef]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Jia-Xu, C.U.I.; Bo, Y. Survey on Bayesian Optimization Methodology and Applications. J. Softw. 2018, 29, 3068–3090. [Google Scholar]
- Probst, P.; Wright, M.N.; Boulesteix, A.L. Hyperparameters and tuning strategies for random forest. WIREs Data Min. Knowl. Discov. 2019, 9, e1301. [Google Scholar] [CrossRef]
- Mahesh, B. Machine Learning Algorithms—A Review. Int. J. Sci. Res. 2020, 9, 381–386. [Google Scholar] [CrossRef]
- Yu, H.; Kim, S. SVM Tutorial—Classification, Regression and Ranking. In Handbook of Natural Computing; Springer: Berlin/Heidelberg, Germany, 2012; pp. 479–506. [Google Scholar]
- Belgiu, M.; Drăguţ, L. Random forest in remote sensing: A review of applications and future directions. ISPRS J. Photogramm. Remote Sens. 2016, 114, 24–31. [Google Scholar] [CrossRef]
- Santhanam, R.; Uzir, N.; Raman, S.; Banerjee, S. Experimenting XGBoost Algorithm for Prediction and Classification of Different Datasets. In Proceedings of the National Conference on Recent Innovations in Software Engineering and Computer Technologies (NCRISECT), Chennai, India, 23–24 March 2017. [Google Scholar]
- Manente, V.; Johansson, B.; Tunestal, P.; Cannella, W.J. Influence of inlet pressure, EGR, combustion phasing, speed and pilot ratio on high load gasoline partially premixed combustion. In Proceedings of the International Powertrains, Fuels and Lubricants Meeting, Rio De Janeiro, Brazil, 5 May 2010. SAE Technical Paper. [Google Scholar]
- Zhen, X.; Wang, Y.; Xu, S.; Zhu, Y.; Tao, C.; Xu, T.; Song, M.Z. The engine knock analysis—An overview. Appl. Energy 2012, 92, 628–636. [Google Scholar] [CrossRef]
- Panaretos, V.M.; Zemel, Y. Statistical Aspects of Wasserstein Distances. Annu. Rev. Stat. Its Appl. 2019, 6, 405–431. [Google Scholar] [CrossRef]
- Arjovsky, M.; Chintala, S.; Bottou, L. Wasserstein GAN. arXiv 2017, arXiv:1701.07875. [Google Scholar]
Parameter | Parameter Value |
---|---|
Fuel type | Liquid methane |
Engine type | Four-stroke, in-line 6 cylinders |
Gas supply method | Intake manifold single-point injection |
Intake type | Turbocharged |
Ignition type | High-energy spark ignition |
Ignition sequence | 1-5-3-6-2-4 |
Compression ratio | Initial 11.6, modified 12.6, 13.6, 14.6, 15.6 |
Capacity of an engine (L) | 9.7 |
Rated power (kW) | 250 |
Stroke × Bore (mm × mm) | 130 × 126 |
Max. torque (N·m) | 1350 |
Connecting rod length (mm) | 260 |
Rated power speed (r/min) | 2200 |
Maximum torque point speed (r/min) | 1200–1500 |
Dimension (mm) | 1525 × 730 × 1063 |
Mass (kg) | Approx. 875 |
Name | Model | Precision |
---|---|---|
Bench control system Combustion analyzer Cylinder pressure sensor | Xiangyi FC2012 AVL-INDISET ADVANCED PLUS Kistler D14FR-5DD2B | – – ±0.6% F. S |
Air flow meter | TP16A.00 | ±1% F. S |
Gas flow meter | TOCEIL CMF025 | ±0.35% |
Excess air coefficient analyzer Exhaust gas analyzer | ETAS Lambda Meter HORIBA MEXA-584L | ±0.01 HC: 1 ppm vol NO: 1 ppm vol CO2: 0.02% vol O2: 0.01% vol |
Dynamometers | Xiang Yi CAC-380 | Torque: ±0.2% F. S; Rotational speed: ±5 r/min |
Pressure sensor | GB-3000A | 0.1% F. S |
Item | Conditions | Remarks |
---|---|---|
Pre-air filter pressure (KPa) | −3~0 | Reference to ambient atmospheric pressure |
Inlet gas temperature (°C) | 25 ± 2 | Positioned approx. 50 mm from the inlet of the engine air filter |
Main oil passage temperature (°C) | ≤124.5 | Measuring the inlet of the main oil channel |
Gas temperature (°C) | 40~50 | Positioned in front of the filter |
Turbine inlet temperature (°C) | ≤674 | Located 60 mm from the turbine air intake |
Coolant temperature (°C) | 88 ± 3 | Near the engine coolant inlet and outlet |
Engine blowing | External add-on device | Add fans as appropriate |
Air relative humidity | 50% (±5%) | Used to modify engine performance |
Result | Uncertainty |
---|---|
Inlet gas temperature (°C) | 2.19 |
Fuel flow rate | 1.88 |
Air flow rate | 1.71 |
Speed | 1.47 |
BMEP | 1.23 |
Parameter Name | Penalty Function (C) | Kernel Function Parameter (Gamma) |
---|---|---|
Peak pressure | 0.1758 | 6.1315 |
Maximum pressure rise rate | 0.350 | 2.91 |
IMEP | 0.151 | 4.606 |
Bayesian Optimization Pseudo-Code |
---|
Input: target: Black box function |
X: Range of independent variables |
Y: Acceptable values for the dependent variable of the black box function |
Output: |
X: The x-value of the maximum value guessed by the Bayesian optimizer |
New target: Function value of the maximum value guessed by the Bayesian optimizer |
Hyperparameters | Optimal Combination |
---|---|
Base learning device | 176 |
Maximum depth | 19 |
Maximum number of features used in a single decision tree | 0.38 |
Node split value | 0.0010 |
Hyperparameters | Optimal Combination |
---|---|
Base learning device | 149 |
Maximum depth | 8 |
Proportion of samples taken in random sampling | 0.6 |
learning rate | 0.121 |
Number of Tests | Std (AVE) | IQR (AVE) | Outliers (QTY) |
---|---|---|---|
Experimental data | 0.552 | 0.757 | 5 |
400 | 0.526 | 0.717 | 10 |
700 | 0.511 | 0.736 | 3 |
1000 | 0.486 | 0.639 | 21 |
Observational Indicators | 12.6 | 13.6 | 14.6 | 15.6 | ||||
---|---|---|---|---|---|---|---|---|
R2 | RMSE | R2 | RMSE | R2 | RMSE | R2 | RMSE | |
Peak pressure | 0.46 | 0.33 | 0.41 | 0.31 | 0.21 | 0.38 | 0.34 | 0.39 |
Pressure rise rate | 0.34 | 0.36 | 0.33 | 0.39 | 0.25 | 0.40 | 0.29 | 0.38 |
IMEP | 0.33 | 0.28 | 0.31 | 0.34 | 0.28 | 0.36 | 0.30 | 0.27 |
Observational Indicators | 12.6 | 13.6 | 14.6 | 15.6 | ||||
---|---|---|---|---|---|---|---|---|
R2 | RMSE | R2 | RMSE | R2 | RMSE | R2 | RMSE | |
Peak pressure | 0.73 | 0.25 | 0.74 | 0.25 | 0.77 | 0.25 | 0.72 | 0.32 |
Pressure rise rate | 0.76 | 0.13 | 0.77 | 0.11 | 0.77 | 0.14 | 0.77 | 0.14 |
IMEP | 0.76 | 0.06 | 0.79 | 0.07 | 0.77 | 0.08 | 0.78 | 0.08 |
Observational Indicators | 12.6 | 13.6 | 14.6 | 15.6 | ||||
---|---|---|---|---|---|---|---|---|
R2 | RMSE | R2 | RMSE | R2 | RMSE | R2 | RMSE | |
Peak pressure | 0.41 | 0.37 | 0.38 | 0.38 | 0.47 | 0.38 | 0.44 | 0.45 |
Pressure rise rate | 0.48 | 0.19 | 0.47 | 0.17 | 0.43 | 0.23 | 0.43 | 0.22 |
IMEP | 0.45 | 0.09 | 0.50 | 0.10 | 0.45 | 0.12 | 0.48 | 0.12 |
Different Models | 12.6 | 13.6 | 14.6 | 15.6 |
---|---|---|---|---|
SVM | 4.22% | 14.97% | 14.06% | 6.94% |
RF | 14.58% | 31.13% | 28.42% | 23.13% |
XGBoost | 14.81% | 32.02% | 29.31% | 24.54% |
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. |
© 2025 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 (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Zhang, E.; Zhou, F.; Xi, H.; Duan, X.; Liu, J. Predicting Cycle-to-Cycle Variations in Liquid Methane Engines Using CTGAN-Augmented Machine Learning. J. Mar. Sci. Eng. 2025, 13, 1513. https://doi.org/10.3390/jmse13081513
Zhang E, Zhou F, Xi H, Duan X, Liu J. Predicting Cycle-to-Cycle Variations in Liquid Methane Engines Using CTGAN-Augmented Machine Learning. Journal of Marine Science and Engineering. 2025; 13(8):1513. https://doi.org/10.3390/jmse13081513
Chicago/Turabian StyleZhang, Enchang, Feng Zhou, Haoran Xi, Xiongbo Duan, and Jingping Liu. 2025. "Predicting Cycle-to-Cycle Variations in Liquid Methane Engines Using CTGAN-Augmented Machine Learning" Journal of Marine Science and Engineering 13, no. 8: 1513. https://doi.org/10.3390/jmse13081513
APA StyleZhang, E., Zhou, F., Xi, H., Duan, X., & Liu, J. (2025). Predicting Cycle-to-Cycle Variations in Liquid Methane Engines Using CTGAN-Augmented Machine Learning. Journal of Marine Science and Engineering, 13(8), 1513. https://doi.org/10.3390/jmse13081513