SlideShare a Scribd company logo
Modular Trade Studies with SysML Simulation
David Hetherington
System Strategy, Inc
2021 INCOSE Western States Regional Conference – San Diego, CA
Copyright © 2021 by David Hetherington Permission granted to INCOSE to publish and use
Agenda - Modular Trade Studies with SysML Simulation
 The Trade Study Problem
 Implementation in Cameo Systems Modeler
 Implementation in IBM Rhapsody
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 2
The Trade Study Problem
Neither the SysML Standard nor the main textbooks make it obvious how
to actually execute a trade study
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 3
Drivetrain – A Typical Trade Study Problem
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 4
Vehicle
Gasoline
Drivetrain
Diesel
Drivetrain
Battery Electric
Drivetrain
Fuel Cell
Drivetrain
System of Interest Candidates for Drivetrain Subsystem
Assessing the Utility of a Drive Train
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 5
Drivetrain
Mass?
Volume?
Torque?
Fuel
Range?
Attribute Points Polarity Measure
Mass 20 Less is
better
% of 1000kg
Volume 20 Less is
better
% of 2 m3
Torque 30 More is
better
% of 1000 Nm
Fuel
Range
30 More is
better
% of 1000 km
First Try – Taking the Textbooks at Face Value
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 6
This would be a mess. While this ultra-simple example might not look too bad,
cross-connecting everything all in one model would get very tangled.
Instances and Generalization are the Key
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 7
1. Simulation (both Cameo and Rhapsody) runs off of instances, not off of block
definitions. When you tell either tool to simulate a block, the tool actually creates
an instance underneath the covers and runs that instance to execute the
simulation.
2. Composed instances can be assembled manually in both tools.
3. Generalization 101 – A specialized class can be used anywhere its general
parent can be used.
Strategy – the System of Interest
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 8
1. The vehicle has only one (generic) drivetrain
part.
2. The generic drivetrain contains value properties
for the key attributes.
3. A parametric simulation at the vehicle level
evaluates the utility of the drivetrain from its value
properties.
Strategy – Subsystems Being Studied
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 9
1. The four different drivetrain blocks specialize
the generic drivetrain block.
2. Each specialized drivetrain block includes the
four inherited value properties.
3. Each specialized drivetrain block can add as
much unique modeling complexity as needed to
evaluate and deliver values in the four value
properties.
4. Instances for each specialized drivetrain can be
manually inserted into the part slot for the generic
drivetrain in an instance of the vehicle.
Implementation in Cameo Systems Modeler
Cameo Step-by-Step
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 10
Set Up the Trade Study
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 11
In order to set up a parametric
diagram for simulation, it is
helpful to have a single block
that owns all of the elements.
Create the Parametric Diagram
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 12
In order to use simulation, the
names of the constraint
parameters need to be “Script
Friendly”
Connect everything with binding
connectors.
Set the Constraint Equation
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 13
Setting the language to “Built-In
Math” is critical
Implicitly declare local variables
(“mass_score”) to make the
equation more modular.
Create Vehicle Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 14
Create vehicle instances, one for
each sort of drive train. Notice
that at this point, the vehicle
instances do not (yet) included
drivetrain instances.
Create Drivetrain Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 15
Create one instance for each
type of drivetrain.
In order to keep the length of this presentation manageable
and focus on the core technique, we will just directly set the
“answer” for each drivetrain instance. HOWEVER, it is
definitely possible to create a unique simulation approach for
each drivetrain type to more accurately calculate the value
properties for that specific type of drivetrain.
Install the Drivetrain Instances in the Vehicle Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 16
Create a BDD with the four
vehicle instances.
The drivetrain instances can be “installed” by simply
dragging them to their respective vehicle instances.
Create the Trade Study Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 17
Create four trade study instances, each one with an analysis
constraint block and with a results block, but without a vehicle (yet).
Install the Vehicles in the Trade Study Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 18
Once again, install each vehicle
instance into its corresponding
trade study instance.
Create an Instance Table for the Trade Study Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 19
Now you are ready to create an instance table for the trade study instances.
Select the columns you want to display. Since everything is owned ultimately
by the trade study block, you can display any of the value properties in any of
the nested part blocks. Drag the columns around as needed.
Notice that the score is still “0” for each instance….
Run the Trade Study
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 20
Select all of the rows. Pull down the evaluation menu. Select “Evaluate
Selected Rows”.
Done
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 21
The scores for the different trade study instances have been calculated.
At this point there are several options:
1. The numerical results can be pushed back into the model instances. (This is an explicit step
if you want to do this. The instances are not updated by default.)
2. The results can be exported to a spreadsheet using the “Export” tool.
3. The results can be copied and pasted into any other software application (including
Microsoft Excel) that can accept the data.
Implementation in IBM Rhaposdy
Rhaposdy Step-by-Step
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 22
Set Up the Trade Study
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 23
We can set up in Rhapsody the
same way we set up in Cameo.
Rhapsody seems to be a bit
more flexible than Cameo about
how parametric diagrams are
constructed, but this structure
makes sense and helps us keep
our efforts straight.
Create the Parametric Diagram
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 24
Again we will need
some intermediate
variables for the
complicated calculation.
In Rhapsody these must
be defined as extra
constraint parameters
and must be shown in
the diagram.
Connect as before.
Set the Constraint Equation
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 25
Rhapsody constraints apparently
can’t span lines.
Instead, five separate constraints
are needed, with one line of
equation for each constraint.
The equation language is for the
open source MAXIMA solver, but
happens to be identical to the
built-in math used in Cameo.
Install Maxima
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 26
Get Maxima from:
https://maxima.sourceforge.io/
It is free and very easy to install.
Play with Maxima to Make Sure it is Working
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 27
Once installed, Maxima will run
from your Windows start menu.
It presents a command line
interpreter similar to MATRLAB.
Doing simple things can be a bit
obtuse, but it can do incredibly
powerful calculations.
Check online for tutorials.
Add PCE Profile to Rhapsody
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 28
Make Sure PCE is Configured
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 29
Create Vehicle Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 30
We can create vehicle instances
in Rhapsody in the same
manager as in Cameo and
manually configure the drivetrain
in each one….
However, they end up being sort
of irrelevant because the
Rhapsody Parametric Constraint
Evaluator does not work fully
with nested instances.
Create Drivetrain Instances
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 31
Create one instance for each
type of drivetrain.
Again, we set the values directly for each instance.
Add Constraint Views
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 32
Next we create one
ConstraintView element for each
trade study instance.
These can be created by right-
clicking on the package and
selecting “Add New”
Right-click on each
ConstraintView and use “Add
New” to add a reference to the
parametric diagram and another
reference to the drivetrain
instance.
Open the Constraint View
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 33
Values are picked up from the
instance.
Clear the result, click “Evaluate”
PCE will calculate the result.
Results can be written back into
the model or exported to a CSV
file.
Questions?
 If you would like a copy of the presentation or of the models, send me an e-
