SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
© 2013 IBM Corporation 
Giulio Santoli, Client Technical Professional 
IBM Software, Rational 
26/11/2013 
Rhapsody and MATLAB/Simulink
Integration Short description The Mathworks Products 
point 
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Rhapsody and MATLAB/Simulink Integration Points 
Generate and simulate a Simulink model from a - MATLAB/Simulink 
structured SysML block/UML class that consists of 
SysML/UML parts connected to parts implemented in 
Simulink 
Plant Model 
Integration 
Integrate Simulink models in Rhapsody Design Manager - MATLAB/Simulink 
for either model change configuration and traceability 
Design 
Manager 
- MATLAB, 
- MATLAB Symbolic Math 
Toolbox 
1. Solve SysML parametric diagrams using MATLAB 
Symbolic Math Toolbox 
2. Include MATLAB expressions for computations 
Parametric 
Constraint 
Evaluation 
Generate an S-Function block to be used in Simulink - MATLAB/Simulink 
models from a UML class / SysML block 
S-Function 
Generation 
- MATLAB/Simulink, 
- Real-time workshop with 
Embedded Coder 
1. Generate executable code from a Rhapsody model 
with parts implemented in Simulink 
1. The Simulink code may represent either: 
 Algorithms implemented in the system 
 The behavior of the environment (plant) 
2. Models can be animated if code is instrumented 
3. Rhapsody references code generated from Simulink by 
Embedded Coder 
Hosted 
Simulation
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Parametric Constraint Evaluator (PCE) 
Evaluation of parametric diagrams using a Computer Algebra System 
 PCE carry out analytics of system parameters as expressed in SysML parametric diagrams 
– A tool for engineers to perform trade studies 
 PCE Analytics includes 
– Calculating values of system properties given a set of constraints 
– Simulating (plotting) dependencies between a set of properties  in time 
– Optimizing values for system properties 
 PCE workflow also supports 
– Producing html reports 
– Exporting to a solver specific script 
– Importing and exporting from .csv files 
 PCE integrates with mathematical solvers 
– Currently supports MAXIMA and MATLAB Symbolic Math Toolbox 
 Free PCE Tutorial on developerWorks: 
https://www-304.ibm.com/support/docview.wss?uid=swg2701872
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Parametric Constraint Evaluator (PCE) 
Parametric Evaluation for Trade-Studies and System Optimization
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Parametric Constraint Evaluator (PCE) 
Plotting Non-Linear Differential Equations
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Hosted Simulation 
Import the Simulink model and its corresponding code in Rhapsody 
 The integration of Simulink blocks into Rational Rhapsody uses a black box approach 
 In Rhaposdy, a SimulinkBlock represents a Simulink model and its generated code 
 When code is generated for a Rational Rhapsody model containing Simulink blocks, the code 
generated by Simulink is wrapped into the Rational Rhapsody-generated code 
 Input/Output ports of the Simulink blocks are exposed as flowports 
 Simulink Real-Time Workshop Embedded Coder is required, and only Fixed Step Solver 
is supported
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Hosted Simulation 
Importing and Executing a Simulink Model in Rhapsody
S-Function Generation 
Using Rhapsody to create S-functions that can then be plugged into Simulink models. 
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
 MATLAB/Simulink S-Function is a user defined block implemented in C/C++ or other 
programming language 
 Rhapsody can generate C/C++ code corresponding to blocks stereotyped «S-FunctionBlock» 
along with a MEX option file to generate an S-Function simulink block 
 The generated code conforms to the S-Function standard and transforms the ports 
accordingly 
 The S-Function generation capability is used by the Plant Model integration too
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
S-Function Generation 
Include Simple or Complex Rhapsody-generated Code in Simulink Models
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Plant Model Integration 
Generate and Simulate a System with both Rhapsody and Simulink contribution 
 Bring the best of both Rhapsody and Simulink to run and simulate a Plant System 
 Build a Rhapsody model with «StructuredSimulinkBlock», containing parts typed by 
«SimulinkBlock» in their hierarchy and other SysML/UML parts 
 «StructuredSimulinkBlock» blocks are transformed to a Simulink model that consists of an S-Function 
