This content is not included in
your SAE MOBILUS subscription, or you are not logged in.
Speeding-Up Physical Systems Modeling with Object-Oriented Programming
Technical Paper
2015-36-0152
ISSN: 0148-7191, e-ISSN: 2688-3627
Annotation ability available
Sector:
Language:
English
Abstract
Object-oriented programing has been around for more than 50 years and has changed the way we develop computational algorithms. Although the concept of objects in programming was introduced with a physical systems modeling tool, most modelling is done today with procedural programming. This paper aspires to show the benefits of object-oriented programming in contrast to procedural programming. This was done by taking a case study in which we analyze the model of the vehicle electric system. The system was partially modelled using Simulink for procedural programming and using Simscape for object-oriented programming. As a result, the object-oriented model was simpler to read and understand. It also provided an interface that facilitates expansion, whereas the procedural model needed to be rebuilt to accommodate changes in the structure and presented higher complexity. The analysis of these two models clearly demonstrates the advantages of using object-oriented programming in physical systems modelling. With this approach, engineering time and cost can be significantly reduced leading to faster time-to-market and improved development documentation.
Recommended Content
Authors
Citation
Monteiro, T., Canale, B., and Canale, A., "Speeding-Up Physical Systems Modeling with Object-Oriented Programming," SAE Technical Paper 2015-36-0152, 2015, https://doi.org/10.4271/2015-36-0152.Also In
References
- Joines , J. and Roberts , S. Simulation in an Object-Oriented World Proceedings of the 1999 Winter Simulation Conference 1999
- Joines , J. and Roberts , S. An Introduction to Object-Oriented Simulation in C++ Proceedings of the 1997 Winter Simulation Conference 1997
- Blankenbecler , R. Object Oriented Programming for Simulation Problems in Physics Stanford Linear Accelerator Center 1990
- The MathWorks Inc. Simulink User’s Guide, R2014b The MathWorks Inc. Natick, MA September 2013
- The MathWorks Inc. Simscape User’s Guide, R2014b The MathWorks Inc. Natick, MA September 2013