mail:
– David_Hetherington@ieee.org
– dhetherington@systemxi.com
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 34
2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington
35

More Related Content

PDF
Requirements Management for Safety-Critical Products
David Hetherington
 
PPTX
Strategies and Tools for Model Reuse with Capella
Obeo
 
PPTX
Plm overview
Srinivasan Mudaliar
 
PDF
[Capella Day 2019] Model execution and system simulation in Capella
Obeo
 
PPTX
STPA Analysis of Automotive Safety Using Arcadia and Capella
David Hetherington
 
PDF
MBSE and Model-Based Testing with Capella
Obeo
 
PDF
[ Capella Day 2019 ] Capella integration with Teamcenter
Obeo
 
PDF
Unleash the power of functional chains with Capella 1.3.1
Obeo
 
Requirements Management for Safety-Critical Products
David Hetherington
 
Strategies and Tools for Model Reuse with Capella
Obeo
 
Plm overview
Srinivasan Mudaliar
 
[Capella Day 2019] Model execution and system simulation in Capella
Obeo
 
STPA Analysis of Automotive Safety Using Arcadia and Capella
David Hetherington
 
MBSE and Model-Based Testing with Capella
Obeo
 
[ Capella Day 2019 ] Capella integration with Teamcenter
Obeo
 
