SlideShare ist ein Scribd-Unternehmen logo
1 von 25
Downloaden Sie, um offline zu lesen
Renfei Xu & Wenhua Fang
Model Execution And System
Simulation In Capella
Background and Motivation
01
Execution and Simulation Rules
02
Example
03
Contents
Background and Motivation01
Background
4
 Glaway has been deploying
Capella-based MBSE solution in a
Radar institute since late 2016
 The Radar products of this
institute vary from seeker,
spaceborne, airborne, shipborne
to ground-based
 By now, each area in this institute
has at least one product using
Capella in its architecture design,
including the most complex
product
Motivation
5
Challenge: how to verify
the architecture design
is correct ?
 Is the mode and state
machine consistent with
scenarios ?
 Is the function
decomposition
appropriate ? Can the
coordination of various
functions achieve the
desired results ?
 …
Consistency ?
Correctness ?
Solution
6
 Develop an add-on to make mode and state machines executable. Use a control panel to interact with the state machine,
and automatically record execution process as a scenario. Judge if the sequence of functions and interfaces is desirable
by compare manual scenario and auto-record scenario.
 During state machine execution, M code ( and C code ) embedded in functions can be directly invoked to simulate the
operation effect of the architecture.
(Model Execution)
(Select Target)
(Select Trigger)
(Set Value)
(History)
(Send)
(Cancel)
Execution and Simulation Rules02
Execution Rules of State Machine (1/3)
8
Based on Mealey machine,
as follows:
 The trigger of transition
can only be functional
exchange or time event
 The guard of transition
can directly reference
property values from
relative component
 Different state machine
can use “Gen”
mechanism to trigger
each other
(Mode)
(Mode)
(Edit Properties of Mode)
(Name)
(Summary)
(Mode Implementation)
(Entry)
(Activity)
(Exit)
(Operational Activity / Function)
(Transition)
(Transition)
(Edit Properties of Transition)
(Name)
(Summary)
(Guard)
(Effect)
(Transition Implementation)
(Trigger)
(Trigger Description)
(OK) (Cancel) (OK) (Cancel)
Execution Rules of State Machine (2/3)
9
When transition occurs, the sequence of function and Gen
is as follows:
1. Execute do function of pre-state
2. Generate doGen Trigger of pre-state
3. Execute exit function of pre-state
4. Generate exitGen Trigger of pre-state
5. Guard of transition can reference property value
6. Execute effect function of transition
7. Generate effectGen Trigger of transition
8. Execute entry function of post-state
9. Generate entryGen Trigger of post-state
Execution Rules of State Machine (3/3)
10
Diplay rules during execution are as follows:
 Current state/mode is highlighted by red
 Transition to current state is highlighted
by yellow
 States/modes and transitions that have
been through are highlighted by green
 States/modes and transitions that have
not been through display as default
The process of execution will be record as scenarios automatically
(Initial)
Control Panel
11
Users can use control panel to
interact with mode/state machines
during execution:
 Select the target to send triggers
 Select the trigger to be sent, and
send it
 Define the value of the trigger to
be sent ( the value will be used
when relative function has
embedded M code )
 History of triggers that have been
sent during execution
(Model Execution)
(Select Target)
(Select Trigger)
(Set Value)
(History)
(Send)
(Cancel)
Execution Rules of Function Data Flow
12
Our execution add-on can support execution of function
data flow other than mode/state machine. The rule is based
on Petri-net, as follows:
 Add initial node, the function connected to initial node
will be executed at first
 The beginning condition of a function’s execution is that
all input ports has at least one token
 The execution of function will consume one token on
each input port
 After execution, a function will produce one token on
each output port
 A token will move from the output port to the input port
immediately after it is produced
 The process of execution will be record as scenarios
automatically
Execution Execution
Execution
Execution Rules of the Whole Model
13
Component with MSM
If some components have MSM while others don’t, our execution add-on can make a hybrid-execution of state
machine rule and function data flow rule:
 Components with MSM will execute under state machine rule, and others under function data flow rule
 At the border between state machine rule and function data flow rule, triggers in state machine are equal with