block for the SysML/UML parts and usages of the Simulink models represented by 
the «SimulinkBlock» parts or other «StructuredSimulinkBlock» parts 
 The simulation runs on Simulink: no Step Solvers limiatations, nor Real-Time Workshop 
Embedded Coder is needed
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Plant Model Integration 
Generating Simulink Models from Rhapsody
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Plant Model Integration 
Enables the Simulation of Control Blocks within the overall UML/SysML Model 
1. Behaviors in Simulink 2. Architecture in Rhapsody 
(control and plant blocks) 
4. Simulation 3. Simulink model for co-simulation (both tools)
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Plant Model Integration 
Co-Simulation Example with Rhapsody and Simulink
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Integration Points Comparison Table 
Comparison among different Integration point from the Execution point of view 
Host Simulation 
S-Functions 
Generation 
Plant Model 
Integration 
Can Use Variable 
Step Solvers 
No Yes Yes 
Animation 1 Rhapsody Only Both Both 
Execution 
Performed In 2 Rhapsody Simulink Simulink 
Real-Time 
Workshop 
Embedded Coder 
License 
Required Not Required Not Required 
1 The capability to receive feedback from the model as it executes, i.e. diagram animation in Rhapsody, Scopes in Simulink 
2 The tool performing the execution also controls the timing
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Rhapsody Design Manager Integration 
Integrating MATLAB/Simulink models in the Collaboration Lifecycle 
 Publish and Collaborate on Simulink models using the Jazz platform 
 Breakthrough combination of domain-specific design solutions enabling: 
– Look at the system as a whole and not individual parts across the architecture, algorithms and 
environment 
– View Simulink design information with a web browser or Rational Rhapsody desk top client providing 
easy access for project stakeholders 
– Search and navigate across projects and lifecycle artifacts to help find key information from multiple 
sources quickly 
 Trace, via Open Services for Lifecycle Collaboration (OSLC), from designs to other 
lifecycle artifacts such as requirements, test cases, work items or other aspects of the 
engineering process 
 Create design reviews involving different model stakeholders 
 Manage changes in a Simulink model and perform lock and unlock operations directly in 
Simulink
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Rhapsody Design Manager Integration 
Navigating a Simulink Model in Design Manager
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Rhapsody Design Manager Integration 
Versioning a Simuilnk model in Design Manager from Simulink context-menu
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Summary 
Rhaposdy and MATLAB/Simulink, a perfect match 
 Several integration points are available 
between Rhapsody and MATLAB/Simulink 
 The integration allows design and simulation 
of cyber-physical systems 
 Bringing Simulink into Design Manager 
enables Traceability and Collaboration 
Helping customers improve the value and performance of their investments in software as 
strategic business assets
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
Additional Rerefences 
Articles and Views about Rhaposdy and Simulink Integrations 
 IBM Rational Rhapsody 8 Infocenter 
– http://pic.dhe.ibm.com/infocenter/rhaphlp/v8/index.jsp?topic=%2Fcom.ibm.rhp.integ.designtools.d 
oc%2Ftopics%2Ft_integratingrationmathworkssimulink.html 
 “Model Based Control System Design Using SysML, Simulink, and Computer 
Algebra System” by Takashi Sakairi, Eldad Palachi, et al. 
– http://www.hindawi.com/journals/jcse/2013/485380/ 
 Rhapsody Community @ developerWorks 
– https://www.ibm.com/developerworks/community/groups/service/html/communityview?community 
Uuid=969f1342-9137-406d-81f5-7f082a7c646d 
 Tutorial for Parametric Constraints Evaluator 
– http://www-01.ibm.com/support/docview.wss?uid=swg27018723
© 2013 IBM Corporation 
Software and Systems Engineering | Rational 
www.ibm.com/software/rational 
© Copyright IBM Corporation 2013. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, 
express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have 
the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM 
software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities 
referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature 
availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines 
Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.

Contenu connexe

Tendances

AutoSpice Agile Hand in Hand
AutoSpice Agile Hand in HandAutoSpice Agile Hand in Hand
AutoSpice Agile Hand in Hand
Ruchika Sachdeva
 

Tendances (20)

Introduction to Google Cloud Platform and APIs
Introduction to Google Cloud Platform and APIsIntroduction to Google Cloud Platform and APIs
Introduction to Google Cloud Platform and APIs
 
