56
1 © 2015 The MathWorks, Inc. Simulink as Your Enterprise Simulation Platform Prasanna Deshpande & Naga Pemmaraju

Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

1© 2015 The MathWorks, Inc.

Simulink as Your Enterprise

Simulation Platform

Prasanna Deshpande & Naga Pemmaraju

Page 2: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

2

Enterprise Simulation Platform

Enterprise - Any size business or

project

Simulation – Evaluating system

behavior through computation

Platform – Scalable environment

for multi-disciplinary collaboration

Page 3: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

3

Challenges faced by teams working at enterprise level

Products / projects involve multiple engineering and non-engineering

domains

Systems are complex; require many teams to work together on different

components and share available resources

Many different tools may require to work together to achieve the bigger goal

Page 4: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

4

Simulink as an Enterprise Simulation Platform

Simulating Spacecraft Communications for Deep-Space Missions

Dr. Deepak Mishra, Scientist/Engineer (SF)

Indian Space Research Organization

Challenge

Integrating large multi-faceted project

Simulation at multiple stages and in multiple domains to explore the problem

Solution

Leverage Simulink as a platform

Page 5: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

5

Simulink as an Enterprise Simulation Platform

Page 6: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

6

Simulink as Enterprise Simulation Platform

Enterprise - Any size business or

project

Simulation – Evaluating system

behavior through computation

Platform – Scalable environment

for multi-disciplinary collaboration

FE Tools EDA Tools

HARDWARE

INTEGRATION AND TEST

IMPLEMENTATION

Embed.

Software

HIL

System

SYSTEM

Control ElectricalMechanical

Model Based Design

REQUIREMENTS

TE

ST

& V

ER

IFIC

AT

ION

Simulation

Page 7: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

7

Enterprise Simulation Platform Enablers

Multi-Domain

Modeling

Scalability Integration

Page 8: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

8

Enterprise Simulation Platform Enablers

Multi-Domain

Modeling

Page 9: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

9

Multi-Domain Modeling in Simulink

Dynamic Systems State Machines Discrete-Event Systems

Physical Modeling Object-Oriented

Page 10: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

10

Robot Arm Multi-Domain Simulation

Mechatronic System Model

Mechatronic system model with

communication latencies

Page 11: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

11

Multi-Domain Model

Page 12: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

12

Physical Modeling

Page 13: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

13

Multi-Domain Model

Page 14: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

14

State Charts and System Dynamics

Page 15: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

15

Multi-Domain Model

Page 16: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

16

Discrete-Event Modeling

Page 17: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

17

Domain-Specific Blocksets and Toolboxes

Simulink has numerous domain-specific tools, for example:

Aerospace Blockset

Computer Vision System Toolbox

DSP System Toolbox

Powertrain Blockset

Robotics System Toolbox

Page 18: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

18

Customer Success in Multidomain Modeling

ABB, Deltamarin, and VTT Simulate and

Optimize Ship Energy Flows

Challenge

Increase the energy efficiency of large vessels

Solution Use Simulink and Simscape to model, simulate, and optimize ship energy flow

Results Cost- and fuel-saving design improvements

Testing costs reduced by tens of thousands of euros

Page 19: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

19

Customer Success in Multidomain Modeling

ABB, Deltamarin, and VTT Simulate and

Optimize Ship Energy Flows

Challenge

Increase the energy efficiency of large vessels

Solution Use Simulink and Simscape to model, simulate, and optimize ship energy flow

Results Cost- and fuel-saving design improvements

Testing costs reduced by tens of thousands of euros

“Simulink and Simscape enabled us to create a dynamic model of

a complex energy system that spans several physical domains. By

simulating this model, we can see how a new energy subsystem

will perform before it is built, and provide customers with an

accurate estimate of their return on investment.”

Juha Orivuori, ABB

Page 20: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

20

Enterprise Simulation Platform Enablers

Multi-Domain

Modeling

Scalability Integration

Page 21: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

21

Enterprise Simulation Platform Enablers

Scalability

Page 22: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

22

Scalability Challenges

Performance Componentization

Team Workflows Sharing

Page 23: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

23

Scalability Challenges

Performance

Page 24: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

24

Tools and Techniques for Speeding Up Simulations

Choosing the right solver – Automatic Solver Selection

Examine model dynamics with Solver Profiler

Using simulation acceleration modes

Using Performance Advisor

Page 25: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

25

Performance Scalability

Easy scalability to multicore or cluster/cloud computation environment

Performance

Page 26: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

26

Performance Scalability

Big data workflow

– Processing large amount of simulation inputs / outputs

Performance

MAT file MAT file

Page 27: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

27

Scalability Challenges

Componentization

Page 28: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

28

Complex Design Development through Componentization

Componentization

Page 29: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

29

Partitioning a Model using Model Referencing Technique

Page 30: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

30

Partitioning a Model using Model Referencing Technique

Componentization

Page 31: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

31

Improve Performance by Team Sharing and Reusing of

Model Artifacts – Simulink Cache

Get simulation results faster by using pre-

built model artifacts

Share Simulink Cache easily with your team

members

Reduce unnecessary builds

Componentization

Page 32: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

32

Scalability Challenges

Team Workflows