tokens in function data flow
Matlab Code Embedded in Function
14
Users can invoke Matlab editor to edit embedded M code by
function’s right-click menu:
 The first line of Matlab function is auto-generated, re-using
function name and functional input/output
 Property value of relative component can be referenced by
“localData”
 Breakpoints can be added in Matlab Editor to debug while
execution
(Edit Code within Matlab)
Display Options for Execution
15
 The number of functions and interfaces
invoked in execution for a real ( RADAR )
system simulation is very large (from
thousands to millions). Sometimes it’s
impossible to highlight MSM and update
scenarios in real time. So we need display
options to improve execution efficiency in
some cases.
 If the real-time update option is closed, the
execution process will be record as xml file,
which can be partially inserted into
scenario after execution.
(Preferences)
(Configuration)
(Dynamic Execution of Model)
(Dynamic Execution of Model)
(Configuration of Dynamic Execution of Model)
(Select Embedded Language)
(Insert at Real Time)
(Update at Real Time)
(Highlight at Real Time)
(Insert after Execution)
(Record Execution Process)
(Back to Default) (Apply)
(Cancel)
Example03
Introduction to MPAR Example
17
 MPAR (Multi-Functional Phased Array
Radar) performs both scanning
(searching) and tracking tasks. Most
of its simulation code comes from
MPARSearchTrackExample in Matlab
2019a.
 This example intends to show how to
use execution add-on to do system
simulation. It’s not about how to
design a real phased array Radar. So
it only uses baseband signal, and
simplified signal processing.
-- This picture comes from Matlab 2019a
Logical Architecture of MPAR
18
 MPAR consists of five subsystems:
Radar managing subsystem, antenna
subsystem, signal processing
subsystem, data processing
subsystem and display subsystem.
MPAR will search, confirm and track
targets under the control of simulation
configurator.
 Radar managing subsystem, antenna
subsystem and simulation
configurator has MSM, while others
don’t.
MPAR MSM: Simulation Configurator
19
 After receiving StartOrder from
simulation controller, simulation
configurator will initialize MPAR
simulation environment, and send
initialization signal to different
subsystems.
 When simulation is on, the
configurator will update simulation
time at the end of each dwell.
MPAR MSM: Radar Managing Subsystem
20
 After receiving initialization
signal, Radar managing
subsystem will initialize job
queue, and enter working mode.
 In working mode, Radar
managing subsystem will get
current job at the beginning of
each dwell, and provide job
information and beam direction
to other subsystems.
MPAR MSM: Antenna Subsystem
21
 After receiving initialization
signal, antenna subsystem will
initialize the phased array, and
enter Stand_By mode.
 In each dwell, antenna
subsystem will working
through Transmitting mode and
Receiving mode for every pulse,
until all pulses are finished.
Embedded Simulation Code for MPAR Functions (Partial)
22
getCurrentJob generateDetection updateTrackAndJob
Execution Effect of MPAR Example
23
No. Add-on Name Introduction
1
DGS(Document
Generation Server)
Transform Capella model into documents. Users can edit templates
in Word in a “what you see is what you get” manner, without using
Aql.
2
TPM(Technical
Performance Manager)
Model and manage all MOE, MOP and TPM in Capella model.
Users can make quantitative analysis among different
measurements, and graphically analyze change impact of a given
measurement.
3
ICM(Interface Control
Manager)
Detailed design of interfaces based on functional exchange,
component exchange, and physical link. Include message design,
data word design and pin design based on different bus types, e.g.
1553B, RS422, RS485, CAN, AFDX and so on.
Other Add-on Provided by Glaway
Thanks !
客户至上 价值创新 以人为本 团队协作

Weitere ähnliche Inhalte

Was ist angesagt?

Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Obeo
 
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
Obeo
 
Introduction to Capella and Arcadia with a Simple System
Introduction to Capella and Arcadia with a Simple SystemIntroduction to Capella and Arcadia with a Simple System
Introduction to Capella and Arcadia with a Simple System
Obeo
 