MLOps.pptx
MLOps.pptxMLOps.pptx
MLOps.pptx
 
Model based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loopModel based design-Hardware in loop-software in loop
Model based design-Hardware in loop-software in loop
 
Introduction to the OMG Systems Modeling Language (SysML), Version 2
Introduction to the OMG Systems Modeling Language (SysML), Version 2Introduction to the OMG Systems Modeling Language (SysML), Version 2
Introduction to the OMG Systems Modeling Language (SysML), Version 2
 
IBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt IntegrationIBM Rational Rhapsody and Qt Integration
IBM Rational Rhapsody and Qt Integration
 
2020 safecomp-sep18
2020 safecomp-sep182020 safecomp-sep18
2020 safecomp-sep18
 
Hosting Your Own OTA Update Service
Hosting Your Own OTA Update ServiceHosting Your Own OTA Update Service
Hosting Your Own OTA Update Service
 
What is MLOps
What is MLOpsWhat is MLOps
What is MLOps
 
SysML v2 and MBSE: The next ten years
SysML v2 and MBSE: The next ten yearsSysML v2 and MBSE: The next ten years
SysML v2 and MBSE: The next ten years
 
Api desgin
Api desginApi desgin
Api desgin
 
Simulation with Python and MATLAB® in Capella
Simulation with Python and MATLAB® in CapellaSimulation with Python and MATLAB® in Capella
Simulation with Python and MATLAB® in Capella
 
Apigee Edge: Intro to Microgateway
Apigee Edge: Intro to MicrogatewayApigee Edge: Intro to Microgateway
Apigee Edge: Intro to Microgateway
 
Scilab Modelica conference 20150921
Scilab Modelica conference 20150921Scilab Modelica conference 20150921
Scilab Modelica conference 20150921
 
Arm Cortex
Arm CortexArm Cortex
Arm Cortex
 
Requirements management and IBM Rational Jazz solutions
Requirements management and IBM Rational Jazz solutionsRequirements management and IBM Rational Jazz solutions
Requirements management and IBM Rational Jazz solutions
 
CDNを活用したWeb高速化術とマルチデバイス時代におけるWeb速度の重要性
CDNを活用したWeb高速化術とマルチデバイス時代におけるWeb速度の重要性 CDNを活用したWeb高速化術とマルチデバイス時代におけるWeb速度の重要性
CDNを活用したWeb高速化術とマルチデバイス時代におけるWeb速度の重要性
 
AutoSpice Agile Hand in Hand
AutoSpice Agile Hand in HandAutoSpice Agile Hand in Hand
AutoSpice Agile Hand in Hand
 
Automotive engineering design - Model Based Design
Automotive engineering design - Model Based DesignAutomotive engineering design - Model Based Design
Automotive engineering design - Model Based Design
 
ISO/PAS 21448 (SOTIF) in the Development of ADAS and Autonomous Vehicles
ISO/PAS 21448 (SOTIF) in the Development of ADAS and Autonomous VehiclesISO/PAS 21448 (SOTIF) in the Development of ADAS and Autonomous Vehicles
ISO/PAS 21448 (SOTIF) in the Development of ADAS and Autonomous Vehicles
 
Addressing Security in the Automotive Industry
Addressing Security in the Automotive IndustryAddressing Security in the Automotive Industry
Addressing Security in the Automotive Industry
 

En vedette

Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems Software
Bill Duncan
 

En vedette (7)

Codemotion Milano 2014 - IBM Keynote - Giulio Santoli
Codemotion Milano 2014 - IBM Keynote - Giulio SantoliCodemotion Milano 2014 - IBM Keynote - Giulio Santoli
Codemotion Milano 2014 - IBM Keynote - Giulio Santoli
 
Rhapsody Systems Software
Rhapsody Systems SoftwareRhapsody Systems Software
Rhapsody Systems Software
 
Using Modelica and FMI to evaluate requirements compliance early in system d...
Using Modelica and FMI to evaluate requirements compliance early in system d...Using Modelica and FMI to evaluate requirements compliance early in system d...
Using Modelica and FMI to evaluate requirements compliance early in system d...
 
