A Comparative Study on the Efficiency of Compiled Languages ‎and MATLAB/Simulink for Simulation of Highly Nonlinear ‎Automotive Systems

Document Type : Research Paper

Authors

1 Infinity Industry Designers, Inc., No. 1 Modarres Street, Ferdows, 97718-15583, Iran‎

2 Department of Mechanical Engineering, K. N. Toosi University of Technology, No. 17 Pardis Street, Vanak Square, Tehran, 19991-43344, Iran

3 Department of Mechanical Engineering, K. N. Toosi University of Technology, No. 17 Pardis Street, Vanak Square, Tehran, 19991-43344, Iran‎

Abstract

In the present paper, a comparison between the simulation performance of a highly nonlinear model in MATLAB/Simulink and a compiled language has been drawn. A complete powertrain layout was formed in Simulink and the same model was developed from scratch in Fortran 2003 which led to creating a complete simulation software program named Powertrain Simulator. The results show that for a system with not many details and phase changes, both of the simulation environments offer acceptable performance. However, when the modeling layout is overly complicated, developing the model in a compiled language is a smarter choice.

Keywords

Main Subjects

Publisher’s Note Shahid Chamran University of Ahvaz remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. 

[1] Giroux R., Landry R.J., Leach B., Gourdeau R. Validation and Performance Evaluation of a Simulink Inertial Navigation System Simulator, Canadian Aeronautics and Space Journal, 49(4), 2003, 149-61.
[2] Hödelmoser S., Kitzler F. Comparison of Matlab, Simulink and Anylogic Approach to Argesim Benchmark C9 'Fuzzy Control of a Two Tank System', Simulation Notes Europe, 23(3-4), 2013, 195-200.
[3] Lamberský V., Vejlupek J. Benchmarking the Performance of a Dspic Controller Programed with Automatically Generated Code, Technical Computing Prague, 2011.
[4] Venayagamoorthy G.K., Comparison of Power System Simulation Studies on Different Platforms-Rscad, Pscad/Emtdc, and Simulink Simpowersystems, International Conference on Power System Operations and Planning (ICPSOP), 2005.
[5] Roscoe A., Blair S., Burt G.M., Benchmarking and Optimisation of Simulink Code Using Real-Time Workshop and Embedded Coder for Inverter and Microgrid Control Applications, 2009 44th International Universities Power Engineering Conference (UPEC): IEEE, 2009.
[6] Cansalar C.A., Maviş E., Kasnakoğlu C., Simulation Time Analysis of Matlab/Simulink and Labview for Control Applications, 2015 IEEE International Conference on Industrial Technology (ICIT): IEEE, 2015.
[7] Zhang H., Saporta B., Dufoura F., Deleuzed G. Dynamic Reliability by Using Simulink and Stateflow, Chemical Engineering Transactions, 33, 2013, 529-534.
[8] Wang K., Steyn-Ross M.L., Steyn-Ross D.A., Wilson M.T., Sleigh J.W., Shiraishi Y. Simulations of Pattern Dynamics for Reaction-Diffusion Systems Via Simulink, BMC Systems Biology, 8(1), 2014, 45.
[9] Ravi K.S., Potdar S., Poojar P., Reddy A.K., Kroboth S., Nielsen J.-F., et al. Pulseq-Graphical Programming Interface: Open Source Visual Environment for Prototyping Pulse Sequences and Integrated Magnetic Resonance Imaging Algorithm Development, Magnetic Resonance Imaging, 52, 2018, 9-15.
[10] Azzini I., Muresano R., Ratto M. Dragonfly: A Multi-Platform Parallel Toolbox for Matlab/Octave, Computer Languages, Systems & Structures, 52, 2018, 21-42.
[11] Pham L.T., Oksum E., Gómez-Ortiz D., Do T.D. Magb_Inv: A High Performance Matlab Program for Estimating the Magnetic Basement Relief by Inverting Magnetic Anomalies, Computers & Geosciences, 134, 2020, 104347.
[12] Barbot B., Bérard B., Duplouy Y., Haddad S., Integrating Simulink Models into the Model Checker Cosmos, Application and Theory of Petri Nets and Concurrency, Cham: Springer International Publishing, 2018.
[13] Casoria S., Mahseredjian J., Roussel R., Beaudry J., Sybille G. A Portable and Unified Approach to Control System Simulation, Pulse, 4(F5Y), 2001, F6Y.
[14] Pasdar A.H., Azadi S., Kazemi R. High-Precision, Real-World Modeling of a Semi-Automatic Powertrain, Simulation, 90(9), 2014, 1041-58.
[15] Popinchalk S. Improving Simulation Performance in Simulink, The MathWorks, Inc, 2012.
[16] Board M.A.A. Control Algorithm Modeling Guidelines Using Matlab, Simulink and Stateflow, Version 2.0, The MathWorks Automotive Advisory Board August 31, 2012.
[17] Lipovetsky S. Numerical Recipes: The Art of Scientific Computing, Technometrics, 51(4), 2009, 481.
[18] Phillips L. Gnuplot Cookbook, Packt Publishing Ltd, 2012.
[19] Magnin V., Tappin J., Hunger J., De Lisle J. Gtk-Fortran: A Gtk+ Binding to Build Graphical User Interfaces in Fortran, Open Journals, 4(34), 2019, 1109.