SlideShare una empresa de Scribd logo
1 de 24
Creating Queuing Systems Simulations
with Sparx EA SysML Parametric Models
1
Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
Add Performance Analysis to your EA Processes and System Models
with Queuing Systems Simulations
Queuing Systems Simulation
• This presentation illustrates how to use Sparx
Enterprise Architect Parametric Model features
found in the Systems Engineering and Ultimate
editions to simulate queuing systems.
• The presentation assumes that user is already
familiar with the use of Parametric Models. We
recommend reading the following reference for an
introduction to Parametric Models: Embedded
Systems Development using SysML Chapter 5.
2
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing Systems
• Queuing Systems are generally made of waiting lines (also called
queues) and processing centers that perform some operation or
provide a service on people/items taken from queues.
• A typical example would be customers waiting in line at a bank to
be serviced by tellers or automated teller machines.
3
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Item
Repository
• We use the Enterprise
Architect SysML Block
Definition Constraint
Blocks to define several
generic modeling
elements that will be
combined to create
Queuing System
Simulation parametric
models.
4
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• We have defined four main groups of modeling elements:
– Source elements: they model the arrival of the queuing system
items such as customers arrival or work items submission.
– Queue elements: they model the waiting lines or queues of
source items. No queue rules such as First In first Out (FIFO) or
Last In First Out (LIFO) are enforced.
– Service elements: they model actions performed on a source
item when it is time to process or service it.
– Routing elements: they model routing items between services
and queues.
• Each element behavior is scripted
• The states of the Queuing System Simulation elements are
evaluated at time intervals controlled by the progression of
a global variable t representing the passage of time.
5
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Source elements:
– Custom Arrival: It
generates a number of
items at specific values
of t. User defines the
number of items
created for any value
of t.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemReposit...
t output
6
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Source elements:
– Simple Source: It
generates an item if
the value of a random
variable is between
the parameters P1 and
P2
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepositor...
P1 : Real
output : RealP2 : Real
7
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Queue elements:
– Simple Queue: It is the
first queue an item
enters from a Source
element.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
input : Real ItemsInQueue : Real
output : Real
8
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Queue elements:
– Next Queue: It is a
Queue that follows a
Service element.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
input : Real
ItemsInQueue : RealPreviousQueue : Real
output : Real
9
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Queue elements:
– Sink: It is a Queue
from which no items
are taken from once
they enter it.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepositor...
input : Real
ItemsInSink : RealPreviousQueue : Real
10
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Queue elements:
– Simple Buffer: It is a
buffer that moves
input items into
output items.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
input : Real output : Real
11
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Service elements:
– Simple Service: It is a
service center that
does not create any
defects. It processes
one item at the time at
a rate set by P.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
input : Real
P : Real
output : Real
12
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Service elements:
– Service with Defects:
It is a service center
that can create
defects. It processes
one item at the time at
a rate set by P. It
generates defective
items at a rate set by
DP
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
P : Real
DP : Real
output : Real
defectOutput : Real
input : Real
passOutput : Real
13
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Routing elements:
– Splitter: It randomly
routes an item to
either output 1 or
output 2 based on a
splitting ratio P.
bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository]
P
input
output1
output2
14
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Elements
Repository
• Routing elements:
– Merger: It combines
two inputs into a
single output.
bdd [Package] QueueSimulationItemRepository [QueueSimulationIte...
input1
input2
output
15
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Queuing System Simulation Models
• We use the Enterprise
Architect SysML
Parametrics Property
and Constraint Property
objects to create
Queuing System
Simulation models.
• An example of a model is
presented next.
16
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Work Items Queuing System Parametric Model
par [Package] QueueingParametricModelExample [QueueingParametricModelExample]
t
WorkCreationOutput: SimpleBufferinput output
m_UnassignedWorkQueue : SimpleQueue
input
ItemsInQueue UnassignedWorkQueue: SimpleBufferinput output
output
m_WorkAssignment: SimpleService
P
WorkAssignmentRate
input
output : SimpleBufferinput output
m_WorkAssignedQueue : NextQueue
input
output ItemsInQueue
PreviousQueue
WorkCompletionRate
: SimpleBufferinput output WorkAssignedQueue
: SimpleBufferinput output
WorkDefectRate
m_WorkCompletionAndVerification : ServiceWithDefects
P
DP
passOutput
defectOutput
: SimpleBufferinput output
DefectiveWorkDetectedCount
m_DefectiveWorkQueue : NextQueue
input
output
PreviousQueue
ItemsInQueueZeroRate
m_WorkCompleted : Sink
input
ItemsInSink CompletedWorkCount
PreviousQueue
CompletionOutput
input output
WorkAssignmentOutput
CustomSource : CustomArrival
t output
m_TotalWorkQueue : NextQueue
input PreviousQueue
output ItemsInQueue : SimpleBufferinput output TotalWorkSubmittedCount
17
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Work Items Queuing System
Parametric Model
• In this model, Work items are submitted over time according to a custom
schedule.
• Work items once created enter an Unassigned Work Queue
• The Work Assignment Service then assigns work items one at a time to a
Work Assigned Queue
• The Work completion and Verification Service then takes one job at the
time from the Work Assigned Queue and completes it. Upon completion
the Work item is tested for defects
• If a Work item is not defective, it is added to the Work Completed Sink
otherwise it remains in the Work Assigned Queue for re-processing
• If a Work item is found defective, it is recorded in the Detected Defects
Queue
• The Detected Defects Queue only serves as a counter of the number of
defective Work Items found. We could have used a Sink Queue Element
instead but the behavior is the same as long as the Queue Output Rate
parameter is set to zero.
18
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Configuring and Running the
Parametric Model
19
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Simulation Results A
20
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Simulation Results A
Input
Parameters
Values
t 0 to 200 step 0.05
Work
Assignment
Rate
0.5
Work
Completion
Rate
0.25
Work Defect
Rate
0.15
ZeroRate 0
Outputs Min Max Mean
Completed Work count 0 657 404
Defective Work
detected
0 114 71.75
Work Assigned Queue 0 178 65.5
Unassigned Work
Queue
0 115 12.67
Work is fully completed at t = 152.35
21
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Simulation Results B
22
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Simulation Results B (Higher Work
Defect Rate)
Input
Parameters
Values
t 0 to 200 step 0.05
Work
Assignment
Rate
0.5
Work
Completion
Rate
0.25
Work Defect
Rate
0.30
ZeroRate 0
Outputs Min Max Mean
Completed Work count 0 657 352
Defective Work
detected
0 301 153.6
Work Assigned Queue 0 232 117.8
Unassigned Work
Queue
0 115 12.67
Work is fully completed at t = 187.65
23
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
Copyrights (c) 2011-2013 Pragmatic
Cohesion Consulting
24
Contact didier@pragmaticohesion.com to find out how to
create Systems and Processes Performance Analysis
Models with your Sparx EA SysML Edition
http://pragmaticohesion.com/
Compute the following Performance Measures:
• Workloads
• Processing Times
• Utilizations

Más contenido relacionado

La actualidad más candente

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 2Ed Seidewitz
 
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...inside-BigData.com
 
Prolog Programming Language
Prolog Programming  LanguageProlog Programming  Language
Prolog Programming LanguageReham AlBlehid
 
Iot architecture
Iot architectureIot architecture
Iot architectureAnam Iqbal
 
Introduction to Agents and Multi-agent Systems (lecture slides)
Introduction to Agents and Multi-agent Systems (lecture slides)Introduction to Agents and Multi-agent Systems (lecture slides)
Introduction to Agents and Multi-agent Systems (lecture slides)Dagmar Monett
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanDavid J Rosenthal
 
AI PPT-ALR_Unit-3-1.pdf
AI PPT-ALR_Unit-3-1.pdfAI PPT-ALR_Unit-3-1.pdf
AI PPT-ALR_Unit-3-1.pdflokesh406075
 
Research in Internet of Things' Operating Systems (IoT OS's)
Research in Internet of Things' Operating Systems (IoT OS's)Research in Internet of Things' Operating Systems (IoT OS's)
Research in Internet of Things' Operating Systems (IoT OS's)Salahuddin ElKazak
 
