Speeding-Up Physical Systems Modeling with Object-Oriented Programming

Paper #:
  • 2015-36-0152

Published:
  • 2015-09-22
DOI:
  • 10.4271/2015-36-0152
Citation:
Monteiro, T., Canale, B., and Canale, A., "Speeding-Up Physical Systems Modeling with Object-Oriented Programming," SAE Technical Paper 2015-36-0152, 2015, doi:10.4271/2015-36-0152.
Pages:
8
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.
Access
Now
SAE MOBILUS Subscriber? You may already have access.
Buy
Select
Price
List
Download
$27.00
Mail
$27.00
Members save up to 40% off list price.
Share
HTML for Linking to Page
Page URL

Related Items

Training / Education
2017-06-15
Training / Education
2017-10-26
Technical Paper / Journal Article
2010-10-19
Article
2016-09-06
Technical Paper / Journal Article
2010-09-28