You are on page 1of 49

Technology

Forge

Version
2.0

Arena Tutorial 2 –
Serial Processing
vs.
Parallel Processing
Copyright 2010
All rights reserved
Mark Polczynski
mhp.techforge@gmail.com

Arena Tutorial 2 - Serial vs. Parallel Processing

1

Location of this and
other
Simulation With Arena
book examples
Arena Tutorial 2 - Serial vs. Parallel Processing

2

Tutorial Goals:
•Build basic model of four-step process.
•Add warm-up period to generate results on steady-state
conditions.
•Run the simulation for multiple replications to improve
statistical significance of results.
•Add a decision block for returned applications.
•Assign difficulty levels to individual applications.
•Change the series organization of the loan approval process
to a parallel system.
•Miscellaneous issues.
Arena Tutorial 2 - Serial vs. Parallel Processing

3

Loan Approval
Process:
1.Check credit rating, by
Alfie
2.Prepare loan covenant, by

Looking for statistics on:

Betty

loan, by Chuck
•Average of the total time, from entry3.Price
to completion,
that
an application spends in the system. 4.Disburse funds, by Doris

Shorter times mean happy customers, and loan
interest payments start sooner.

•Average of the total time applications are waiting to be
worked on at the next process step.

Can we re-organize process to reduce waiting time?
Arena Tutorial 2 - Serial vs. Parallel Processing

4

Parallel Processing 5 .Serial vs.Basic Model Arena Tutorial 2 .

Serial vs. Parallel Processing 6 .Checking your model for errors Check model without running Arena Tutorial 2 .

Parallel Processing 7 .Configure modules Arena Tutorial 2 .Serial vs.

Serial vs.Configure modules Arena Tutorial 2 . Parallel Processing 8 .

Configure modules Replace “Mean” with “1” Arena Tutorial 2 . Parallel Processing 9 .Serial vs.

Serial vs.Specify run length and reporting units Arena Tutorial 2 . Parallel Processing 10 .

Serial vs.Note! Your results may vary! Arena Tutorial 2 . Parallel Processing 11 .

•Add warm-up period to generate results on steadystate conditions. Parallel Processing 12 . •Change the series organization of the loan approval process to a parallel system. •Assign difficulty levels to individual applications. •Miscellaneous issues. Arena Tutorial 2 .Tutorial Goals: •Build basic model of four-step process.Serial vs. •Add a decision block for returned applications. •Run the simulation for multiple replications to improve statistical significance of results.

Add warm-up period Arena Tutorial 2 . Parallel Processing 13 .Serial vs.

Parallel Processing 14 .08 Arena Tutorial 2 .98 Was 16.Review results Still 0.Serial vs.00 Was 11.

Serial vs. •Miscellaneous issues. •Add warm-up period to generate results on steady-state conditions. Arena Tutorial 2 . •Assign difficulty levels to individual applications. •Run the simulation for multiple replications to improve statistical significance of results. •Add a decision block for returned applications.Tutorial Goals: •Build basic model of four-step process. •Change the series organization of the loan approval process to a parallel system. Parallel Processing 15 .

Serial vs.Set number of run replications Arena Tutorial 2 . Parallel Processing 16 .

45 Was 27.21 Arena Tutorial 2 .27 Was 16.Review results Was 12. Parallel Processing 17 .31 Was 22.Serial vs.

Review results Indicates confidence in the average value Arena Tutorial 2 .Serial vs. Parallel Processing 18 .

Parallel Processing Meaning of half width 19 . Arena Tutorial 2 .Serial vs.the half width range.For 100 replications. 95 of the replications would have simulated average values equal to the actual average values +/.

26 for 10 replications Arena Tutorial 2 . Parallel Processing 20 .36 and 4.Serial vs.16 for 10 replications Was 16.45 and 4.Effect of increasing replication s Results for 100 replications: Was 12.

•Run the simulation for multiple replications to improve statistical significance of results. •Assign difficulty levels to individual applications. Parallel Processing 21 . •Add warm-up period to generate results on steady-state conditions. •Add a decision block for returned applications.Tutorial Goals: •Build basic model of four-step process. •Miscellaneous issues.Serial vs. •Change the series organization of the loan approval process to a parallel system. Arena Tutorial 2 .

Serial vs.Not all applicatio ns are accepted Add Decide module 10% of apps will be returned Add Dispose module Arena Tutorial 2 . Parallel Processing 22 .

Arena Tutorial 2 .Serial vs.Review results Effect of returning 10% of apps 10 repetitions of 160 hours with an 8 hour warm-up. Parallel Processing 23 .

Arena Tutorial 2 . •Add a decision block for returned applications. •Miscellaneous issues. •Assign difficulty levels to individual applications. •Run the simulation for multiple replications to improve statistical significance of results. •Change the series organization of the loan approval process to a parallel system.Serial vs. •Add warm-up period to generate results on steady-state conditions.Tutorial Goals: •Build basic model of four-step process. Parallel Processing 24 .

