Simulation
Simulation
Simulation
VISION
To strive at creating the Institution as a center of excellence, so as
to create an overall intellectual atmosphere with each deriving
strength from the other top transforms individuals into great
engineers, scientists and professionals.
MISSION
To serve its region, state, the nation and globally by preparing
students to make meaningful contributions in an increasingly
complex global society, by encouraging reflection on and valuation
of emerging needs and priorities, and by supporting research and
service that enhance technological, health, economic, human and
cultural development
VISION
To emerge as an excellent center for imparting quality education
and generating highly proficient technical manpower with
managerial competence to adapt to the constantly changing global
scenario with professional and ethical values
MISSION
Creating a sound academic environment for students & teachers to
update their knowledge with excellent ambience of teaching learning
process.
Industry institute interaction in the form of faculty exchange,
projects, workshops and seminars.
Developing human relations and social engineering for students in
the form of extracurricular & co-curricular activities
Program outcome
Each student learning outcome maps to one of the program educational objectives (PEOs) as indicated in
parenthesis following the outcome. Graduates of the program will :
a. Demonstrate an ability to apply mathematical and quantitative methods to the IE & M discipline and
shall demonstrate an understanding of industrial and system engineering, design, development and
understanding the architecture. (PEO1)
b. Demonstrate a problem solving ability in recognition of a problem, statement , collect, collate, classify
and analyze the data interpretation to the suggest recommended. (PEO1)
c. Demonstrate an ability to design a system, method or process to meet desired needs within realistic
constraints such as economic, environmental, social, political, ethical, health and safety,
manufacturability, and sustainability. (PEO2)
d. Be able to work effectively and efficiently on a multi-disciplinary teams.(PEO3)
e. Demonstrate an understanding of the principles and practices for IE & M skills and development to real
world problems. (PEO2)
f. Demonstrate an understanding of the professional and ethical consideration of industrial and system
engineering. (PEO4)
g. Be able to effectively communicate orally and in written form. (PEO3)
h. Demonstrate knowledge of the impact of engineering solutions in a economic, societal, global and
environmental context. (PEO4)
i. Demonstrate the knowledge and capabilities necessary for pursuing a professional career or take up
entrepreneurship ventures at graduate studies and recognize the need for and show ability for continuing
professional development. (PEO5)
j. Enhance the knowledge of contemporary issues. (PEO5)
k. Demonstrate an understanding of emerging technologies and a working knowledge of currently
available sectors of economy and industries. (PEO2)
The industrial Engineering and Management program outcomes leading to the achievement of the
objectives are summarized in the following table
SIMULATION LAB
Name of the Laboratory
Semester
VI-2014
No. of Students/Batch
20
No. of Computers
23
Major Equipments
Lab Incharge
Prof.Rajesh S.M
Prof. Radha Halagalli
Instructor
Dr.H Ramakrishna
Head of the Department
SIMULATION
LAB
(10 IML 68)
Subject Code
:
No. of Lab Hrs./ Week :
Total No. of Lab Hrs. :
10 IML 68
03
42
IA Marks
Exam Hours
Exam Marks
: 25
: 03
: 50
PART - A
Introduction to Simulation Packages
Understanding the Simulation Package
Identifying probability distributions for given data
Building simulation models for manufacturing operations (Electronic assy With Basic templates)
Building simulation models for manufacturing operations (Electronic assy With Common
templates)
Building simulation models for manufacturing operations with transport System
Building simulation models for manufacturing operations with layout
PART B
Building simulation models for manufacturing operations with layout and transport System
Building simulation Models for Banking service ( Bank teller problem)
Building simulation Models for Mortgage application problem
Building simulation Models for food processing problem
Building simulation Models for Post office animation
Statistical Analysis of Simulation models ( input analysis)
Statistical Analysis of Simulation models (output analysis)
Suggested Software Packages: Promodel/Arena/Quest/Witness/Extend.
Note: A minimum of 12 exercises are to be conduct
List of Exercises
Exercise No.
1
Title
PART -A
Introduction to Simulation Packages
5
6
7
8
9
Page No.
1
10
11
13
14
15
PART -B
10
17
12
13
24
14
25
11
15
19
20
27
31
34
2014-15
WHY SIMULATE?
Provide genera insight into the nature of a process.
Identify specific problems or problem areas within a system.
Develop specific policies or plans for a process.
Test new concepts and/or systems prior to implementation.
Improve the effectiveness of a system
Provide an insurance policy for system performance.
SIMULATION
cannot optimize It can only describe the results of what if questions
Cannot give accurate results if the data are inaccurate.
Cannot describe system characteristics that have not been explicitly modeled.
cannot solve problems. it can only provide information.
Cannot provide easy answers to complex problems.
Page 1
2014-15
Page 2
2014-15
Outputs
Control logic
Level of detail
Flexibility
Analysis
MODEL FORMULATION
One or more analysts.
Data structure requirements.
Model control logic
Level of detail
Flexibility
Statistical requirements.
VERIFICATION AND VALIDATION
Verification Ensuring that the model behaves in The way it was intended.
Validation; Ensuring the model behaves the same as the real system Requires
Involvement of all players
Use of animation and data
Reasonable and robust model
THE ANALYSIS
Addresses the project objectives
An iterative process
Helps the analyst understand the results
Establishes result accuracy and sensitivity
THE FINAL PRESENTATION
Keep it short and simple
Answer the right questions
Address the audience
Provide reasons for the results.
COMPONENTS OF A SIMULATION MODEL
Entities
Resources
Control logic
Statistics
Dept. of IE&M, DSCE, Bangalore
Page 3
2014-15
TYPICAL ENTITIES
Physical objects Parts or products, paper work customers, patients etc.
Logical entities; Failure control, requests, system control, staff breaks, etc.
TYPICAL RESOURCES
Constrained resources: machines, space, tables, hospital beds, etc
Material handling Fork trucks, AGVs, conveyor wheel) chairs, etc
Staffing operators, material handlers, doctors, waiters etc.
TYPICAL CONTROL LOGIC
Order release
Dispatching
Sequencing
Assernb4y
Material handling
Queue priority
Resource priority
TYPICAL STATISTICS
Resource utilization : busy, idle, failed etc.
Waiting time: Queue, material handling, assembly etc
Cycle time : throughput, area, resource etc
Production rates: product, area, shift et
Performance due dates, inventory, overtime etc.
the
system
Customers
causes
moving
change
through
in
a
the
status
-Restaurant,
of
or
the
system.
parts
moving
through a factory.
ATTRIBUTES
With in a system, there may be many types of entities, each having a unique characteristics
called attributes.
Page 4
2014-15
Attributes represent user defined values associated with individual entities, such as customer
type. product size, time job entered the system etc.
All entities have the same set of attributes (priority, arrival time etc.) with different values.
An assignment made to an entitys attribute affects only that entity.
VARIABLES
A set of changeable values characterizing The components of the system as a whole, not the
characteristics of individual entities
Two types: user variables and system variables
User variables are defined (named) by the modeler and can be changed during the simulation
run (within the model or interactively).
Examples: Arrival rate, current inventory, number of patients registered, etc.
System variables are predefined characteristics of model components that provide the system
state.
Examples: No of entities waiting in a queue (NQ) or current value of a counter (NC)
STATIONS
Arena approaches the modeling of systems by dividing them into sub system locations or
stations.
Stations are used to represent processing areas of the systems being modeled.
Stations:
Make the modeling effort more manageable
Provide a framework for the control of entity flaw.
Provide a means to model entity movement .Example: a machining area, service counter, a
warehouse etc.
RESOURCES
A resource is one or more identical
The number of identical resource units corresponding to a specific resource is called the
resource capacity.
Dept. of IE&M, DSCE, Bangalore
Page 5
2014-15
Page 6
2014-15
Page 7
2014-15
Page 8
2014-15
Page 9
2014-15
6,8,10
5,8,10
15,20,25
8,12,16
11,13,15
4,6,8
15,18,21
6,9,12
27,33,39
7,9,11
7,10,13
18,23,28
Page 10
2014-15
All process times are triangularly distributed; The process time given at Cell 3 are of the older
machine.
The inter arrival times between successive part arrivals (all types combined) are
exponentially distributed with a mean of 13 minutes. The distribution by type is 26% Part 1;
48% Part 2 and 26% Part 3. Parts enter from left and exit at right, and move only in a clockwise
direction through the system. Time to move between any 2 cells is 2 minutes. Model the System
using Arena and collect the statistics on resource utilization, time and number in queue, as well
as cycle time ( time in system from entry to exit) by part type. Run the simulation for 2000
minutes.
Page 11
2014-15
inspection and the same probability of failing. There is no limit on how many times a given
part might have to loop back through the waster. Run this model under the same conditions
and compare the results for the time in queue length and utilization at the inspection center.
Page 12
2014-15
Probability
0.10
0.20
0.30
0.25
0.1
0.05
Page 13
2014-15
8. Building simulation Models for Banking service ( Bank teller problem-Single channel)
A bank has a drive- in teller. The times between customer arrival are :
Time between arrivals
(Minutes)
Probability
0.09
0.17
0.27
0.20
0.15
0.12
Page 14
2014-15
Probability
0.20
0.40
0.28
0.12
i)
ii)
iii)
iv)
Page 15
2014-15
Page 16
2014-15
PART-B
10. Building simulation Models for Banking service ( Bank teller problem-Multi
channel)
Customers arrive at the Bank and enter a queue to wait for the single teller. When the customer
reaches the teller, he performs his transaction. When the initial transaction is completed, the
teller determines if the customer must see the supervisor. If this is the case the customer moves
to the single supervisor. When finished, the customer returns to the teller queue to redo his
transaction. If the customer is not required to see the supervisor, he leaves the bank.
The time between customer arrivals is exponentially distributed with a mean of 5 minutes.
The travel times from the entrance to the teller queue and from the teller to the exit are both 1
minute. All teller transaction times are normally distributed with a mean of 3 minutes and
standard deviation of 1. 10% of the customers are required to see the supervisor. It is possible
for a customer to see the supervisor several times. Travel times to and from the supervisor takes
1.5 minutes and the supervisor time follows a triangular distribution (12,15,20).
Collect statistics on the teller and the supervisor utilization, customer flow time and number
in the teller queue. Run the simulation for an 8.5 hours a day.
Page 17
2014-15
Page 18
2014-15
Page 19
Arrival
2014-15
ie, 10 3 min
Ie, 10 4 min
Record ver-1
Record ver-2
NORM (3.1)
Manager
10%
Build a Simulation Model and collect the statistics for run time of 480 mins.
12. Building simulation Models for food processing problem
People arrive at a self-service cafeteria at the rate of one every 30 20 sec.Forty % go to the
sandwich counter, where one worker makes a sandwich in 60 30 sec. The rest go to the main
counter, where one server spoons the prepared meal on to a plate in 45 30 sec.All customers
must pay a single cashier, which takes 25 10 sec. For all customers eating takes 20 10 min.
After eating, 10% of the people go back for dessert, spending an additional 10 2 min.
altogether in the cafeteria. Simulate until 100 people have left the cafeteria. How many people
are left in the cafeteria, and what are they doing, at the time simulation stops?
SOLUTION:
Page 20
2014-15
Page 21
2014-15
Page 22
2014-15
Page 23
2014-15
Page 24
2014-15
Page 25
2014-15
Immediately after the second machine, there is a pass/fail inspection that takes a constant 5
minutes to carry out and has an 80% chance of passing result; Queuing is possible at inspection,
and the queue is first in and first out. All parts exit the system regardless of whether they pass
the test. Count the number that fail and the number that pass, and gather statistics on the time
in queue, queue length and utilization at the inspection center. Run the simulation for 480
minutes.
In the above exercise, suppose that parts that fail inspection after being washed are sent
back ad rewashed, instead of leaving, such rewashed parts must then undergo the same
inspection and the same probability of failing. There is no limit on how many times a given
part might have to loop back through the waster. Run this model under the same conditions
and compare the results for the time in queue length and utilization at the inspection center.
SOLUTION:
Page 26
2014-15
Random
No.
Random Variates
(mean=0.5)
Random Variates
(mean=1)
Random Variates
(mean=2)
0.34942426
2.102936922
1.051468461
0.525734231
Page 27
2014-15
0.75398787
0.564757999
0.282379
0.1411895
0.83119928
0.369771406
0.184885703
0.092442851
0.19707692
3.248322341
1.624161171
0.812080585
0.95939372
0.082907478
0.041453739
0.02072687
0.19679708
3.251164262
1.625582131
0.812791066
0.67341197
0.790795988
0.395397994
0.197698997
0.01182342
8.875346555
4.437673277
2.218836639
0.69035954
0.741085475
0.370542738
0.185271369
0.5680591
1.13105964
0.56552982
0.28276491
0.20272889
3.191771405
1.595885703
0.797942851
0.12322261
4.187525414
2.093762707
1.046881354
0.9604718
0.080661324
0.040330662
0.020165331
0.61783486
0.963068149
0.481534075
0.240767037
0.54440614
1.216119442
0.608059721
0.304029861
0.42772325
1.69855779
0.849278895
0.424639448
0.93817615
0.127635103
0.063817552
0.031908776
0.07021059
5.312512364
2.656256182
1.328128091
0.20173488
3.2016018
1.6008009
0.80040045
0.51447138
1.329230705
0.664615352
0.332307676
0.73889691
0.605193721
0.30259686
0.15129843
0.1535534
3.747413771
1.873706886
0.936853443
0.11885466
4.259707671
2.129853835
1.064926918
0.92109534
0.164383471
0.082191735
0.041095868
0.74612934
0.585712627
0.292856314
0.146428157
0.11096276
4.397121272
2.198560636
1.099280318
0.14292567
3.890861152
1.945430576
0.972715288
Page 28
2014-15
0.86837213
0.282269881
0.141134941
0.07056747
0.95016848
0.102231933
0.051115966
0.025557983
0.08687523
4.886564662
2.443282331
1.221641166
0.31878421
2.286481707
1.143240853
0.571620427
0.21023089
3.119097724
1.559548862
0.779774431
0.85270564
0.318681759
0.159340879
0.07967044
0.47450091
1.490983497
0.745491749
0.372745874
0.64069869
0.890392003
0.445196002
0.222598001
0.34739541
2.114583301
1.057291651
0.528645825
0.58908043
1.058385094
0.529192547
0.264596273
0.43517295
1.664023461
0.83201173
0.416005865
0.13344206
4.028175789
2.014087894
1.007043947
0.02800066
7.151054503
3.575527251
1.787763626
0.5971271
1.031250586
0.515625293
0.257812647
0.72270844
0.649498795
0.324749398
0.162374699
0.56911198
1.12735612
0.56367806
0.28183903
0.30782299
2.35646074
1.17823037
0.589115185
0.40621095
1.801765359
0.900882679
0.45044134
0.83066526
0.371056753
0.185528377
0.092764188
0.95793161
0.085957773
0.042978887
0.021489443
0.21657064
3.059677024
1.529838512
0.764919256
0.50232396
1.37702007
0.688510035
0.344255018
0.72944748
0.630935811
0.315467906
0.157733953
Page 29
2014-15
Page 30
2014-15
Make 5 replications of the above simulation. And observe the changes in output.
Tabulate the readings.
2. Simulate a simple processing system which consists of a drilling machine and the processing
time varies according to Triangular distribution of minimum 1, value 3 and maximum 6. The
part enters the system with a random exponential value of 5 minutes. After exiting the first
machine the parts go for a separate kind of processing (rewash). Processing times at the second
machine are the same as for the first machine. After processing at 2 machine the part leaves the
system. All time units are in minutes. Gather all statistics:
Plot number waiting at drilling center queue and number busy at drill press &
rewash.
Page 31
2014-15
3.Simulate a simple processing system in which The part enters the system with a random
exponential value of 5 minutes. The part moves to a drilling machine and the processing time
varies according to Triangular distribution of minimum 1, value 3 and maximum 6.
After
exiting the first machine the parts go for a separate kind of processing (rewash). Processing
times at the second machine are the same as for the first machine. Immediately after the second
machine, theres a pass fail inspection that takes a constant 5 minutes to carry out and has an
80% chance of passing result; queuing is possible at inspection, and the queue is first in and
first out. All parts exit the system regardless of whether they pass the test. All time units are in
minutes.
Gather all statistics:
Add plots to track the queue length and number busy at all three stations.
4. Simulate a simple processing system which consists of a drilling machine and the processing
time varies according to Triangular distribution of minimum 1, value 3 and maximum 6. The
part enters the system with a random exponential value of 5 minutes. After exiting the first
machine the parts go for a separate kind of processing (rewash). Processing times at the second
machine are the same as for the first machine. Immediately after the second machine, theres a
pass fail inspection that takes a constant 5 minutes to carry out and has an 80% chance of
passing result; queuing is possible at inspection, and the queue is first in and first out. The parts
that fail inspection after being washed are sent back and rewashed, instead of leaving; such rewashed parts must then undergo the same inspection, and have the same probability of failing.
Theres no limit on how many times a given part might have to loop back through the washer.
All parts exit the system regardless of whether they pass the test. All time units are in minutes.
Page 32
Add plots to track the queue length and number busy at all three stations.
2014-15
5. Simulate a simple processing system in which the part enters the system with a random
exponential value of 5 minutes. The part moves to the drilling machine and the processing time
varies according to Triangular distribution of minimum 1, value 3 and maximum 6.
After
exiting the first machine the parts go for a separate kind of processing (rewash). Processing
times at the second machine are the same as for the first machine. Immediately after the second
machine, theres a pass fail inspection that takes a constant 5 minutes to carry out and queuing
is possible at inspection, and the queue is first in and first out. The inspection can result in one
of the three outcomes; pass (probability 0.8) fail (probability 0.09) and rewash (probability
0.11). Failures leave immediately, and rewashes loop back to the washer. The above
probabilities hold for each part undergoing inspection, regardless of its past history. All time
units are in minutes.
Gather all statistics:
Add plots to track the queue length and number busy at all three stations.
Page 33
2014-15
1.
2.
3.
4.
5.
6.
7.
Page 34