Page 33: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

33

Capabilities Enabling Team Workflows

Source control

Design comparison and merging

Dependency analysis

Task automation

Team Workflows

Page 34: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

34

Source Control Integrations

Microsoft Team Foundation Server

(TFS) integration available now from

MathWorks File Exchange

Team Workflows

Page 35: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

35

Integrating Work from Different Engineers via Merge

Supports concurrent

engineering

Lets you concentrate on

design

Team Workflows

Page 36: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

36

Dependency Analysis – Modular Development

Page 37: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

37

Dependency Analysis – Modular Development

Show model structure

List products required

Highlight issues

Team Workflows

Page 38: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

38

Task Automation – Configuring Project Environment

Robustly configure the

team environment

For everyone

Automatically

Team Workflows

Page 39: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

39

Scalability Challenges

Sharing

Page 40: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

40

Sharing models with access control

Simulate

EditImplement

Simulate

EditImplement

Simulate

Edit Implement

Page 41: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

41

Protecting your Intellectual Property (IP)

Page 42: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

42

Simulink Addressing Scalability Challenges

Performance Componentization

Team Workflows Sharing

Page 43: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

43

Enterprise Simulation Platform Enablers

Multi-Domain

Modeling

Scalability Integration

Page 44: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

44

Enterprise Simulation Platform Enablers

Integration

Page 45: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

45

Disconnected Component Intellectual Property (IP)

Your IP exists in many forms and in many locations, making integration difficult

Page 46: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

46

Multiple ways to reuse your legacy code with Simulink

Integrating Your Code

legacy_code()

foo.h foo.c

bar.h bar.c

Legacy Code

Page 47: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

47

Legacy Code Tool

Legacy Code Tool automates

creation of S-Function block

Call existing, external

functions as part of a Simulink

simulation

Code generation is allowed

with Legacy Code Tool blocks

Page 48: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

48

Integrating Third-Party Simulation Tools

Mature and extensive APIs for third-party tool integration

Tire behavior assessment

1D / 3D engine /exhaust simulation Virtual test driving

Vehicle dynamics modeling Thermo-fluid system simulation

Page 49: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

49

Tool Integration Made Easy

Numerous tool integration interfaces with Simulink are maintained by our

partners for you

Typical interface can be one or all of the following: – Export of linear matrices from partner tool to Simulink

– Export of non-linear partner tool model and solver to Simulink

– Co-simulation of partner and Simulink

Page 50: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

50

Partner Ecosystem

Numerous partners provide interface to Simulink

Page 51: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

51

Customer Success in Simulation Integration

Develop Integrated Vehicle Safety Applications

Siddharth D'Silva, Principal Engineer

Autoliv

Challenge

Design and validate safety-critical algorithms before implementation

Solution

Leverage Simulink as a platform by integrating third-party software

Page 52: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

52

Customer Success In Simulation Integration

Develop Integrated Vehicle Safety Applications

– Siddharth D'Silva, Principal Engineer, Autoliv

Results

Industry first integration of stability control inertial sensor into airbag control unit

Restraint control module software development time reduced by 30%

“Seamless integration with third party software solutions enables

rigorous development in a safe environment. For application

engineers or system engineers, it is very useful that you can

export these complex third-party tool functionalities in the form of

S-functions and run co-simulation.”

Siddharth D’Silva, Autoliv

Page 53: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

53

Simulink as Enterprise Simulation Platform

“There is no such tool, which gives the simulation

environment as well as the hardware verification

and validation. In a single environment, I am

getting these together. That is why I use

MATLAB and Simulink.”

Dr. Deepak Mishra,

Indian Space Research Organization

Page 54: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

54

Training ServicesExploit the full potential of MathWorks products

Flexible delivery options:

Public training available in several cities

Onsite training with standard or

customized courses

Web-based training with live, interactive

instructor-led courses

More than 48 course offerings:

Introductory and intermediate training on MATLAB, Simulink,

Stateflow, code generation, and Polyspace products

Specialized courses in control design, signal processing, parallel computing,

code generation, communications, financial analysis,

and other areas

www.mathworks.in/training

Page 55: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

55

Simulink as Your Enterprise Simulation Platform

Simulink for System and Algorithm Modeling

– This two-day course is for engineers who are new to system and algorithm modeling

and design validation in Simulink. The course demonstrates how to apply basic

modeling techniques and tools to develop Simulink block diagrams

Stateflow for Logic-Driven System Modeling

– This two-day course shows how to implement complex decision flows and finite-state

machines using Stateflow®. The course focuses on how to employ flow charts, state

machines, truth tables, and state transition tables in Simulink designs

Simulink Model Management and Architecture

– This two-day course describes techniques for applying Model-Based Design in a

common design workflow. It provides guidance on managing and sharing Simulink

models when working in a large-scale project environment

Page 56: Simulink as Your Enterprise Simulation Platform · Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses More than 48

56

Speaker Details

Email: [email protected]

LinkedIn: https://in.linkedin.com/in/deshprasan

Twitter: @InfPrasanna

Contact MathWorks India

Products/Training Enquiry Booth

Call: 080-6632-6000

Email: [email protected]

Your feedback is valued.

Please complete the feedback form provided to you.