An Introduction to IoT: Connectivity & Case Studies
An Introduction to IoT: Connectivity & Case StudiesAn Introduction to IoT: Connectivity & Case Studies
An Introduction to IoT: Connectivity & Case Studies3G4G
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligencewasim liam
 
Research Analysis Project
Research Analysis ProjectResearch Analysis Project
Research Analysis ProjectZeeshan Ali
 
Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..Hema Kashyap
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things HardwareDaniel Eichhorn
 
Multiplatform App Architecture
Multiplatform App ArchitectureMultiplatform App Architecture
Multiplatform App ArchitectureEdwin Van Schaick
 
The Six Category Ontology: Basic Formal Ontology and Its Applications
The Six Category Ontology: Basic Formal Ontology and Its ApplicationsThe Six Category Ontology: Basic Formal Ontology and Its Applications
The Six Category Ontology: Basic Formal Ontology and Its ApplicationsBarry Smith
 
IoT implementation and Challenges
IoT implementation and ChallengesIoT implementation and Challenges
IoT implementation and ChallengesAhmed Banafa
 

La actualidad más candente (20)

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
 
Knowledge Representation in AI.pptx
Knowledge Representation in AI.pptxKnowledge Representation in AI.pptx
Knowledge Representation in AI.pptx
 
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...
Demystifying Parallel and Distributed Deep Learning: An In-Depth Concurrency ...
 