Tailoring Arcadia Framework in Thales UK
Tailoring Arcadia Framework in Thales UKTailoring Arcadia Framework in Thales UK
Tailoring Arcadia Framework in Thales UK
Obeo
 
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
Obeo
 
Digitally assisted design for safety analysis
Digitally assisted design for safety analysisDigitally assisted design for safety analysis
Digitally assisted design for safety analysis
Obeo
 
Connecting Textual Requirements with Capella Models
Connecting Textual Requirements with Capella Models Connecting Textual Requirements with Capella Models
Connecting Textual Requirements with Capella Models
Obeo
 
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
Obeo
 
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Obeo
 

Was ist angesagt? (20)

Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
Capella Days 2021 | Introduction to CAPELLA/ARCADIA and NASA Systems Engineer...
 
Simplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSESimplifying MBSE Tasks with Capella and MapleMBSE
Simplifying MBSE Tasks with Capella and MapleMBSE
 
MBSE with Arcadia method step-by-step Physical Architecture.pdf
MBSE with Arcadia method step-by-step Physical Architecture.pdfMBSE with Arcadia method step-by-step Physical Architecture.pdf
MBSE with Arcadia method step-by-step Physical Architecture.pdf
 
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
Capella Days 2021 | A STEP towards Model-based: Case Study covering Conceptua...
 
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
 
System of systems modeling with Capella
System of systems modeling with CapellaSystem of systems modeling with Capella
System of systems modeling with Capella
 
MBSE with Arcadia method.pdf
MBSE with Arcadia method.pdfMBSE with Arcadia method.pdf
MBSE with Arcadia method.pdf
 
Introduction to Capella and Arcadia with a Simple System
Introduction to Capella and Arcadia with a Simple SystemIntroduction to Capella and Arcadia with a Simple System
Introduction to Capella and Arcadia with a Simple System
 
MBSE with Arcadia method step-by-step System Analysis.pdf
MBSE with Arcadia method step-by-step System Analysis.pdfMBSE with Arcadia method step-by-step System Analysis.pdf
MBSE with Arcadia method step-by-step System Analysis.pdf
 
Improving MBSE maturity with open-source tool Capella
Improving MBSE maturity with open-source tool Capella Improving MBSE maturity with open-source tool Capella
Improving MBSE maturity with open-source tool Capella
 
Tailoring Arcadia Framework in Thales UK
Tailoring Arcadia Framework in Thales UKTailoring Arcadia Framework in Thales UK
Tailoring Arcadia Framework in Thales UK
 
Easily enrich capella models with your own domain extensions
Easily enrich capella models with your own domain extensionsEasily enrich capella models with your own domain extensions
Easily enrich capella models with your own domain extensions
 
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
Capella Days 2021 | Where to Start with MBSE when Thousands of System Require...
 
Digitally assisted design for safety analysis
Digitally assisted design for safety analysisDigitally assisted design for safety analysis
Digitally assisted design for safety analysis
 
Connecting Textual Requirements with Capella Models
Connecting Textual Requirements with Capella Models Connecting Textual Requirements with Capella Models
Connecting Textual Requirements with Capella Models
 
Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...Capella Days 2021 | An example of model-centric engineering environment with ...
Capella Days 2021 | An example of model-centric engineering environment with ...
 
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
CapellaDays2022 | Politecnico di Milano | Interplanetary Space Mission as a r...
 
CapellaDays2022 | CILAS - ArianeGroup | CILAS feedback about Capella use
CapellaDays2022 | CILAS - ArianeGroup | CILAS feedback about Capella useCapellaDays2022 | CILAS - ArianeGroup | CILAS feedback about Capella use
CapellaDays2022 | CILAS - ArianeGroup | CILAS feedback about Capella use
 
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
Capella Days 2021 | Enhancing CubeSat design through ARCADIA and Capella: a c...
 
STPA Analysis of Automotive Safety Using Arcadia and Capella
STPA Analysis of Automotive Safety Using Arcadia and CapellaSTPA Analysis of Automotive Safety Using Arcadia and Capella
STPA Analysis of Automotive Safety Using Arcadia and Capella
 

