Beruflich Dokumente
Kultur Dokumente
Overview
What is simulation ? When simulation is appropriate tool When simulation is not appropriate Advantages and Disadvantages of simulation Areas of application Systems and Systems environment Components of a system Discrete and continuous systems Model of a system Types of models Discrete-event systems simulation Steps in simulation study Simulation Software's and selection of software's Literatures
What is model?
A model is a representation of real system or process for the purpose of studying the system A model may incorporate logical, mathematical and structural aspects of the system or process
What is model?
Model set of assumptions/approximations about how the system works
Study the model instead of the real system usually much easier, faster, cheaper, safer Can try wide-ranging ideas with the model
Make your mistakes on the computer where they dont count, rather than for real where they do count
What is Simulation?
Simulation very broad term methods and applications to imitate or mimic real systems, usually via computer Applies in many fields and industries Very popular and powerful method
What is Simulation ?
The representation of real situation in a computer by means of model so that, different conditions can be tested over period of time. It is a particular type of mathematical model of the system or representation (Imitation) of real world system or process over period of time.
Abstraction Assumptions
Model
Model of a System
A model is defined as a representation of a system for the purpose of studying the system. Types of models : Mathematical or physical. A mathematical model uses symbolic notation and mathematical equations to represent a system. A simulation model is a particular type of mathematical model of a system.
Model Classification
Physical (prototypes) Analytical (mathematical) Computer (Monte Carlo Simulation) Descriptive (performance analysis) Prescriptive (optimization)
Example : bank: the number of customers change when a customer enters or leaves the system
Continuous system: State variables change continuously over time. Example: water level in the dam and body temperature
3
2 1 time t
water
time
Physical (Prototypes)
Analytical (Mathematical)
n P( N n) 1
1 W L W
Wq W
2 Lq Wq
Descriptive
(Performance analysis)
Simulation Models
Simulation models: Static or dynamic, Deterministic or stochastic, Discrete or continuous. Static or Monte Carlo simulation represents a system at a particular point in time. Dynamic models: represent systems as they change over time. Deterministic simulation: Known sets of inputs and a unique sets of outputs.
Simulation Models
Stochastic simulation: has one or more random variables as inputs. Random inputs lead to random outputs.
Bank: random inter-arrival times and random service times. Output: average number of people waiting, average waiting time of a customer.
Discrete-event simulation: Modeling of systems in which the state variables changes at a discrete set of points in time .
Statement of the problem. The problem should be clearly understood. The objectives indicate the questions to be answered by the simulation. Determination should be made whether the simulation is appropriate methodology or not.
It is an art. Abstract the essential features of the problem Select and modify basic assumptions that characterize the system Enrich and elaborate the model until a useful approximation results. It is best to start a simple model and build toward greater complexity. Not necessary to have one-one mapping with real system. Only the essence of the real system is needed. Advisable to involve model user However, only experience can teach the model building.
contd..
Different kinds of data should be identified and collected while building a model.
Experimental design:
Length of the initialization period The length of simulation runs The number of replications to be made for each run Documentation and Reporting
PERFORMANCE TO BE MEASURES
Throughput Cycle time Resources utilizations WIP Staff requirements Queueing delays Bottleneck Effectiveness of scheduling Effectiveness of control system
Average arrival rate 100/hour and service rate is 12/hour, then the number of servers 100/12=8.33. Which means 9 or more servers are needed.
If the problem can be solved analytically. If it is easier to perform experiments If costs exceed savings If the resources or time is not available. If data or estimates are not available Ability to verify the model If managers have unreasonable expectations If the system is too complex.
Advantages
New policies, operating procedures, decision rules, information flows, or organizational procedures, and so on can be explored without disrupting ongoing operations of the real system New hardware designs, physical layouts, transportation systems, and so on, without committing resources for their acquisition. Hypotheses about how or why certain phenomena occur can be tested for feasibility. Insight can be obtained about the interaction of variables contd..
Advantages
Insight can be obtained about the importance of variables to the performance of the system Bottleneck analysis can be performed where work in progress , information, materials and so on are being delayed. A simulation study can help understanding how the system operates rather than how individuals think the system operates. What-if questions can be asked. This is useful in the design of new systems.
Areas of Applications
Manufacturing applications Construction Engineering Military applications Logistics, transportation, and distributed applications Business process simulation Human Systems
Manufacturing Applications
Analysis of electronics assembly operations Design and evaluation of a selective assembly static for high-precision scroll compressor bells Comparison of dispatching rules for semiconductor manufacturing using large-facility models Evaluation of cluster tool throughput for thin-film head production Determining optimal lot size for a semiconductor back-end factory
contd..
Manufacturing Applications
Optimization of cycle timer and utilization in semiconductor test manufacturing Analysis of storage and retrieval strategies in a warehouse Investigation of dynamics in a service oriented supply chain Model for an Army chemical munitions disposal facility
Human Systems
Modeling human performance in complex systems Studying the human element in air traffic control.
Example: Production system manufacturing automobiles. The machines, component parts and workers operate jointly along an assembly line to produce a high-quality vehicle.
Environment: A system effected by changes occurring outside the system. Such changes are said to occur in the system environment. There is a boundary between the system and environment.
Components of a System
Entity: object of interests in the system Attribute: property of an entity Activity: time period of specified length
Example: bank: Customers might be one of the entities, balance might be an attributes, and making deposit is an activity.
contd..
Components of a System
State: Collation of variables necessary to describe the system at any time relative to the objectives of the study.
Bank: # of busy tellers, # of customers waiting in the queue, arrival time of the next customer
Event: It is defined as an instantaneous occurrence that may change the state of the system. Depending on purpose, the number of components (entities, attributes, activities, states, events) varies.
Entities
Custome rs
Attribu tes
Checking Account balance
Activiti es
Making deposits Machini ng, welding Transmit ting Withdra wing
Events
Arrival and departure
State Variable
Number of busy tellers, number of customers waiting
Production
Machine s
Break down
Communic -ation
Arrival at
destination
Messages
Ware house
Inventory
Demand
Modelling Approach
Event Scheduling
System modelled via characteristic events Events have subroutines which update state variables. Time oriented sequence of inter-related events that describes the experience of an entity as it flows through a system. Overlay to an event scheduling system. Approach adopted in most current software.
Process Orientation
SIMULATION SOFTWARE
1st Category
2nd Category
3rd Category
Simulation language
GPSS (1965)SIMSCRIPT (1963)SIMULA GASP (1961)ALGOL SLAM (1979)SIMAN GPSS/4 (1977)SLAM IIAWESIM (1995)GEMS
Simulation Packages
ARENA (1993)AutoMODQ UEST EXTEND PROMODEL TaylorED WITNESS. . . . . . . . . . .and many more
Webbased simulation
Simulation Softwares
General purpose simulation packages: Arena,Extend, Awesim, Symix, GPSS, Micro saint, Modsim, Simple+, Taylor etc..
Simulation Software's
Application Oriented simulation packages Manufacturing: Automod, Promodel, Quest, Flexsim, Extend, Auto shed, Taylor, etc.. Communications Networks: COMNET III, OPNET Modeler, IT Decision guru etc.. Process Reengineering: Process model, SIMPROCESS, Extend BPR etc..
Simulation Languages
General in nature
Can model almost any type of system. Frequently include specific modelling constructs (such as material handling systems). Steep learning curve. Significant modelling and programming expertise is necessary. Long(ish) development cycles.
Common Features
1. 2. 3.
4.
5. 6. 7.
Generating random numbers (i.e. ~U(0,1)) Generating random variates from a specified probability distribution. Advancing the simulation clock. Determining the next event on the list event and passing control of to the appropriate piece of code. Adding and deleting records from a list. Collecting output statistics and reporting the results of the simulation run. Trapping error conditions.
GPSS Code
Assume an M/M/1system. Interarrival time = 2.0 minutes (exponential) Service time = 1.0 minutes (exponential). Assume an infinite queue.
* Simulation of M/M/1 system SIMULATE GENERATE RVEXPO(1, 2.0) QUEUE SERVQ SEIZE SERVER ADVANCE RVEXPO(2, 1.0) RELEASE SERVER TERMINATE 1 CONTROL STATEMENTS START END 1000
* * *
SLAM
IBM stopped support and development of GPSS about 1972. A market developed for alternative software that could run on newer machines (VAX & UNIX). In 1979, Alan Pritsker and David Pegden create SLAM (Simulation Language for Alternative Modeling). In the early 80s Pritsker and Pegden develop SLAMII, which ran on engineering workstations.
A feature of this new language is a graphical model builder. Users enter their model as a network diagram. When complete, the network is translated into SLAM code.
Awesim
SIMAN
About 1983 or so, Dennis Pegden develops his own simulation language. SIMAN (SIMulation ANalysis). The language was designed to run on a PC. It is remarkably similar in look, feel, content and style to SLAM. A lawsuit entailed.
BEGIN;
The animation is an add on unit for the model. Originally it required specialized (& expensive) hardware.
SLAM responds with a PC version of SLAM in the late 1980s (which also has animation). Both firms develop software to integrate factory scheduling into simulation runs.
WITNESS
WITNESS is offered by the Lanner Group. WITNESS is strongly machine oriented and contains many elements for discretepart manufacturing. WITNESS models are based on template elements. Elements may be combined into a designer element module to be reused
$13,000-$17,000 ($US)
ARENA
Process hierarchy. Integrates with Microsoft desktop tools Spreadsheet interface Crystal reports Free runtime software. Fully graphical environment. No programming required. VBA embedded. Optimization with OptQuest for Arena. Builds reusable modules. $1,000 - $17,000 ($US). Various add-in modules available.
ARENA
Arena can be used for simulating discrete and continuous systems Arena employs an object based design for entirely graphical model development. Modules are organized into collections called templates.
57
ARENA
58
ARENA
59
GPSS/H
Successor to the orginal simulation language (GPSS).
Makes use of common program blocks. Proven, reliable software. Extremely flexible. Extensive error checking routines. Post-process animations (Proof) can be built. ~$5,000 ($US)
AutoMod
It includes the AutoMod simulation package, AutoStat for experimentation and analysis, and Auto View for making AVI movies of the built-in 3-D animation. The main focus of the AutoMod simulation product is manufacturing and material handling systems.
61
Automod
Combines Virtual Reality (VR) graphics with a discrete and continuous simulation environment.
Manufacturing operations Material handling systems Tanks and pipe networks IC Manufacturing Transportation and logistics systems
AutoMod
63
AutoMod
64
AutoMod
65
Production flow
QUEST
QUEST if offered by Deneb Robotics QUEST models are based on 3-D CAD geometry. A QUEST model consists of elements from a number of element classes. Built-in element classes include AGV and transporters, buffer, conveyor, labour, machine, parts and process. Each element has associated geometric data and parameters that define its behaviour
QUEST
QUEST
Flexsim
Flexsim
ProModel
ProModel is offered by ProModel Corporation It is a simulation and animation tool designed to model manufacturing systems. ProModel offers 2-D animation with an optional 3-D like perspective view.
ProModel
ProModel is offered by ProModel Corporation ,USA. It is a simulation and animation tool designed to model manufacturing systems. ProModel offers 2-D animation with an optional 3-D like perspective view.
Promodel
State-of-the-art simulation engine Graphical user interface Distribution-fitting. Output analysis module Optional optimizer. Modules designed for: Manufacturing Healthcare Services $17,000 ($US)
2900 2700
Cycle Time
from above table average process time in percentage of total scheduled hours = (39.62+14.97+20.04+11.88+11.16+21.7+16.99+22.89+23.89+20.51)/18 = 11.31%=0.1131
average process time = 0.1131*231.57*60=1572.05
Stage 2
Stage 3
Stage 4
Software selection
Software contract negotiation
Stage 5
Stage 6
Software purchase
Purpose of simulatio n
Constrai nts
Models to be simulate d
Model develope rs
Educati on
Time
Discret e
Contin uo.
Initial
survey
Results of Evaluation
Software selection
Stages
Contract acceptable
Intermediate Results
Software purchase
Elements
Modeling Building features Graphical model building Input and out analysis capability Conditional routing Specialized components and templates Interface with general programming
Runtime environment Execution speed,Model size Number of variables and attributes Model status and statistics
Modeling Errors
The use of invalid models may results in serious simulation errors, and in fact this the cause for the failure of many simulation errors. A valid model is necessary prerequisite in simulation by using V & V
Coding error
Coding error. The code wrong, in commercial software or the practitioners specification of the model. Sometimes called verification error (analogous to modeling error being called validation error).
Numerical error
Numerical error. Computer arithmetic is not real number arithmetic; computers can store only a finite set of numbers. Examples include numbers close to zero being denser than numbers close to one, floating-point comparisons being suspect because of rounding, and combinatorial calculations overflowing.
Random-number error
Random-number error. Pseudorandom numbers are not truly random numbers. As computers become faster, sample sizes become larger, and sensitivity to randomnumber error increases.
Random-variate error
Random-variate error. Methods to generate random variates are sometimes approximations. For example,the reasonably good standard normal inverse transformation x = (u0.135 (1u)0.135)/0.1975truncates at about five standard deviations from the mean.
Sampling errors
Sampling error. Monte Carlo simulation analysis is fundamentally a statisticalinference method;therefore, sampling error is unavoidable. Sampling error is typically measured by standard error, the standard deviation of the point estimator, which is often inversely proportional to the square root of the sample size.
CONCLUSIONS
the application for simulation to address manufacturing problems. Developments in the area of simulation existing softwares for discrete event simulation and conduction of simulation studies were reviewed. The necessity and importance of simulation for modeling and analyzing the various classes of manufacturing problems was focused in this paper; we hope this paper may encourage the extensive use of simulation in manufacturing and development of simulation technology for addressing the problems which need serious attention.
MANUFACTURING SIMULATIONLABORATORY
List of Experiments
Performance evaluation of single line multi stage manufacturing system 2. Performance evaluation of multi line multi stage assembly manufacturing system 3. Break down analysis of manufacturing system 4. Study of Just In Time manufacturing system 5. Job shop scheduling problem 6. Design of Flexible Manufacturing system
1.
All the above problems are studied with different manufacturing environment, like line balancing, unbalancing, different buffer size, stochastic etc.. Using Awesim, Promodel, Automod, Flexsim and Witness simulation softwares.
Literatures
www.wintersim.org www.lionhrtpub.com Int.Jour. of Simulation and Modeling Int.Jour. of Statistical computation and simulation Simulation modeling and analysis by Law and Kelton Discrete event system simulation by Jerry banks and Nelson System Simulation by Jordon