Chapter 1 (final)
Chapter 1 (final)Chapter 1 (final)
Chapter 1 (final)
 
Prolog Programming Language
Prolog Programming  LanguageProlog Programming  Language
Prolog Programming Language
 
Iot architecture
Iot architectureIot architecture
Iot architecture
 
Industrial IoT is coming
Industrial IoT is comingIndustrial IoT is coming
Industrial IoT is coming
 
Chapter 13
Chapter 13Chapter 13
Chapter 13
 
Introduction to Agents and Multi-agent Systems (lecture slides)
Introduction to Agents and Multi-agent Systems (lecture slides)Introduction to Agents and Multi-agent Systems (lecture slides)
Introduction to Agents and Multi-agent Systems (lecture slides)
 
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by AtidanWorking with Microsoft Power Business Inteligence Tools - Presented by Atidan
Working with Microsoft Power Business Inteligence Tools - Presented by Atidan
 
AI PPT-ALR_Unit-3-1.pdf
AI PPT-ALR_Unit-3-1.pdfAI PPT-ALR_Unit-3-1.pdf
AI PPT-ALR_Unit-3-1.pdf
 
Research in Internet of Things' Operating Systems (IoT OS's)
Research in Internet of Things' Operating Systems (IoT OS's)Research in Internet of Things' Operating Systems (IoT OS's)
Research in Internet of Things' Operating Systems (IoT OS's)
 
An Introduction to IoT: Connectivity & Case Studies
An Introduction to IoT: Connectivity & Case StudiesAn Introduction to IoT: Connectivity & Case Studies
An Introduction to IoT: Connectivity & Case Studies
 
Artificial Intelligence
Artificial IntelligenceArtificial Intelligence
Artificial Intelligence
 
Research Analysis Project
Research Analysis ProjectResearch Analysis Project
Research Analysis Project
 
Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..Lecture 10 Uninformed Search Techniques conti..
Lecture 10 Uninformed Search Techniques conti..
 
Introduction to Internet of Things Hardware
Introduction to Internet of Things HardwareIntroduction to Internet of Things Hardware
Introduction to Internet of Things Hardware
 
Multiplatform App Architecture
Multiplatform App ArchitectureMultiplatform App Architecture
Multiplatform App Architecture
 
The Six Category Ontology: Basic Formal Ontology and Its Applications
The Six Category Ontology: Basic Formal Ontology and Its ApplicationsThe Six Category Ontology: Basic Formal Ontology and Its Applications
The Six Category Ontology: Basic Formal Ontology and Its Applications
 