Ähnlich wie [Capella Day 2019] Model execution and system simulation in Capella

Unity3D Scripting: State Machine
Unity3D Scripting: State MachineUnity3D Scripting: State Machine
Unity3D Scripting: State Machine
Sperasoft
 
A web based network worm simulator
A web based network worm simulatorA web based network worm simulator
A web based network worm simulator
UltraUploader
 

Ähnlich wie [Capella Day 2019] Model execution and system simulation in Capella (20)

Traffic Simulator
Traffic SimulatorTraffic Simulator
Traffic Simulator
 
Robot Software Architecture (Mobile Robots)
Robot Software Architecture (Mobile Robots)Robot Software Architecture (Mobile Robots)
Robot Software Architecture (Mobile Robots)
 
CE150--Hongyi Huang
CE150--Hongyi HuangCE150--Hongyi Huang
CE150--Hongyi Huang
 
Modeling and Real-Time Simulation of Induction Motor Using RT-LAB
Modeling and Real-Time Simulation of Induction Motor Using RT-LABModeling and Real-Time Simulation of Induction Motor Using RT-LAB
Modeling and Real-Time Simulation of Induction Motor Using RT-LAB
 
ES-CH5.ppt
ES-CH5.pptES-CH5.ppt
ES-CH5.ppt
 
Jmh
JmhJmh
Jmh
 
Mechatronics engineer
Mechatronics engineerMechatronics engineer
Mechatronics engineer
 
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
MODELLING, ANALYSIS AND SIMULATION OF DYNAMIC SYSTEMS USING CONTROL TECHNIQUE...
 
Trixboxguide
TrixboxguideTrixboxguide
Trixboxguide
 
Computational models in embedded design
Computational models in embedded designComputational models in embedded design
Computational models in embedded design
 
Chap 6 lesson5emsysnewstatemachinefsm
Chap 6 lesson5emsysnewstatemachinefsmChap 6 lesson5emsysnewstatemachinefsm
Chap 6 lesson5emsysnewstatemachinefsm
 
Angular 16 – the rise of Signals
Angular 16 – the rise of SignalsAngular 16 – the rise of Signals
Angular 16 – the rise of Signals
 
Unity3D Scripting: State Machine
Unity3D Scripting: State MachineUnity3D Scripting: State Machine
Unity3D Scripting: State Machine
 
Introduction to Structured Streaming
Introduction to Structured StreamingIntroduction to Structured Streaming
Introduction to Structured Streaming
 
Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.Design the implementation of CDEx Robust DC Motor.
Design the implementation of CDEx Robust DC Motor.
 
Towards Rapid Implementation of Adaptive Robotic Systems
Towards Rapid Implementation of Adaptive Robotic SystemsTowards Rapid Implementation of Adaptive Robotic Systems
Towards Rapid Implementation of Adaptive Robotic Systems
 
A web based network worm simulator
A web based network worm simulatorA web based network worm simulator
A web based network worm simulator
 
Implementation procedure of OPNET, and Qualnet
Implementation procedure of OPNET, and QualnetImplementation procedure of OPNET, and Qualnet
Implementation procedure of OPNET, and Qualnet
 
What's New in the Timeseries Toolkit for IBM InfoSphere Streams V4.0
What's New in the Timeseries Toolkit for IBM InfoSphere Streams V4.0What's New in the Timeseries Toolkit for IBM InfoSphere Streams V4.0
What's New in the Timeseries Toolkit for IBM InfoSphere Streams V4.0
 
Modul PLC Programming.pdf
Modul PLC Programming.pdfModul PLC Programming.pdf
Modul PLC Programming.pdf
 

Mehr von Obeo

INCOSE IS 2023 | You deserve more than the best in class MBSE tool
INCOSE IS 2023 | You deserve more than the best in class MBSE toolINCOSE IS 2023 | You deserve more than the best in class MBSE tool
INCOSE IS 2023 | You deserve more than the best in class MBSE tool
Obeo
 
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
Obeo
 
