Lecture 5: Simulation Technology and Manufacturing System Simulation
Lecture 5: Simulation Technology and Manufacturing System Simulation
Lecture 5: Simulation Technology and Manufacturing System Simulation
He Yanli
(heyl@nwpu.edu.cn)
• General Principles
– The system is broken down into suitable components or
entities
– The entities are modeled separately and are then connected
to a model describing the overall system
A bottom-up approach!
Steps
4. Data Collection
Phase 2
3. Model conceptualization
Model Building
5. Model Translation
No Phase 3
6. Verified
Yes Experimentation
No No
7. Validated
Yes
8. Experimental Design
Phase 4
Implementation
9. Model runs and analysis
15
Model Verification Methods
• Find alternative ways of describing/evaluating the system and
compare the results
– Simplification enables testing of special cases with predictable
outcomes
Removing variability to make the model deterministic
Removing multiple job types, running the model with one
job type at a time
Reducing labor pool sizes to one worker
• Build the model in stages/modules and incrementally test each
module
– Uncouple interacting sub-processes and run them separately
– Test the model after each new feature that is added
– Simple animation is often a good first step to see if things are
working as intended
Validation
• Can the conceptual model be substituted, at least
approximately for the real system?
– Is the right model built?
– Does the model adequately describe the reality you want to
model?
– Does the involved decision makers trust the model?
• Procedures
– Standing to criticism/Peer review (Turing)
– Sensitivity analysis
– Extreme-condition testing
– Validation of Assumptions
– Consistency checks
– Validating Input-Output transformations
– Validating using historical input data
Validation
Model qualification
CONCEPTUAL
Analysis
REALITY MODEL
Model Model
validation verification
Computer
Model
Example: problem Statement
• Recall single-server queueing model
• Assume interarrival times are independent
and identically distributed (IID) random
variables
• Assume service times are IID, and are
independent of interarrival times
• Queue discipline is FIFO
• Start empty and idle at time 0
• First customer arrives after an interarrival
time, not at time 0
• Stopping rule: When nth customer has
completed delay in queue (i.e., enters service)
… n will be specified as input
Example: problem Statement
• Quantities to be estimated
– Expected average delay in queue (excluding service time) of the n
customers completing their delays
Why ―expected?‖
– Expected average number of customers in queue (excluding any in
service)
A continuous-time average
Area under Q(t) = queue length at time t, divided by T(n) = time
simulation ends
– Expected utilization (proportion of time busy) of the server
Another continuous-time average
Area under B(t) = server-busy function (1 if busy, 0 if idle at time
t), divided by T(n)
– Many others are possible (maxima, minima, time or number in
system, proportions, quantiles, variances …)
• Important: Discrete-time vs. continuous-time statistics
Intuitive Explanation
• Given (for now) interarrival times (all times are in minutes):
0.4, 1.2, 0.5, 1.7, 0.2, 1.6, 0.2, 1.4, 1.9, …
• Given service times:
2.0, 0.7, 0.2, 1.1, 3.7, 0.6, …
• n = 6 delays in queue desired
• ―Hand‖ simulation:
– Display system, state variables, clock, event list, statistical counters
… all after execution of each event
– Use above lists of interarrival, service times to ―drive‖ simulation
– Stop when number of delays hits n = 6, compute output performance
measures
Intuitive Explanation
Status
shown is
after all
changes
have
been
made in
each
case …
Interarrival times: 0.4, 1.2, 0.5, 1.7, 0.2, 1.6, 0.2, 1.4, 1.9, …
Service times: 2.0, 0.7, 0.2, 1.1, 3.7, 0.6, …
Intuitive Explanation
Interarrival times: 0.4, 1.2, 0.5, 1.7, 0.2, 1.6, 0.2, 1.4, 1.9, …
Service times: 2.0, 0.7, 0.2, 1.1, 3.7, 0.6, …
Final output performance measures:
Average delay in queue = 5.7/6 = 0.95 min./cust.
Time-average number in queue = 9.9/8.6 = 1.15 custs.
Server utilization = 7.7/8.6 = 0.90 (dimensionless)
content
• Modeling and Simulation: concepts and application
• Simulation technology
• Manufacturing system simulation and the software
Characteristics of Manufacturing Systems
• Physical layout • Production Control
• Labor • Supplies
• Equipment • Storage
• Maintenance • Packing and Shipping
• Work centers
• Product
• Production Schedules
Performance Measures
in Manufacturing Modeling
• Throughput under average and peak loads
• Utilization of resources, labor and machines
• Bottlenecks
• Queueing
• WIP storage needs
• Staffing requirements
• Effectiveness of scheduling and control
• Time in system for parts/Times parts spend in queues
• Timeliness of deliveries
Definition of Objective
• Performance analysis
• Capacity analysis
• Configuration comparisons
• Optimization
• Sensitivity analysis
• Visualization
Definition of Scope
• Breadth (model scope)
• Depth (level of detail)
• Data gathering responsibilities
• Planning the experimentation
• Required format of results
Definition of Requirements
• The 90-10 rule
• Size of project (data readily available)
– small (2-4 weeks)
– large (2-4 months)
• Data gathering (50% of time)
• Model building (20% of time)
Basic Principles of Modeling
• To conceptualize a model use
– System knowledge
– Engineering judgement
– Model-building tools
• Remodel as needed
• Regard modeling as an evolutionary process