Browse Publications Technical Papers 2015-36-0152
2015-09-22

Speeding-Up Physical Systems Modeling with Object-Oriented Programming 2015-36-0152

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.

SAE MOBILUS

Subscribers can view annotate, and download all of SAE's content. Learn More »

Access SAE MOBILUS »

Members save up to 16% off list price.
Login to see discount.
Special Offer: Download multiple Technical Papers each year? TechSelect is a cost-effective subscription option to select and download 12-100 full-text Technical Papers per year. Find more information here.
We also recommend:
TECHNICAL PAPER

Simulation of Dynamic Pinion Course using Runge-Kutta's Method and Impact Modeling

2011-36-0177

View Details

TECHNICAL PAPER

EMC simulations - Application of simple antenna models to represent electromagnetic generators in vehicles

2008-36-0050

View Details

TECHNICAL PAPER

Full Vehicle Electromagnetic Simulation Using the Hybrid Finite Element Boundary Integral Approach

2011-36-0085

View Details

X