Defining Viewpoints for Ontology-Based DSLs
Defining Viewpoints for Ontology-Based DSLsDefining Viewpoints for Ontology-Based DSLs
Defining Viewpoints for Ontology-Based DSLs
Obeo
 
Development of DSL for Context-Aware Mobile Applications
Development of DSL for Context-Aware Mobile ApplicationsDevelopment of DSL for Context-Aware Mobile Applications
Development of DSL for Context-Aware Mobile Applications
Obeo
 

Mehr von Obeo (19)

INCOSE IS 2023 | You deserve more than the best in class MBSE tool
INCOSE IS 2023 | You deserve more than the best in class MBSE toolINCOSE IS 2023 | You deserve more than the best in class MBSE tool
INCOSE IS 2023 | You deserve more than the best in class MBSE tool
 
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
CapellaDays2022 | COMAC - PGM | How We Use Capella for Collaborative Design i...
 
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
CapellaDays2022 | ThermoFisher - ESI TNO | A method for quantitative evaluati...
 
CapellaDays2022 | Thales DMS | A global engineering process based on MBSE to ...
CapellaDays2022 | Thales DMS | A global engineering process based on MBSE to ...CapellaDays2022 | Thales DMS | A global engineering process based on MBSE to ...
CapellaDays2022 | Thales DMS | A global engineering process based on MBSE to ...
 
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
CapellaDays2022 | SIEMENS | Expand MBSE into Model-based Production Engineeri...
 
Gestion applicative des données, un REX du Ministère de l'Éducation Nationale
Gestion applicative des données, un REX du Ministère de l'Éducation NationaleGestion applicative des données, un REX du Ministère de l'Éducation Nationale
Gestion applicative des données, un REX du Ministère de l'Éducation Nationale
 
From Model-based to Model and Simulation-based Systems Architectures
From Model-based to Model and Simulation-based Systems ArchitecturesFrom Model-based to Model and Simulation-based Systems Architectures
From Model-based to Model and Simulation-based Systems Architectures
 
Sirius Web Advanced : Customize and Extend the Platform
Sirius Web Advanced : Customize and Extend the PlatformSirius Web Advanced : Customize and Extend the Platform
Sirius Web Advanced : Customize and Extend the Platform
 
Sirius Web 101 : Create a Modeler With No Code
Sirius Web 101 : Create a Modeler With No CodeSirius Web 101 : Create a Modeler With No Code
Sirius Web 101 : Create a Modeler With No Code
 
Sirius Project, Now and In the Future
Sirius Project, Now and In the FutureSirius Project, Now and In the Future
Sirius Project, Now and In the Future
 
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
Visualizing, Analyzing and Optimizing Automotive Architecture Models using Si...
 
Defining Viewpoints for Ontology-Based DSLs
Defining Viewpoints for Ontology-Based DSLsDefining Viewpoints for Ontology-Based DSLs
Defining Viewpoints for Ontology-Based DSLs
 
Development of DSL for Context-Aware Mobile Applications
Development of DSL for Context-Aware Mobile ApplicationsDevelopment of DSL for Context-Aware Mobile Applications
Development of DSL for Context-Aware Mobile Applications
 
SimfiaNeo - Workbench for Safety Analysis powered by Sirius
SimfiaNeo - Workbench for Safety Analysis powered by SiriusSimfiaNeo - Workbench for Safety Analysis powered by Sirius
SimfiaNeo - Workbench for Safety Analysis powered by Sirius
 
Get into MBSE-MBSA process with a dedicated toolchain
Get into MBSE-MBSA process with a dedicated toolchainGet into MBSE-MBSA process with a dedicated toolchain
Get into MBSE-MBSA process with a dedicated toolchain
 
Capella annual meeting 2022
Capella annual meeting 2022Capella annual meeting 2022
Capella annual meeting 2022
 