LMS Imagine.Lab Amesim / STAR-CCM+ co-simulation - Thermal analysis of a comb...
LMS Imagine.Lab Amesim / STAR-CCM+ co-simulation - Thermal analysis of a comb...LMS Imagine.Lab Amesim / STAR-CCM+ co-simulation - Thermal analysis of a comb...
LMS Imagine.Lab Amesim / STAR-CCM+ co-simulation - Thermal analysis of a comb...
 
Prestashop and Azure
Prestashop and AzurePrestashop and Azure
Prestashop and Azure
 
10 good reasons to go for model-based systems engineering in your organization
10 good reasons to go for model-based systems engineering in your organization10 good reasons to go for model-based systems engineering in your organization
10 good reasons to go for model-based systems engineering in your organization
 
The Data Distribution Service Tutorial
The Data Distribution Service TutorialThe Data Distribution Service Tutorial
The Data Distribution Service Tutorial
 

Similaire à IBM Rhapsody and MATLAB/Simulink

COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZER
Ashish Tanwer
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
ghodgkinson
 
Mashup2010
Mashup2010Mashup2010
Mashup2010
steccami
 
Pmo slides jun2010
Pmo slides jun2010Pmo slides jun2010
Pmo slides jun2010
Steve Turner
 
201307 esb01 - iib v9 patterns
201307   esb01 - iib v9 patterns201307   esb01 - iib v9 patterns
201307 esb01 - iib v9 patterns
kondapallishashi
 

Similaire à IBM Rhapsody and MATLAB/Simulink (20)

Discover DoDAF problems early in the lifecycle with model execution
Discover DoDAF problems early in the lifecycle with model executionDiscover DoDAF problems early in the lifecycle with model execution
Discover DoDAF problems early in the lifecycle with model execution
 
Simulink based software
Simulink based software Simulink based software
Simulink based software
 
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
MoDELS'16 presentation: Integration of a Graph-Based Model Indexer in Commerc...
 
MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)MATLAB and Simulink for Communications System Design (Design Conference 2013)
MATLAB and Simulink for Communications System Design (Design Conference 2013)
 
What is the Use of the Simulink Function in Matlab Assignment.pptx
What is the Use of the Simulink Function in Matlab Assignment.pptxWhat is the Use of the Simulink Function in Matlab Assignment.pptx
What is the Use of the Simulink Function in Matlab Assignment.pptx
 
COMPRO- WEB ALBUM & MOTION ANALYZER
COMPRO- WEB ALBUM  & MOTION ANALYZERCOMPRO- WEB ALBUM  & MOTION ANALYZER
COMPRO- WEB ALBUM & MOTION ANALYZER
 
Making the Dinosaur Dance - RDz, RTC and UrbanCode Lunch and Learn slides
Making the Dinosaur Dance - RDz, RTC and UrbanCode Lunch and Learn slidesMaking the Dinosaur Dance - RDz, RTC and UrbanCode Lunch and Learn slides
Making the Dinosaur Dance - RDz, RTC and UrbanCode Lunch and Learn slides
 
Reuse Strategy for MBSE Data - GPDIS 2022
Reuse Strategy for MBSE Data - GPDIS 2022Reuse Strategy for MBSE Data - GPDIS 2022
Reuse Strategy for MBSE Data - GPDIS 2022
 
IBM SmartCloud Orchestration
IBM SmartCloud OrchestrationIBM SmartCloud Orchestration
IBM SmartCloud Orchestration
 
Practical Experiences Migrating Unified Modeling Language Models to IBM® Rati...
PracticalExperiences Migrating Unified Modeling Language Models to IBM® Rati...PracticalExperiences Migrating Unified Modeling Language Models to IBM® Rati...
Practical Experiences Migrating Unified Modeling Language Models to IBM® Rati...
 
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...Software Factories in the Real World: How an IBM WebSphere Integration Factor...
Software Factories in the Real World: How an IBM WebSphere Integration Factor...
 
Mashup2010
Mashup2010Mashup2010
Mashup2010
 
A Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere ToolsA Software Factory Integrating Rational & WebSphere Tools
A Software Factory Integrating Rational & WebSphere Tools
 
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHMA SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
A SYSTEMC/SIMULINK CO-SIMULATION ENVIRONMENT OF THE JPEG ALGORITHM
 
Pmo slides jun2010
Pmo slides jun2010Pmo slides jun2010
Pmo slides jun2010
 