IoT implementation and Challenges
IoT implementation and ChallengesIoT implementation and Challenges
IoT implementation and Challenges
 

Destacado

Simulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemSimulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemMaruf Rion
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modelinganhdbh
 
Queuing theory
Queuing theoryQueuing theory
Queuing theoryAmit Sinha
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORYavtarsingh
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]qwerty626
 

Destacado (7)

Simulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing SystemSimulation & Modeling - Smilulation Queuing System
Simulation & Modeling - Smilulation Queuing System
 
OR Unit 5 queuing theory
OR Unit 5 queuing theoryOR Unit 5 queuing theory
OR Unit 5 queuing theory
 
Simulation and Modeling
Simulation and ModelingSimulation and Modeling
Simulation and Modeling
 
Queuing theory
Queuing theoryQueuing theory
Queuing theory
 
QUEUING THEORY
QUEUING THEORYQUEUING THEORY
QUEUING THEORY
 
Modelling and simulation
Modelling and simulationModelling and simulation
Modelling and simulation
 
System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]System simulation & modeling notes[sjbit]
System simulation & modeling notes[sjbit]
 

Similar a Creating Queuing Simulations with Sparx EA SysML

Taking your machine learning workflow to the next level using Scikit-Learn Pi...
Taking your machine learning workflow to the next level using Scikit-Learn Pi...Taking your machine learning workflow to the next level using Scikit-Learn Pi...
Taking your machine learning workflow to the next level using Scikit-Learn Pi...Philip Goddard
 
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 CapellaObeo
 
AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)byteLAKE
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...MIbrar4
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxDeepakJangid87
 
Project Planning using Little’s Law
Project Planning using Little’s LawProject Planning using Little’s Law
Project Planning using Little’s LawDimitar Bakardzhiev
 
Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!Julian Feinauer
 
(Py)testing the Limits of Machine Learning
(Py)testing the Limits of Machine Learning(Py)testing the Limits of Machine Learning
(Py)testing the Limits of Machine LearningRebecca Bilbro
 
Using bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-REDUsing bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-REDLionel Mommeja
 
Revolutionise your Machine Learning Workflow using Scikit-Learn Pipelines
Revolutionise your Machine Learning Workflow using Scikit-Learn PipelinesRevolutionise your Machine Learning Workflow using Scikit-Learn Pipelines
Revolutionise your Machine Learning Workflow using Scikit-Learn PipelinesPhilip Goddard
 
RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1Serge Amougou
 
Spark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick PentreathSpark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick PentreathSpark Summit
 
Advanced analytics integration with python
Advanced analytics integration with pythonAdvanced analytics integration with python
Advanced analytics integration with pythonPaul Van Siclen
 

Similar a Creating Queuing Simulations with Sparx EA SysML (20)

2nd presantation
2nd presantation2nd presantation
2nd presantation
 
Taking your machine learning workflow to the next level using Scikit-Learn Pi...
Taking your machine learning workflow to the next level using Scikit-Learn Pi...Taking your machine learning workflow to the next level using Scikit-Learn Pi...
Taking your machine learning workflow to the next level using Scikit-Learn Pi...
 
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
 
STL Algorithms In Action
STL Algorithms In ActionSTL Algorithms In Action
STL Algorithms In Action
 
Lesson 5.2 logical operators
Lesson 5.2 logical operatorsLesson 5.2 logical operators
Lesson 5.2 logical operators
 
AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)AI-accelerated CFD (Computational Fluid Dynamics)
AI-accelerated CFD (Computational Fluid Dynamics)
 
Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...Analysis and Design of PID controller with control parameters in MATLAB and S...
Analysis and Design of PID controller with control parameters in MATLAB and S...
 
Model checker for NTCC
Model checker for NTCCModel checker for NTCC
Model checker for NTCC
 
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptxIntro to LV in 3 Hours for Control and Sim 8_5.pptx
Intro to LV in 3 Hours for Control and Sim 8_5.pptx
 