Générez automatiquement vos diagrammes d'architecture | Webinaire Obeo SmartEA
Générez automatiquement vos diagrammes d'architecture | Webinaire Obeo SmartEAGénérez automatiquement vos diagrammes d'architecture | Webinaire Obeo SmartEA
Générez automatiquement vos diagrammes d'architecture | Webinaire Obeo SmartEA
 
Capella (once again) in space, meeting nanosatellites
Capella (once again) in space, meeting nanosatellitesCapella (once again) in space, meeting nanosatellites
Capella (once again) in space, meeting nanosatellites
 
Identifier et suivre les applications à risque pour des processus métier | We...
Identifier et suivre les applications à risque pour des processus métier | We...Identifier et suivre les applications à risque pour des processus métier | We...
Identifier et suivre les applications à risque pour des processus métier | We...
 

Kürzlich hochgeladen

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

[Capella Day 2019] Model execution and system simulation in Capella

  • 1. Renfei Xu & Wenhua Fang Model Execution And System Simulation In Capella
  • 2. Background and Motivation 01 Execution and Simulation Rules 02 Example 03 Contents
  • 4. Background 4  Glaway has been deploying Capella-based MBSE solution in a Radar institute since late 2016  The Radar products of this institute vary from seeker, spaceborne, airborne, shipborne to ground-based  By now, each area in this institute has at least one product using Capella in its architecture design, including the most complex product
  • 5. Motivation 5 Challenge: how to verify the architecture design is correct ?  Is the mode and state machine consistent with scenarios ?  Is the function decomposition appropriate ? Can the coordination of various functions achieve the desired results ?  … Consistency ? Correctness ?
  • 6. Solution 6  Develop an add-on to make mode and state machines executable. Use a control panel to interact with the state machine, and automatically record execution process as a scenario. Judge if the sequence of functions and interfaces is desirable by compare manual scenario and auto-record scenario.  During state machine execution, M code ( and C code ) embedded in functions can be directly invoked to simulate the operation effect of the architecture. (Model Execution) (Select Target) (Select Trigger) (Set Value) (History) (Send) (Cancel)
  • 8. Execution Rules of State Machine (1/3) 8 Based on Mealey machine, as follows:  The trigger of transition can only be functional exchange or time event  The guard of transition can directly reference property values from relative component  Different state machine can use “Gen” mechanism to trigger each other (Mode) (Mode) (Edit Properties of Mode) (Name) (Summary) (Mode Implementation) (Entry) (Activity) (Exit) (Operational Activity / Function) (Transition) (Transition) (Edit Properties of Transition) (Name) (Summary) (Guard) (Effect) (Transition Implementation) (Trigger) (Trigger Description) (OK) (Cancel) (OK) (Cancel)
  • 9. Execution Rules of State Machine (2/3) 9 When transition occurs, the sequence of function and Gen is as follows: 1. Execute do function of pre-state 2. Generate doGen Trigger of pre-state 3. Execute exit function of pre-state 4. Generate exitGen Trigger of pre-state 5. Guard of transition can reference property value 6. Execute effect function of transition 7. Generate effectGen Trigger of transition 8. Execute entry function of post-state 9. Generate entryGen Trigger of post-state
  • 10. Execution Rules of State Machine (3/3) 10 Diplay rules during execution are as follows:  Current state/mode is highlighted by red  Transition to current state is highlighted by yellow  States/modes and transitions that have been through are highlighted by green  States/modes and transitions that have not been through display as default The process of execution will be record as scenarios automatically (Initial)
  • 11. Control Panel 11 Users can use control panel to interact with mode/state machines during execution:  Select the target to send triggers  Select the trigger to be sent, and send it  Define the value of the trigger to be sent ( the value will be used when relative function has embedded M code )  History of triggers that have been sent during execution (Model Execution) (Select Target) (Select Trigger) (Set Value) (History) (Send) (Cancel)
  • 12. Execution Rules of Function Data Flow 12 Our execution add-on can support execution of function data flow other than mode/state machine. The rule is based on Petri-net, as follows:  Add initial node, the function connected to initial node will be executed at first  The beginning condition of a function’s execution is that all input ports has at least one token  The execution of function will consume one token on each input port  After execution, a function will produce one token on each output port  A token will move from the output port to the input port immediately after it is produced  The process of execution will be record as scenarios automatically Execution Execution Execution
  • 13. Execution Rules of the Whole Model 13 Component with MSM If some components have MSM while others don’t, our execution add-on can make a hybrid-execution of state machine rule and function data flow rule:  Components with MSM will execute under state machine rule, and others under function data flow rule  At the border between state machine rule and function data flow rule, triggers in state machine are equal with tokens in function data flow
  • 14. Matlab Code Embedded in Function 14 Users can invoke Matlab editor to edit embedded M code by function’s right-click menu:  The first line of Matlab function is auto-generated, re-using function name and functional input/output  Property value of relative component can be referenced by “localData”  Breakpoints can be added in Matlab Editor to debug while execution (Edit Code within Matlab)
  • 15. Display Options for Execution 15  The number of functions and interfaces invoked in execution for a real ( RADAR ) system simulation is very large (from thousands to millions). Sometimes it’s impossible to highlight MSM and update scenarios in real time. So we need display options to improve execution efficiency in some cases.  If the real-time update option is closed, the execution process will be record as xml file, which can be partially inserted into scenario after execution. (Preferences) (Configuration) (Dynamic Execution of Model) (Dynamic Execution of Model) (Configuration of Dynamic Execution of Model) (Select Embedded Language) (Insert at Real Time) (Update at Real Time) (Highlight at Real Time) (Insert after Execution) (Record Execution Process) (Back to Default) (Apply) (Cancel)
  • 17. Introduction to MPAR Example 17  MPAR (Multi-Functional Phased Array Radar) performs both scanning (searching) and tracking tasks. Most of its simulation code comes from MPARSearchTrackExample in Matlab 2019a.  This example intends to show how to use execution add-on to do system simulation. It’s not about how to design a real phased array Radar. So it only uses baseband signal, and simplified signal processing. -- This picture comes from Matlab 2019a
  • 18. Logical Architecture of MPAR 18  MPAR consists of five subsystems: Radar managing subsystem, antenna subsystem, signal processing subsystem, data processing subsystem and display subsystem. MPAR will search, confirm and track targets under the control of simulation configurator.  Radar managing subsystem, antenna subsystem and simulation configurator has MSM, while others don’t.
  • 19. MPAR MSM: Simulation Configurator 19  After receiving StartOrder from simulation controller, simulation configurator will initialize MPAR simulation environment, and send initialization signal to different subsystems.  When simulation is on, the configurator will update simulation time at the end of each dwell.
  • 20. MPAR MSM: Radar Managing Subsystem 20  After receiving initialization signal, Radar managing subsystem will initialize job queue, and enter working mode.  In working mode, Radar managing subsystem will get current job at the beginning of each dwell, and provide job information and beam direction to other subsystems.
  • 21. MPAR MSM: Antenna Subsystem 21  After receiving initialization signal, antenna subsystem will initialize the phased array, and enter Stand_By mode.  In each dwell, antenna subsystem will working through Transmitting mode and Receiving mode for every pulse, until all pulses are finished.
  • 22. Embedded Simulation Code for MPAR Functions (Partial) 22 getCurrentJob generateDetection updateTrackAndJob
  • 23. Execution Effect of MPAR Example 23
  • 24. No. Add-on Name Introduction 1 DGS(Document Generation Server) Transform Capella model into documents. Users can edit templates in Word in a “what you see is what you get” manner, without using Aql. 2 TPM(Technical Performance Manager) Model and manage all MOE, MOP and TPM in Capella model. Users can make quantitative analysis among different measurements, and graphically analyze change impact of a given measurement. 3 ICM(Interface Control Manager) Detailed design of interfaces based on functional exchange, component exchange, and physical link. Include message design, data word design and pin design based on different bus types, e.g. 1553B, RS422, RS485, CAN, AFDX and so on. Other Add-on Provided by Glaway
  • 25. Thanks ! 客户至上 价值创新 以人为本 团队协作