Unleash the power of functional chains with Capella 1.3.1
Obeo
 

What's hot (20)

PPTX
Introduction to scaled agile framework
Srinath Ramakrishnan
 
PDF
MBSE and the Business of Engineering
Aras
 
PDF
Second Generation of TSMC’s Integrated Fan-Out (inFO) Packaging for the Apple...
system_plus
 
PDF
Simulation with Python and MATLAB® in Capella
Obeo
 
PDF
Transfer Learning: An overview
jins0618
 
PPT
PLM Introduction
Jayakumar Vadivelu
 
PDF
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
Edge AI and Vision Alliance
 
PDF
Model-Based Systems Engineering Demystified
Elizabeth Steiner
 
PPTX
Cloud robotics
Siddharth Awasthi
 
PDF
Introduction to Systems Engineering
Bernardo A. Delicado
 
PDF
RPA (Robotic Process Automation), POA (Process Oriented Architecture) And BPM...
Alan McSweeney
 
PPTX
Kane/DeAlbert dynamics for multibody system
Tadele Belay
 
PDF
PTC Creo customization using VB API - Lecture 1 - Overview
Sandip Jadhav
 
PPTX
Introduction to Robotics
Manipal University Jaipur
 
PPTX
Model based systems engineering
Capgemini
 
PDF
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Obeo
 
PDF
Concept Drift: Monitoring Model Quality In Streaming ML Applications
Lightbend
 
PDF
The road to plm
Robert Kennedy
 
PDF
InP Wafer and Epiwafer Market: Photonics and RF 2019 report by Yole Développe...
Yole Developpement
 
PPTX
Scaled agile framework (SAFe) - adopting agile at enterprise scale
Vadim Mikhnevych
 
Introduction to scaled agile framework
Srinath Ramakrishnan
 
MBSE and the Business of Engineering
Aras
 
Second Generation of TSMC’s Integrated Fan-Out (inFO) Packaging for the Apple...
system_plus
 
Simulation with Python and MATLAB® in Capella
Obeo
 
Transfer Learning: An overview
jins0618
 
PLM Introduction
Jayakumar Vadivelu
 
“Powering the Connected Intelligent Edge and the Future of On-Device AI,” a P...
Edge AI and Vision Alliance
 
Model-Based Systems Engineering Demystified
Elizabeth Steiner
 
Cloud robotics
Siddharth Awasthi
 
Introduction to Systems Engineering
Bernardo A. Delicado
 
RPA (Robotic Process Automation), POA (Process Oriented Architecture) And BPM...
Alan McSweeney
 
Kane/DeAlbert dynamics for multibody system
Tadele Belay
 
PTC Creo customization using VB API - Lecture 1 - Overview
Sandip Jadhav
 
Introduction to Robotics
Manipal University Jaipur
 
Model based systems engineering
Capgemini
 
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Obeo
 
Concept Drift: Monitoring Model Quality In Streaming ML Applications
Lightbend
 
The road to plm
Robert Kennedy
 
InP Wafer and Epiwafer Market: Photonics and RF 2019 report by Yole Développe...
Yole Developpement
 
Scaled agile framework (SAFe) - adopting agile at enterprise scale
Vadim Mikhnevych
 
Ad

Similar to Modular Trade Studies with SysML Simulation.pptx (20)

PDF
Can Machine Learning Models be Trusted? Explaining Decisions of ML Models
Darek Smyk
 
PPTX
Leveraging Alf for SysML, Part 2: More Effective Trade Study Modeling
Ed Seidewitz
 
PDF
Friends let real friends use MySQL 8.0
SaverioM
 
PDF
DSDT meetup July 2021
DSDT_MTL
 
PDF
Iswim for testing
ClarkTony
 
PDF
Machine Learning for Product Managers
Thoughtworks
 
PPTX
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
Geon-Hong Kim
 
PDF
Machine Learning on IBM Watson Studio
Upkar Lidder
 
PDF
How Accurate is Future Facilities 6Sigma DCX
Robert Schmidt
 
PDF
IBM Rhapsody and MATLAB/Simulink
gjuljo
 