How do we account for differences in the loans Arena Tutorial 2 .Serial vs. This accounts for differences in how each loan officer handles each application.Sources of process delay time variation: • Differences in how each loan officer handles each application. • Differences between each loan application. Parallel Processing themselves? 25 .

Serial vs. we have at least one variable: the system clock. and depart from the resource after being serviced. not just an entity type.Entities are the things that flow through the process we are modeling. our entities have just two attributes: arrival time and service time. but attributes are just the ones that we care about in the model. • For now. Application entities. • Entities may have many different characteristics. we have just two events: entities arrive at a resource or its queue. which keeps time while the simulation is running. Resources are the things that do the work on the entities. except they apply to the entire process. Parallel Processing 26 . • Just as there can be multiple types of entities in a model. • Different types of entities can be flowing through the process. there can be multiple types of resources. Attributes are characteristics that are common to all entities of the same type. • Sometimes variables are called global variables. • Typically. Events are things that happen to entities as they flow through the process. • They are the things that get worked on by the process. Arena Tutorial 2 . • For now. Variables are like attributes. Addbe a needed difficulty-related • More than one resource or one type of resource may to work on attribute to the an entity.

5. 1.Serial vs.5) Arena Tutorial 2 .Accounting for application difficulty Type in: Credit difficulty Type in: TRIA(0. Parallel Processing 27 . 1.

What does Process module do with tagged entity? Arena Tutorial 2 . Generates a value from triangular distribution 3. Generates a loan application entity Assigning attributes to entities 2.1. Gives the value the name Credit difficulty 4.Serial vs. Attaches value and name to entity 5. Parallel Processing 28 .

Parallel Processing 29 .5) Arena Tutorial 2 . 1.Resource-related variation vs. entity-related variation Accounts for entityrelated variability Accounts for resourcerelated variability Credit difficulty = TRIA(.Serial vs. 1.5.

Arena Tutorial 2 . Parallel Processing 30 .We just did this one for Application difficulty Add a difficulty-related attribute for each process step.Serial vs.

Parallel Processing 31 .We just did this for Application difficulty Change Expression for the other three Process modules Arena Tutorial 2 .Serial vs.

Arena Tutorial 2 .Serial vs. Parallel Processing 32 .Review results 10 repetitions of 160 hours with an 8 hour warm-up.

•Change the series organization of the loan approval process to a parallel system.Serial vs.Tutorial Goals: •Build basic model of four-step process. •Add warm-up period to generate results on steady-state conditions. Arena Tutorial 2 . •Miscellaneous issues. Parallel Processing 33 . •Run the simulation for multiple replications to improve statistical significance of results. •Add a decision block for returned applications. •Assign difficulty levels to individual applications.

Parallel processing of applications Edit all four Edit all four process modules Arena Tutorial 2 .Serial vs. Parallel Processing 34 .

Serial vs.Create 4 generic loan officers Arena Tutorial 2 . Parallel Processing 35 .

Arena Tutorial 2 .Serial vs.Review results 10 repetitions of 160 hours with an 8 hour warm-up. Parallel Processing 36 .

Parallel Processing 37 .Current process module configuration Arena Tutorial 2 .Serial vs.

i.e. entities seize resources. apps seize loan officers vs. Parallel Processing 38 . Arena Tutorial 2 .Serial vs.Note: In Arena.. loan officers seizing apps.

Parallel Processing 39 .Serial vs.Still need to release loan officer Arena Tutorial 2 .

Serial vs. Parallel Processing 40 .Review results 10 repetitions of 160 hours with an 8 hour warm-up. Arena Tutorial 2 .

•Miscellaneous issues.Serial vs. Parallel Processing 41 . •Add warm-up period to generate results on steady-state conditions. •Change the series organization of the loan approval process to a parallel system. •Assign difficulty levels to individual applications. •Add a decision block for returned applications. Arena Tutorial 2 . •Run the simulation for multiple replications to improve statistical significance of results.Tutorial Goals: •Build basic model of four-step process.

“+” key “-” key Zooming the model view Arena Tutorial 2 .Serial vs. Parallel Processing 42 .

Parallel Processing 43 .Serial vs.Naming a model view Arena Tutorial 2 .

Serial vs. Parallel Processing 44 .Prints on page 1 Drag a box and move the contents Prints on page 2 Seeing how the model will print Arena Tutorial 2 .

Parallel Processing Scaling the print-out 45 .Default = 500 Now prints on page 1 Arena Tutorial 2 .Serial vs.

Serial vs. Parallel Processing 46 .The SMARTs Library provides example on how to do various things in Arena Arena Tutorial 2 .

Find the SMARTs topic you are interested in and open it up Arena Tutorial 2 . Parallel Processing 47 .Serial vs.

Click on a module to see how it is configured Arena Tutorial 2 .Serial vs. Parallel Processing 48 .

Parallel Processing 49 .Contact the Author: Mark Polczynski. PhD The Technology Forge mhp.techforge@gmail .com Arena Tutorial 2 .Serial vs.