Robot Simulation
Robot SimulationRobot Simulation
Robot Simulation
 
IBM DevOps Enabling continuous integration & delivery
IBM DevOps Enabling continuous integration & deliveryIBM DevOps Enabling continuous integration & delivery
IBM DevOps Enabling continuous integration & delivery
 
Working with Simulink
Working with SimulinkWorking with Simulink
Working with Simulink
 
201307 esb01 - iib v9 patterns
201307   esb01 - iib v9 patterns201307   esb01 - iib v9 patterns
201307 esb01 - iib v9 patterns
 
How to estimate the cost of a Maximo migration project with a high level of c...
How to estimate the cost of a Maximo migration project with a high level of c...How to estimate the cost of a Maximo migration project with a high level of c...
How to estimate the cost of a Maximo migration project with a high level of c...
 

Plus de gjuljo

InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT ApplicationsInterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
gjuljo
 

Plus de gjuljo (20)

Azure deployments and ARM templates
Azure deployments and ARM templatesAzure deployments and ARM templates
Azure deployments and ARM templates
 
Azure Monitoring Overview
Azure Monitoring OverviewAzure Monitoring Overview
Azure Monitoring Overview
 
Going serverless with azure functions
Going serverless with azure functionsGoing serverless with azure functions
Going serverless with azure functions
 
Microsoft Azure Technical Overview
Microsoft Azure Technical OverviewMicrosoft Azure Technical Overview
Microsoft Azure Technical Overview
 
Chatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot FrameworkChatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot Framework
 
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
 
DevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft AzureDevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft Azure
 
Microservices Architecture: Labs
Microservices Architecture: LabsMicroservices Architecture: Labs
Microservices Architecture: Labs
 
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
Microservices Architectures: Become a Unicorn like Netflix, Twitter and HailoMicroservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
 
IBM Business Connect 2015 - Bluemix Overview
IBM Business Connect 2015 - Bluemix OverviewIBM Business Connect 2015 - Bluemix Overview
IBM Business Connect 2015 - Bluemix Overview
 
FORUM PA 2015 - Microservices with IBM Bluemix
FORUM PA 2015 - Microservices with IBM BluemixFORUM PA 2015 - Microservices with IBM Bluemix
FORUM PA 2015 - Microservices with IBM Bluemix
 
IBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for HackathonsIBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for Hackathons
 
IBM Bluemix Hackathon Accelerator
IBM Bluemix Hackathon AcceleratorIBM Bluemix Hackathon Accelerator
IBM Bluemix Hackathon Accelerator
 
IBM Bluemix and the Internet of Things - Workshop
IBM Bluemix and the Internet of Things - WorkshopIBM Bluemix and the Internet of Things - Workshop
IBM Bluemix and the Internet of Things - Workshop
 
Codemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and DockerCodemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and Docker
 
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab TutorialCodemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab Tutorial
 
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps ServicesCodemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
 
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
Hybrid Cloud with IBM Bluemix, Docker and Open StackHybrid Cloud with IBM Bluemix, Docker and Open Stack
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
 
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT ApplicationsInterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
 
IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015
 

Dernier

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
masabamasaba
 

Dernier (20)

%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With SimplicityWSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
WSO2Con2024 - Enabling Transactional System's Exponential Growth With Simplicity
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 