PDF
Machine Learning for AdTech in Action with Cyrille Dubarry and Han Ju
Databricks
 
PPTX
RapidMiner: Performance Validation And Visualization
Rapidmining Content
 
PPTX
RapidMiner: Performance Validation And Visualization
DataminingTools Inc
 
PDF
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
Senturus
 
PPTX
Discover DoDAF problems early in the lifecycle with model execution
Graham Bleakley
 
PDF
Closing the Gap on Digital Manufacturing
ARC Advisory Group
 
DOCX
Instructions on how to configure NI SoftMotion with SOLIDWORKS
Waleed El-Badry
 
PPTX
It‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
Joachim Schlosser
 
PDF
solve 6 , quiz 2link of book httpwww.irccyn.ec-nantes.fr~mart.pdf
arihantcomputersddn
 
PDF
3D_Evolution - Powerful multi-CAD converter
CORETECHNOLOGIE
 
Can Machine Learning Models be Trusted? Explaining Decisions of ML Models
Darek Smyk
 
Leveraging Alf for SysML, Part 2: More Effective Trade Study Modeling
Ed Seidewitz
 
Friends let real friends use MySQL 8.0
SaverioM
 
DSDT meetup July 2021
DSDT_MTL
 
Iswim for testing
ClarkTony
 
Machine Learning for Product Managers
Thoughtworks
 
[OFW 14] Prediction of Flow Characteristics by Applying Machine Learning of S...
Geon-Hong Kim
 
Machine Learning on IBM Watson Studio
Upkar Lidder
 
How Accurate is Future Facilities 6Sigma DCX
Robert Schmidt
 
IBM Rhapsody and MATLAB/Simulink
gjuljo
 
Machine Learning for AdTech in Action with Cyrille Dubarry and Han Ju
Databricks
 
RapidMiner: Performance Validation And Visualization
Rapidmining Content
 
RapidMiner: Performance Validation And Visualization
DataminingTools Inc
 
IBM Cognos 10 Framework Manager Metadata Modeling: Tips and Tricks
Senturus
 
Discover DoDAF problems early in the lifecycle with model execution
Graham Bleakley
 
Closing the Gap on Digital Manufacturing
ARC Advisory Group
 
Instructions on how to configure NI SoftMotion with SOLIDWORKS
Waleed El-Badry
 
It‘s Math That Drives Things – Simulink as Simulation and Modeling Environment
Joachim Schlosser
 
solve 6 , quiz 2link of book httpwww.irccyn.ec-nantes.fr~mart.pdf
arihantcomputersddn
 
3D_Evolution - Powerful multi-CAD converter
CORETECHNOLOGIE
 
Ad

Recently uploaded (20)

PDF
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
PPTX
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
PPTX
Color Model in Textile ( RGB, CMYK).pptx
auladhossain191
 
PDF
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
PDF
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
PDF
Zero carbon Building Design Guidelines V4
BassemOsman1
 
PPT
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
PPTX
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
PDF
Introduction to Data Science: data science process
ShivarkarSandip
 
PPTX
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
PDF
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
PPTX
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
PPTX
Information Retrieval and Extraction - Module 7
premSankar19
 
PPTX
Inventory management chapter in automation and robotics.
atisht0104
 
PDF
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
PPTX
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
PPTX
Introduction of deep learning in cse.pptx
fizarcse
 
PDF
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
DOCX
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
PPT
SCOPE_~1- technology of green house and poyhouse
bala464780
 
Unit I Part II.pdf : Security Fundamentals
Dr. Madhuri Jawale
 
Module2 Data Base Design- ER and NF.pptx
gomathisankariv2
 
Color Model in Textile ( RGB, CMYK).pptx
auladhossain191
 
67243-Cooling and Heating & Calculation.pdf
DHAKA POLYTECHNIC
 
Chad Ayach - A Versatile Aerospace Professional
Chad Ayach
 
Zero carbon Building Design Guidelines V4
BassemOsman1
 
1. SYSTEMS, ROLES, AND DEVELOPMENT METHODOLOGIES.ppt
zilow058
 
22PCOAM21 Session 1 Data Management.pptx
Guru Nanak Technical Institutions
 
