IE360 Industrial System Simulation (TH) : Lecture Set 01 (Duration 2hrs)
IE360 Industrial System Simulation (TH) : Lecture Set 01 (Duration 2hrs)
Simulation (Th)
Lecture Set 01 (Duration 2hrs)
Prepared by
Dr. Shahid Maqsood
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 1
Contact Details
Prof. Dr. Shahid Maqsood
Email: [email protected] and
[email protected]
Ph: 03338900098
(Only Text with your name at bottom of text will be answered)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 2
Grading
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 3
Bonus Points
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 4
Course Outline
Concepts of discrete-event system modelling and simulation.
Use of the commercial Arena software.
Statistical models in simulations.
Material flow models: Assembly lines, transfer lines, Flexible
manufacturing systems, shop scheduling with many products.
Inventory control and Just-in-Time simulations.
Analysis of simulation data : Input modelling, Verification and
validation of simulation models, output modelling and analysis,
comparison and evaluations of alternative system designs.
Random Numbers: random number generations, random
variate generation.
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/5
Lecture 1
- What is Simulation -
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/6
Simulation Is ...
Very broad term, set of problems/approaches
Generally, imitation of a system via computer
Involves a model—validity?
Don’t even aspire (ultimate goal or desire) to analytic solution
Don’t get exact results (bad)
Allows for complex, realistic models (good)
Approximate answer to exact problem is better than exact
answer to approximate problem
Consistently ranked as most useful, powerful of mathematical-
modeling approaches
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Validation
In computer modelling and simulation, the process of
determining the degree to which a model or
simulation is an accurate representation of the real
world from the perspective of the intended uses of the
model or simulation.
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 8
Some Application Areas
Manufacturing—scheduling, inventory
Staffing personal-service operations
Banks, fast food, theme parks, Post Office, ...
Distribution and logistics
Health care—emergency, operating rooms
Computer systems
Telecommunications
Military
Public policy
Emergency planning
Courts, prisons, probation/parole
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Systems
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Models
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
What Do You Do with a Logical Model?
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Computer Simulation
Methods for studying a wide variety of models of real-
world systems
Use numerical evaluation on computer
Use software to imitate the system’s operations and characteristics,
often over time
In practice, is the process of designing and creating
computerized model of system and doing numerical
computer-based experiments
Real power—application to complex systems
Simulation can tolerate complex models
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Popularity
M.S. grads, CWRU O.R. Department (1978)
Asked about value after graduation; rankings:
1. Statistical analysis, 2. Forecasting, 3. Systems analysis, 4. Information
systems
5. Simulation
137 large firms (1979)
1. Statistical analysis (93% used it)
2. Simulation (84%)
Followed by LP, PERT/CPM, inventory, NLP
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Popularity (cont’d.)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/16
Advantages of Simulation
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
The Bad News
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
The Bad News (cont’d.)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
In Manufacturing Systems
Purely Discrete
Parts Arriving and leaving at specific times
Machine going down and up at specific times
Breaks for Workers
Mixed Continuous-discrete models
Refinery with continuous changing pressure inside vessels and
discretely occurring shutdowns
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 22
SIMULATION BY HAND
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 23
The Buffon Needle Problem
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/24
Why Toss Needles?
Buffon needle problem seems silly now, but it has
important simulation features:
Experiment to estimate something hard to compute exactly (in 1733)
Randomness, so estimate will not be exact; estimate the error in the
estimate
Replication (the more the better) to reduce error
Sequential sampling to control error—keep tossing until probable error in
estimate is “small enough”
Variance reduction (Buffon Cross)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Using Computers to Simulate
General-purpose languages (FORTRAN)
Tedious, low-level, error-prone
But, almost complete flexibility
Support packages
Subroutines for list processing, bookkeeping, time advance
Widely distributed, widely modified
Spreadsheets
Usually static models
Financial scenarios, distribution sampling, SQC
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/26
Using Computers to Simulate (cont’d.)
Simulation languages
GPSS, SIMSCRIPT, SLAM, SIMAN
Popular, in wide use today
Learning curve for features, effective use, syntax
High-level simulators
Very easy, graphical interface
Domain-restricted (manufacturing, communications)
Limited flexibility—model validity?
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/27
Where Arena Fits In
Hierarchical structure Higher User-Created Templates
Commonly used constructs
Vertical Solutions
consistent at
Application Solution Templates any level of
model Call$im
BP$im
etc.
modeling
Professional Edition
Many common modeling constructs
Arena Template
Level of
Reasonable flexibility
Standard Edition
flexibility
SIMAN Template
Blocks, Elements Panels
All the flexibility of the SIMAN simulation
language
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
When Simulations are Used
Uses of simulation have evolved with hardware,
software
The early years (1950s-1960s)
Very expensive, specialized tool to use
Required big computers, special training
Mostly in FORTRAN (or even Assembler)
Processing cost as high as $1000/hour for a sub-286 level machine
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/29
When Simulations are Used (cont’d.)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/30
When Simulations are Used (cont’d.)
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan lect1/31
When Simulations are Used (cont’d.)
The present
Proliferating into smaller firms
Becoming a standard tool
Being used earlier in design phase
Real-time control
The future
Exploiting interoperability of operating systems
Specialized “templates” for industries, firms
Automated statistical design, analysis
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan
Concluding Remarks
For Our Money
We Would prefer an approximate answer to the right problem rather
than an exact answer to the wrong problem
This is Called TYPE III Error
Providing the right answer to the wrong question
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 33
That’s All for Today
© Dr. Shahid Maqsood, Assistant Professor, Department of Industrial Engineering, UET Peshawar, Pakistan 34