Project Planning using Little’s Law
Project Planning using Little’s LawProject Planning using Little’s Law
Project Planning using Little’s Law
 
Lesson 4.1 completing the problem solving process
Lesson 4.1 completing the problem solving processLesson 4.1 completing the problem solving process
Lesson 4.1 completing the problem solving process
 
DES
DES DES
DES
 
Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!Dances with bits - industrial data analytics made easy!
Dances with bits - industrial data analytics made easy!
 
(Py)testing the Limits of Machine Learning
(Py)testing the Limits of Machine Learning(Py)testing the Limits of Machine Learning
(Py)testing the Limits of Machine Learning
 
Using bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-REDUsing bluemix predictive analytics service in Node-RED
Using bluemix predictive analytics service in Node-RED
 
Revolutionise your Machine Learning Workflow using Scikit-Learn Pipelines
Revolutionise your Machine Learning Workflow using Scikit-Learn PipelinesRevolutionise your Machine Learning Workflow using Scikit-Learn Pipelines
Revolutionise your Machine Learning Workflow using Scikit-Learn Pipelines
 
Plc Robotics
Plc RoboticsPlc Robotics
Plc Robotics
 
RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1RTI-CODES+ISSS-2012-Submission-1
RTI-CODES+ISSS-2012-Submission-1
 
Spark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick PentreathSpark Summit EU talk by Nick Pentreath
Spark Summit EU talk by Nick Pentreath
 
Advanced analytics integration with python
Advanced analytics integration with pythonAdvanced analytics integration with python
Advanced analytics integration with python
 

Más de Pragmatic Cohesion Consulting, LLC

Applying the integrative propositional analysis (ipa) to the ebmm – triads
Applying the integrative propositional analysis (ipa) to the ebmm – triadsApplying the integrative propositional analysis (ipa) to the ebmm – triads
Applying the integrative propositional analysis (ipa) to the ebmm – triadsPragmatic Cohesion Consulting, LLC
 
Comparing four major organizational cultures and the challenges faced when tr...
Comparing four major organizational cultures and the challenges faced when tr...Comparing four major organizational cultures and the challenges faced when tr...
Comparing four major organizational cultures and the challenges faced when tr...Pragmatic Cohesion Consulting, LLC
 
Framework for assessing business analysts situational awareness
Framework for assessing business analysts situational awarenessFramework for assessing business analysts situational awareness
Framework for assessing business analysts situational awarenessPragmatic Cohesion Consulting, LLC
 
The dynamics of cohesive and inconsistent project requirements and how they i...
The dynamics of cohesive and inconsistent project requirements and how they i...The dynamics of cohesive and inconsistent project requirements and how they i...
The dynamics of cohesive and inconsistent project requirements and how they i...Pragmatic Cohesion Consulting, LLC
 
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...Pragmatic Cohesion Consulting, LLC
 
The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...Pragmatic Cohesion Consulting, LLC
 
The dynamic interaction of passed and failed requirements during software tes...
The dynamic interaction of passed and failed requirements during software tes...The dynamic interaction of passed and failed requirements during software tes...
The dynamic interaction of passed and failed requirements during software tes...Pragmatic Cohesion Consulting, LLC
 
Balancing software project drivers a rational quantitative approach
Balancing software project drivers   a rational quantitative approachBalancing software project drivers   a rational quantitative approach
Balancing software project drivers a rational quantitative approachPragmatic Cohesion Consulting, LLC
 
Effective Listening - a cornerstone of effective business analysis
Effective Listening - a cornerstone of effective business analysisEffective Listening - a cornerstone of effective business analysis
Effective Listening - a cornerstone of effective business analysisPragmatic Cohesion Consulting, LLC
 
About the benefits and pitfalls of relying on analytical methods
About the benefits and pitfalls of relying on analytical methodsAbout the benefits and pitfalls of relying on analytical methods
About the benefits and pitfalls of relying on analytical methodsPragmatic Cohesion Consulting, LLC
 