Introduction to Data Science: data science process
ShivarkarSandip
 
database slide on modern techniques for optimizing database queries.pptx
aky52024
 
Advanced LangChain & RAG: Building a Financial AI Assistant with Real-Time Data
Soufiane Sejjari
 
Civil Engineering Practices_BY Sh.JP Mishra 23.09.pptx
bineetmishra1990
 
Information Retrieval and Extraction - Module 7
premSankar19
 
Inventory management chapter in automation and robotics.
atisht0104
 
20ME702-Mechatronics-UNIT-1,UNIT-2,UNIT-3,UNIT-4,UNIT-5, 2025-2026
Mohanumar S
 
Victory Precisions_Supplier Profile.pptx
victoryprecisions199
 
Introduction of deep learning in cse.pptx
fizarcse
 
Biodegradable Plastics: Innovations and Market Potential (www.kiu.ac.ug)
publication11
 
SAR - EEEfdfdsdasdsdasdasdasdasdasdasdasda.docx
Kanimozhi676285
 
SCOPE_~1- technology of green house and poyhouse
bala464780
 

Modular Trade Studies with SysML Simulation.pptx

  • 1. Modular Trade Studies with SysML Simulation David Hetherington System Strategy, Inc 2021 INCOSE Western States Regional Conference – San Diego, CA Copyright © 2021 by David Hetherington Permission granted to INCOSE to publish and use
  • 2. Agenda - Modular Trade Studies with SysML Simulation  The Trade Study Problem  Implementation in Cameo Systems Modeler  Implementation in IBM Rhapsody 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 2
  • 3. The Trade Study Problem Neither the SysML Standard nor the main textbooks make it obvious how to actually execute a trade study 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 3
  • 4. Drivetrain – A Typical Trade Study Problem 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 4 Vehicle Gasoline Drivetrain Diesel Drivetrain Battery Electric Drivetrain Fuel Cell Drivetrain System of Interest Candidates for Drivetrain Subsystem
  • 5. Assessing the Utility of a Drive Train 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 5 Drivetrain Mass? Volume? Torque? Fuel Range? Attribute Points Polarity Measure Mass 20 Less is better % of 1000kg Volume 20 Less is better % of 2 m3 Torque 30 More is better % of 1000 Nm Fuel Range 30 More is better % of 1000 km
  • 6. First Try – Taking the Textbooks at Face Value 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 6 This would be a mess. While this ultra-simple example might not look too bad, cross-connecting everything all in one model would get very tangled.
  • 7. Instances and Generalization are the Key 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 7 1. Simulation (both Cameo and Rhapsody) runs off of instances, not off of block definitions. When you tell either tool to simulate a block, the tool actually creates an instance underneath the covers and runs that instance to execute the simulation. 2. Composed instances can be assembled manually in both tools. 3. Generalization 101 – A specialized class can be used anywhere its general parent can be used.
  • 8. Strategy – the System of Interest 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 8 1. The vehicle has only one (generic) drivetrain part. 2. The generic drivetrain contains value properties for the key attributes. 3. A parametric simulation at the vehicle level evaluates the utility of the drivetrain from its value properties.
  • 9. Strategy – Subsystems Being Studied 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 9 1. The four different drivetrain blocks specialize the generic drivetrain block. 2. Each specialized drivetrain block includes the four inherited value properties. 3. Each specialized drivetrain block can add as much unique modeling complexity as needed to evaluate and deliver values in the four value properties. 4. Instances for each specialized drivetrain can be manually inserted into the part slot for the generic drivetrain in an instance of the vehicle.
  • 10. Implementation in Cameo Systems Modeler Cameo Step-by-Step 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 10
  • 11. Set Up the Trade Study 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 11 In order to set up a parametric diagram for simulation, it is helpful to have a single block that owns all of the elements.
  • 12. Create the Parametric Diagram 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 12 In order to use simulation, the names of the constraint parameters need to be “Script Friendly” Connect everything with binding connectors.
  • 13. Set the Constraint Equation 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 13 Setting the language to “Built-In Math” is critical Implicitly declare local variables (“mass_score”) to make the equation more modular.
  • 14. Create Vehicle Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 14 Create vehicle instances, one for each sort of drive train. Notice that at this point, the vehicle instances do not (yet) included drivetrain instances.
  • 15. Create Drivetrain Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 15 Create one instance for each type of drivetrain. In order to keep the length of this presentation manageable and focus on the core technique, we will just directly set the “answer” for each drivetrain instance. HOWEVER, it is definitely possible to create a unique simulation approach for each drivetrain type to more accurately calculate the value properties for that specific type of drivetrain.
  • 16. Install the Drivetrain Instances in the Vehicle Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 16 Create a BDD with the four vehicle instances. The drivetrain instances can be “installed” by simply dragging them to their respective vehicle instances.
  • 17. Create the Trade Study Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 17 Create four trade study instances, each one with an analysis constraint block and with a results block, but without a vehicle (yet).
  • 18. Install the Vehicles in the Trade Study Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 18 Once again, install each vehicle instance into its corresponding trade study instance.
  • 19. Create an Instance Table for the Trade Study Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 19 Now you are ready to create an instance table for the trade study instances. Select the columns you want to display. Since everything is owned ultimately by the trade study block, you can display any of the value properties in any of the nested part blocks. Drag the columns around as needed. Notice that the score is still “0” for each instance….
  • 20. Run the Trade Study 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 20 Select all of the rows. Pull down the evaluation menu. Select “Evaluate Selected Rows”.
  • 21. Done 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 21 The scores for the different trade study instances have been calculated. At this point there are several options: 1. The numerical results can be pushed back into the model instances. (This is an explicit step if you want to do this. The instances are not updated by default.) 2. The results can be exported to a spreadsheet using the “Export” tool. 3. The results can be copied and pasted into any other software application (including Microsoft Excel) that can accept the data.
  • 22. Implementation in IBM Rhaposdy Rhaposdy Step-by-Step 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 22
  • 23. Set Up the Trade Study 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 23 We can set up in Rhapsody the same way we set up in Cameo. Rhapsody seems to be a bit more flexible than Cameo about how parametric diagrams are constructed, but this structure makes sense and helps us keep our efforts straight.
  • 24. Create the Parametric Diagram 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 24 Again we will need some intermediate variables for the complicated calculation. In Rhapsody these must be defined as extra constraint parameters and must be shown in the diagram. Connect as before.
  • 25. Set the Constraint Equation 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 25 Rhapsody constraints apparently can’t span lines. Instead, five separate constraints are needed, with one line of equation for each constraint. The equation language is for the open source MAXIMA solver, but happens to be identical to the built-in math used in Cameo.
  • 26. Install Maxima 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 26 Get Maxima from: https://maxima.sourceforge.io/ It is free and very easy to install.
  • 27. Play with Maxima to Make Sure it is Working 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 27 Once installed, Maxima will run from your Windows start menu. It presents a command line interpreter similar to MATRLAB. Doing simple things can be a bit obtuse, but it can do incredibly powerful calculations. Check online for tutorials.
  • 28. Add PCE Profile to Rhapsody 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 28
  • 29. Make Sure PCE is Configured 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 29
  • 30. Create Vehicle Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 30 We can create vehicle instances in Rhapsody in the same manager as in Cameo and manually configure the drivetrain in each one…. However, they end up being sort of irrelevant because the Rhapsody Parametric Constraint Evaluator does not work fully with nested instances.
  • 31. Create Drivetrain Instances 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 31 Create one instance for each type of drivetrain. Again, we set the values directly for each instance.
  • 32. Add Constraint Views 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 32 Next we create one ConstraintView element for each trade study instance. These can be created by right- clicking on the package and selecting “Add New” Right-click on each ConstraintView and use “Add New” to add a reference to the parametric diagram and another reference to the drivetrain instance.
  • 33. Open the Constraint View 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 33 Values are picked up from the instance. Clear the result, click “Evaluate” PCE will calculate the result. Results can be written back into the model or exported to a CSV file.
  • 34. Questions?  If you would like a copy of the presentation or of the models, send me an e- mail: – [email protected][email protected] 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 34
  • 35. 2021 WSRC - Modular Trade Studies with SysML Simulation | David Hetherington 35