IBM Rhapsody and MATLAB/Simulink

  • 1. © 2013 IBM Corporation Giulio Santoli, Client Technical Professional IBM Software, Rational 26/11/2013 Rhapsody and MATLAB/Simulink
  • 2. Integration Short description The Mathworks Products point © 2013 IBM Corporation Software and Systems Engineering | Rational Rhapsody and MATLAB/Simulink Integration Points Generate and simulate a Simulink model from a - MATLAB/Simulink structured SysML block/UML class that consists of SysML/UML parts connected to parts implemented in Simulink Plant Model Integration Integrate Simulink models in Rhapsody Design Manager - MATLAB/Simulink for either model change configuration and traceability Design Manager - MATLAB, - MATLAB Symbolic Math Toolbox 1. Solve SysML parametric diagrams using MATLAB Symbolic Math Toolbox 2. Include MATLAB expressions for computations Parametric Constraint Evaluation Generate an S-Function block to be used in Simulink - MATLAB/Simulink models from a UML class / SysML block S-Function Generation - MATLAB/Simulink, - Real-time workshop with Embedded Coder 1. Generate executable code from a Rhapsody model with parts implemented in Simulink 1. The Simulink code may represent either: Algorithms implemented in the system The behavior of the environment (plant) 2. Models can be animated if code is instrumented 3. Rhapsody references code generated from Simulink by Embedded Coder Hosted Simulation
  • 3. © 2013 IBM Corporation Software and Systems Engineering | Rational Parametric Constraint Evaluator (PCE) Evaluation of parametric diagrams using a Computer Algebra System PCE carry out analytics of system parameters as expressed in SysML parametric diagrams – A tool for engineers to perform trade studies PCE Analytics includes – Calculating values of system properties given a set of constraints – Simulating (plotting) dependencies between a set of properties in time – Optimizing values for system properties PCE workflow also supports – Producing html reports – Exporting to a solver specific script – Importing and exporting from .csv files PCE integrates with mathematical solvers – Currently supports MAXIMA and MATLAB Symbolic Math Toolbox Free PCE Tutorial on developerWorks: https://www-304.ibm.com/support/docview.wss?uid=swg2701872
  • 4. © 2013 IBM Corporation Software and Systems Engineering | Rational Parametric Constraint Evaluator (PCE) Parametric Evaluation for Trade-Studies and System Optimization
  • 5. © 2013 IBM Corporation Software and Systems Engineering | Rational Parametric Constraint Evaluator (PCE) Plotting Non-Linear Differential Equations
  • 6. © 2013 IBM Corporation Software and Systems Engineering | Rational Hosted Simulation Import the Simulink model and its corresponding code in Rhapsody The integration of Simulink blocks into Rational Rhapsody uses a black box approach In Rhaposdy, a SimulinkBlock represents a Simulink model and its generated code When code is generated for a Rational Rhapsody model containing Simulink blocks, the code generated by Simulink is wrapped into the Rational Rhapsody-generated code Input/Output ports of the Simulink blocks are exposed as flowports Simulink Real-Time Workshop Embedded Coder is required, and only Fixed Step Solver is supported
  • 7. © 2013 IBM Corporation Software and Systems Engineering | Rational Hosted Simulation Importing and Executing a Simulink Model in Rhapsody
  • 8. S-Function Generation Using Rhapsody to create S-functions that can then be plugged into Simulink models. © 2013 IBM Corporation Software and Systems Engineering | Rational MATLAB/Simulink S-Function is a user defined block implemented in C/C++ or other programming language Rhapsody can generate C/C++ code corresponding to blocks stereotyped «S-FunctionBlock» along with a MEX option file to generate an S-Function simulink block The generated code conforms to the S-Function standard and transforms the ports accordingly The S-Function generation capability is used by the Plant Model integration too
  • 9. © 2013 IBM Corporation Software and Systems Engineering | Rational S-Function Generation Include Simple or Complex Rhapsody-generated Code in Simulink Models
  • 10. © 2013 IBM Corporation Software and Systems Engineering | Rational Plant Model Integration Generate and Simulate a System with both Rhapsody and Simulink contribution Bring the best of both Rhapsody and Simulink to run and simulate a Plant System Build a Rhapsody model with «StructuredSimulinkBlock», containing parts typed by «SimulinkBlock» in their hierarchy and other SysML/UML parts «StructuredSimulinkBlock» blocks are transformed to a Simulink model that consists of an S-Function block for the SysML/UML parts and usages of the Simulink models represented by the «SimulinkBlock» parts or other «StructuredSimulinkBlock» parts The simulation runs on Simulink: no Step Solvers limiatations, nor Real-Time Workshop Embedded Coder is needed
  • 11. © 2013 IBM Corporation Software and Systems Engineering | Rational Plant Model Integration Generating Simulink Models from Rhapsody
  • 12. © 2013 IBM Corporation Software and Systems Engineering | Rational Plant Model Integration Enables the Simulation of Control Blocks within the overall UML/SysML Model 1. Behaviors in Simulink 2. Architecture in Rhapsody (control and plant blocks) 4. Simulation 3. Simulink model for co-simulation (both tools)
  • 13. © 2013 IBM Corporation Software and Systems Engineering | Rational Plant Model Integration Co-Simulation Example with Rhapsody and Simulink
  • 14. © 2013 IBM Corporation Software and Systems Engineering | Rational Integration Points Comparison Table Comparison among different Integration point from the Execution point of view Host Simulation S-Functions Generation Plant Model Integration Can Use Variable Step Solvers No Yes Yes Animation 1 Rhapsody Only Both Both Execution Performed In 2 Rhapsody Simulink Simulink Real-Time Workshop Embedded Coder License Required Not Required Not Required 1 The capability to receive feedback from the model as it executes, i.e. diagram animation in Rhapsody, Scopes in Simulink 2 The tool performing the execution also controls the timing
  • 15. © 2013 IBM Corporation Software and Systems Engineering | Rational Rhapsody Design Manager Integration Integrating MATLAB/Simulink models in the Collaboration Lifecycle Publish and Collaborate on Simulink models using the Jazz platform Breakthrough combination of domain-specific design solutions enabling: – Look at the system as a whole and not individual parts across the architecture, algorithms and environment – View Simulink design information with a web browser or Rational Rhapsody desk top client providing easy access for project stakeholders – Search and navigate across projects and lifecycle artifacts to help find key information from multiple sources quickly Trace, via Open Services for Lifecycle Collaboration (OSLC), from designs to other lifecycle artifacts such as requirements, test cases, work items or other aspects of the engineering process Create design reviews involving different model stakeholders Manage changes in a Simulink model and perform lock and unlock operations directly in Simulink
  • 16. © 2013 IBM Corporation Software and Systems Engineering | Rational Rhapsody Design Manager Integration Navigating a Simulink Model in Design Manager
  • 17. © 2013 IBM Corporation Software and Systems Engineering | Rational Rhapsody Design Manager Integration Versioning a Simuilnk model in Design Manager from Simulink context-menu
  • 18. © 2013 IBM Corporation Software and Systems Engineering | Rational Summary Rhaposdy and MATLAB/Simulink, a perfect match Several integration points are available between Rhapsody and MATLAB/Simulink The integration allows design and simulation of cyber-physical systems Bringing Simulink into Design Manager enables Traceability and Collaboration Helping customers improve the value and performance of their investments in software as strategic business assets
  • 19. © 2013 IBM Corporation Software and Systems Engineering | Rational Additional Rerefences Articles and Views about Rhaposdy and Simulink Integrations IBM Rational Rhapsody 8 Infocenter – http://pic.dhe.ibm.com/infocenter/rhaphlp/v8/index.jsp?topic=%2Fcom.ibm.rhp.integ.designtools.d oc%2Ftopics%2Ft_integratingrationmathworkssimulink.html “Model Based Control System Design Using SysML, Simulink, and Computer Algebra System” by Takashi Sakairi, Eldad Palachi, et al. – http://www.hindawi.com/journals/jcse/2013/485380/ Rhapsody Community @ developerWorks – https://www.ibm.com/developerworks/community/groups/service/html/communityview?community Uuid=969f1342-9137-406d-81f5-7f082a7c646d Tutorial for Parametric Constraints Evaluator – http://www-01.ibm.com/support/docview.wss?uid=swg27018723
  • 20. © 2013 IBM Corporation Software and Systems Engineering | Rational www.ibm.com/software/rational © Copyright IBM Corporation 2013. All rights reserved. The information contained in these materials is provided for informational purposes only, and is provided AS IS without warranty of any kind, express or implied. IBM shall not be responsible for any damages arising out of the use of, or otherwise related to, these materials. Nothing contained in these materials is intended to, nor shall have the effect of, creating any warranties or representations from IBM or its suppliers or licensors, or altering the terms and conditions of the applicable license agreement governing the use of IBM software. References in these materials to IBM products, programs, or services do not imply that they will be available in all countries in which IBM operates. Product release dates and/or capabilities referenced in these materials may change at any time at IBM’s sole discretion based on market opportunities or other factors, and are not intended to be a commitment to future product or feature availability in any way. IBM, the IBM logo, Rational, the Rational logo, Telelogic, the Telelogic logo, and other IBM products and services are trademarks of the International Business Machines Corporation, in the United States, other countries or both. Other company, product, or service names may be trademarks or service marks of others.