Deductive, inductive, and abductive reasoning and their application in trans...
Deductive, inductive, and abductive reasoning and their application in  trans...Deductive, inductive, and abductive reasoning and their application in  trans...
Deductive, inductive, and abductive reasoning and their application in trans...Pragmatic Cohesion Consulting, LLC
 
34,000 delicious Food and Beverage combinations for your holidays!
34,000 delicious Food and Beverage combinations for your holidays!34,000 delicious Food and Beverage combinations for your holidays!
34,000 delicious Food and Beverage combinations for your holidays!Pragmatic Cohesion Consulting, LLC
 
Business analysis and business framework driven projects - Example of the Mic...
Business analysis and business framework driven projects - Example of the Mic...Business analysis and business framework driven projects - Example of the Mic...
Business analysis and business framework driven projects - Example of the Mic...Pragmatic Cohesion Consulting, LLC
 

Más de Pragmatic Cohesion Consulting, LLC (20)

Applying the integrative propositional analysis (ipa) to the ebmm – triads
Applying the integrative propositional analysis (ipa) to the ebmm – triadsApplying the integrative propositional analysis (ipa) to the ebmm – triads
Applying the integrative propositional analysis (ipa) to the ebmm – triads
 
Viewers locations usa - 30000
Viewers locations usa - 30000Viewers locations usa - 30000
Viewers locations usa - 30000
 
Viewers locations outside USA - 30000
Viewers locations outside USA - 30000Viewers locations outside USA - 30000
Viewers locations outside USA - 30000
 
Comparing four major organizational cultures and the challenges faced when tr...
Comparing four major organizational cultures and the challenges faced when tr...Comparing four major organizational cultures and the challenges faced when tr...
Comparing four major organizational cultures and the challenges faced when tr...
 
Obstacles to effective knowledge elicitation
Obstacles to effective knowledge elicitationObstacles to effective knowledge elicitation
Obstacles to effective knowledge elicitation
 
Viewers locations in the USA
Viewers locations in the USAViewers locations in the USA
Viewers locations in the USA
 
Viewers locations outside the USA
Viewers locations outside the USAViewers locations outside the USA
Viewers locations outside the USA
 
Framework for assessing business analysts situational awareness
Framework for assessing business analysts situational awarenessFramework for assessing business analysts situational awareness
Framework for assessing business analysts situational awareness
 
The dynamics of cohesive and inconsistent project requirements and how they i...
The dynamics of cohesive and inconsistent project requirements and how they i...The dynamics of cohesive and inconsistent project requirements and how they i...
The dynamics of cohesive and inconsistent project requirements and how they i...
 
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...
Agile scope creep and the Golden Ratio – Balancing Project Flexibility and Co...
 
The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...The non intuitive impact of software defects on development efforts time esti...
The non intuitive impact of software defects on development efforts time esti...
 
The dynamic interaction of passed and failed requirements during software tes...
The dynamic interaction of passed and failed requirements during software tes...The dynamic interaction of passed and failed requirements during software tes...
The dynamic interaction of passed and failed requirements during software tes...
 
Balancing software project drivers a rational quantitative approach
Balancing software project drivers   a rational quantitative approachBalancing software project drivers   a rational quantitative approach
Balancing software project drivers a rational quantitative approach
 
M theory for business analysts - 11 dimensions of empowerment
M theory for business analysts - 11 dimensions of empowermentM theory for business analysts - 11 dimensions of empowerment
M theory for business analysts - 11 dimensions of empowerment
 
Effective Listening - a cornerstone of effective business analysis
Effective Listening - a cornerstone of effective business analysisEffective Listening - a cornerstone of effective business analysis
Effective Listening - a cornerstone of effective business analysis
 
About the benefits and pitfalls of relying on analytical methods
About the benefits and pitfalls of relying on analytical methodsAbout the benefits and pitfalls of relying on analytical methods
About the benefits and pitfalls of relying on analytical methods
 
Deductive, inductive, and abductive reasoning and their application in trans...
Deductive, inductive, and abductive reasoning and their application in  trans...Deductive, inductive, and abductive reasoning and their application in  trans...
Deductive, inductive, and abductive reasoning and their application in trans...
 
34,000 delicious Food and Beverage combinations for your holidays!
34,000 delicious Food and Beverage combinations for your holidays!34,000 delicious Food and Beverage combinations for your holidays!
34,000 delicious Food and Beverage combinations for your holidays!
 
Business analysis compass mapping to the iiba babok v2
Business analysis compass mapping to the iiba babok v2Business analysis compass mapping to the iiba babok v2
Business analysis compass mapping to the iiba babok v2
 
Business analysis and business framework driven projects - Example of the Mic...
Business analysis and business framework driven projects - Example of the Mic...Business analysis and business framework driven projects - Example of the Mic...
Business analysis and business framework driven projects - Example of the Mic...
 

Último

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 

Último (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 

Creating Queuing Simulations with Sparx EA SysML

  • 1. Creating Queuing Systems Simulations with Sparx EA SysML Parametric Models 1 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting Add Performance Analysis to your EA Processes and System Models with Queuing Systems Simulations
  • 2. Queuing Systems Simulation • This presentation illustrates how to use Sparx Enterprise Architect Parametric Model features found in the Systems Engineering and Ultimate editions to simulate queuing systems. • The presentation assumes that user is already familiar with the use of Parametric Models. We recommend reading the following reference for an introduction to Parametric Models: Embedded Systems Development using SysML Chapter 5. 2 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 3. Queuing Systems • Queuing Systems are generally made of waiting lines (also called queues) and processing centers that perform some operation or provide a service on people/items taken from queues. • A typical example would be customers waiting in line at a bank to be serviced by tellers or automated teller machines. 3 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 4. Queuing System Simulation Item Repository • We use the Enterprise Architect SysML Block Definition Constraint Blocks to define several generic modeling elements that will be combined to create Queuing System Simulation parametric models. 4 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 5. Queuing System Simulation Elements Repository • We have defined four main groups of modeling elements: – Source elements: they model the arrival of the queuing system items such as customers arrival or work items submission. – Queue elements: they model the waiting lines or queues of source items. No queue rules such as First In first Out (FIFO) or Last In First Out (LIFO) are enforced. – Service elements: they model actions performed on a source item when it is time to process or service it. – Routing elements: they model routing items between services and queues. • Each element behavior is scripted • The states of the Queuing System Simulation elements are evaluated at time intervals controlled by the progression of a global variable t representing the passage of time. 5 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 6. Queuing System Simulation Elements Repository • Source elements: – Custom Arrival: It generates a number of items at specific values of t. User defines the number of items created for any value of t. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemReposit... t output 6 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 7. Queuing System Simulation Elements Repository • Source elements: – Simple Source: It generates an item if the value of a random variable is between the parameters P1 and P2 bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepositor... P1 : Real output : RealP2 : Real 7 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 8. Queuing System Simulation Elements Repository • Queue elements: – Simple Queue: It is the first queue an item enters from a Source element. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] input : Real ItemsInQueue : Real output : Real 8 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 9. Queuing System Simulation Elements Repository • Queue elements: – Next Queue: It is a Queue that follows a Service element. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] input : Real ItemsInQueue : RealPreviousQueue : Real output : Real 9 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 10. Queuing System Simulation Elements Repository • Queue elements: – Sink: It is a Queue from which no items are taken from once they enter it. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepositor... input : Real ItemsInSink : RealPreviousQueue : Real 10 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 11. Queuing System Simulation Elements Repository • Queue elements: – Simple Buffer: It is a buffer that moves input items into output items. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] input : Real output : Real 11 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 12. Queuing System Simulation Elements Repository • Service elements: – Simple Service: It is a service center that does not create any defects. It processes one item at the time at a rate set by P. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] input : Real P : Real output : Real 12 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 13. Queuing System Simulation Elements Repository • Service elements: – Service with Defects: It is a service center that can create defects. It processes one item at the time at a rate set by P. It generates defective items at a rate set by DP bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] P : Real DP : Real output : Real defectOutput : Real input : Real passOutput : Real 13 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 14. Queuing System Simulation Elements Repository • Routing elements: – Splitter: It randomly routes an item to either output 1 or output 2 based on a splitting ratio P. bdd [Package] QueueSimulationItemRepository [QueueSimulationItemRepository] P input output1 output2 14 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 15. Queuing System Simulation Elements Repository • Routing elements: – Merger: It combines two inputs into a single output. bdd [Package] QueueSimulationItemRepository [QueueSimulationIte... input1 input2 output 15 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 16. Queuing System Simulation Models • We use the Enterprise Architect SysML Parametrics Property and Constraint Property objects to create Queuing System Simulation models. • An example of a model is presented next. 16 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 17. Work Items Queuing System Parametric Model par [Package] QueueingParametricModelExample [QueueingParametricModelExample] t WorkCreationOutput: SimpleBufferinput output m_UnassignedWorkQueue : SimpleQueue input ItemsInQueue UnassignedWorkQueue: SimpleBufferinput output output m_WorkAssignment: SimpleService P WorkAssignmentRate input output : SimpleBufferinput output m_WorkAssignedQueue : NextQueue input output ItemsInQueue PreviousQueue WorkCompletionRate : SimpleBufferinput output WorkAssignedQueue : SimpleBufferinput output WorkDefectRate m_WorkCompletionAndVerification : ServiceWithDefects P DP passOutput defectOutput : SimpleBufferinput output DefectiveWorkDetectedCount m_DefectiveWorkQueue : NextQueue input output PreviousQueue ItemsInQueueZeroRate m_WorkCompleted : Sink input ItemsInSink CompletedWorkCount PreviousQueue CompletionOutput input output WorkAssignmentOutput CustomSource : CustomArrival t output m_TotalWorkQueue : NextQueue input PreviousQueue output ItemsInQueue : SimpleBufferinput output TotalWorkSubmittedCount 17 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 18. Work Items Queuing System Parametric Model • In this model, Work items are submitted over time according to a custom schedule. • Work items once created enter an Unassigned Work Queue • The Work Assignment Service then assigns work items one at a time to a Work Assigned Queue • The Work completion and Verification Service then takes one job at the time from the Work Assigned Queue and completes it. Upon completion the Work item is tested for defects • If a Work item is not defective, it is added to the Work Completed Sink otherwise it remains in the Work Assigned Queue for re-processing • If a Work item is found defective, it is recorded in the Detected Defects Queue • The Detected Defects Queue only serves as a counter of the number of defective Work Items found. We could have used a Sink Queue Element instead but the behavior is the same as long as the Queue Output Rate parameter is set to zero. 18 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 19. Configuring and Running the Parametric Model 19 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 20. Simulation Results A 20 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 21. Simulation Results A Input Parameters Values t 0 to 200 step 0.05 Work Assignment Rate 0.5 Work Completion Rate 0.25 Work Defect Rate 0.15 ZeroRate 0 Outputs Min Max Mean Completed Work count 0 657 404 Defective Work detected 0 114 71.75 Work Assigned Queue 0 178 65.5 Unassigned Work Queue 0 115 12.67 Work is fully completed at t = 152.35 21 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 22. Simulation Results B 22 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 23. Simulation Results B (Higher Work Defect Rate) Input Parameters Values t 0 to 200 step 0.05 Work Assignment Rate 0.5 Work Completion Rate 0.25 Work Defect Rate 0.30 ZeroRate 0 Outputs Min Max Mean Completed Work count 0 657 352 Defective Work detected 0 301 153.6 Work Assigned Queue 0 232 117.8 Unassigned Work Queue 0 115 12.67 Work is fully completed at t = 187.65 23 Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting
  • 24. Copyrights (c) 2011-2013 Pragmatic Cohesion Consulting 24 Contact didier@pragmaticohesion.com to find out how to create Systems and Processes Performance Analysis Models with your Sparx EA SysML Edition http://pragmaticohesion.com/ Compute the following Performance Measures: • Workloads • Processing Times • Utilizations