SlideShare a Scribd company logo
Overview of the Simulation Process
CS1538: Introduction to Simulations
Simulation Fundamentals
A computer simulation is a computer program that models
the behavior of a physical system over time.
 Program variables (state variables) represent the current
state of the physical system
 Simulation program modifies state variables to model the
evolution of the physical system over time
System
"A group of objects that are joined together in some
regular interaction or interdependence toward the
accomplishment of some purpose.“
Example: Banking
Components of a System: Entity
Entity – an object of interest in the system
 Example:A customer of the bank
 Attribute – a property of an entity
Example: the customer’s checking account balance
 Activity – some action performed by an entity
 Represented by a time period of specified length
 Example: making a deposit
Components of a System: State
State – “that collection of variables necessary to
describe the system at any time, relative to the
objectives of the study.”
Example:
 Number of busy tellers
 Number of customers waiting
Components of a System: Event
Event – “instantaneous occurrence that might change
the state of the system”
 Endogenous event – occurs within the system

 Exogenous event – occurs outside in the environment
 can still affect the system
Examples:
 Arrival of a new customer
 Completed service of a customer
Exercise
System Entities Attributes Activities Events State
variables
Transit
Laundromat
Email
Cafeteria
Discrete vs. Continuous Systems
 Discrete System
 State variables change at discrete points in time
 Event is associated with a state transition
 Continuous System
 State variables change continuously over time
 Can be described by differential equations (rate of change in
variables)
 “Few systems in practice are wholly discrete or continuous, but since
one type of change predominates for most systems, it will usually be
possible to classify a system as being either discrete or continuous.”
Modeling
 System Model – A representation of the system to be
used / studied in place of the actual system
 Physical model – Construct a (possibly scaled-down) physical
representation of the system
 Mathematical model – Represents the system using logical and
mathematical relationships
 Deterministic vs. Stochastic
 Does the simulation contain elements of randomness?
 Static vs. Dynamic
 Does the system change with time?
Types of Simulation Models
System model
deterministic stochastic
static dynamic static dynamic
continuous discrete continuous discrete
Monte Carlo
simulation
Discrete-event
simulation
Continuous
simulation
Discrete-event
simulation
Continuous
simulation
Slide adapted from: R. Fujimoto
Steps in a Simulation Study
Problem & Objective Formulation
Data Collection
Model Conceptualization
Model translation,
Verification,Validation
Experimental Design
Experimentation & Analysis
Documentation, Reporting,
Implementation
Simple Simulation: Single Server Queue
 Scenario:A fast-food
restaurant with just a single
server/cook and a single
stove.
 Customers arrive and wait in
line for their turn.
 The customer orders, then wait
for the food to be prepared
(service time may vary).
 Customer picks up the food
and leaves.
The Single Server Restaurant
 A few simplifying assumptions (for now)
 Ignore: customer’s party size, order complexity, money spent
 Customers will patiently wait for their turns indefinitely
 The restaurant never closes, never runs out of supplies, the
server is never tired
 Customer arrival is independent and identically distributed (iid)
 Service time is also iid.
 Simulations objectives:
 How often is the server idle?
 What’s the chance that a customer has to wait?
 On average, how long is a customer’s wait time?
 How long is a customer’s wait time given that there already is a line?
Modeling the Single Server Restaurant
 Need to model:
 Randomized customer arrivals
 Waiting in line
 Randomized customer service times
 How to generate a random event?
 How to simulate the passage of time?
Generating Random Events
 Customer arrival time:
 Suppose a new customer always arrives 6-10 minutes after the
previous customer arrives (discretized by minutes)
 We’ll assume the random gap length is generated from a uniform
distribution
How do we implement this?
Assume we have rand() a function that returns a random
number between [0,1]
 How about customer service (cooking) time with the
following distribution:
Cook time 3 min 4 min 5 min 7 min 8 min 9 min
Probability 0.1 0.2 0.3 0.25 0.1 0.05
Time Advance Mechanisms
Next-event time advance
 Simulation clock initialized to zero
 Determine the times of occurrences of future events
 Advance clock to the most imminent of the future event
 Update system variables
 Update knowledge of the times for future events
Fixed-increment time advance
 Simulation clock initialized to zero
 Increment clock by a fixed amount (Dt)
 Check to see if one or more events should have occurred
during the previous interval of length Dt.
 If so, consider them to occur at the end of the interval; update
system state variables
Why (When) is simulation useful?
19
 Direct experimentation is not possible
 Internal interactions of a complex system
 Many informational, organizational, environmental changes
 Diagnostics for the real system
 Suggestions for improvements
 Insights about how variables within the system interact
 Preview of a real system before building it
 Experiment with new designs or policies
 Learning and verification
 Complements analytic solutions
 In conjunction with animation, help to visualize the work flow
of the overall system
When not to use simulations?
20
 Don't use a simulation to solve a problem when it’s not
necessary
 Problem can be solved with common sense
 Problem can be solved easily and exactly with an analytic solution
 Don't use a simulation if it’s easier or cheaper to
experiment directly on a real system
 Don't use a simulation if the system is too complex to
model accurately, or if there isn’t enough resources/time to
perform a proper simulations study.

More Related Content

Similar to Bank entities.pdf

Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introductionraksharao
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modelingantim19
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulationchimco.net
 
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Marlon Dumas
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingBootNeck1
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulationDevaKumari Vijay
 
Strategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxStrategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxjshwyi
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSSEnaam Alotaibi
 
Cs854 lecturenotes01
Cs854 lecturenotes01Cs854 lecturenotes01
Cs854 lecturenotes01Mehmet Çelik
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modelingMinal Maniar
 
Simulation of Manufacturing System
Simulation of Manufacturing SystemSimulation of Manufacturing System
Simulation of Manufacturing SystemDeepaAbin
 
Time advance mehcanism
Time advance mehcanismTime advance mehcanism
Time advance mehcanismNikhil Sharma
 
Discrete event simulation
Discrete event simulationDiscrete event simulation
Discrete event simulationssusera970cc
 

Similar to Bank entities.pdf (20)

Unit 1 introduction
Unit 1 introductionUnit 1 introduction
Unit 1 introduction
 
Introduction to simulation and modeling
Introduction to simulation and modelingIntroduction to simulation and modeling
Introduction to simulation and modeling
 
MODELING & SIMULATION.docx
MODELING & SIMULATION.docxMODELING & SIMULATION.docx
MODELING & SIMULATION.docx
 
Introduction to Simulation
Introduction to SimulationIntroduction to Simulation
Introduction to Simulation
 
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
Mine Your Simulation Model: Automated Discovery of Business Process Simulatio...
 
Dss6 7
Dss6 7Dss6 7
Dss6 7
 
Unit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.pptUnit-1 Mod-Sim.ppt
Unit-1 Mod-Sim.ppt
 
System Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event SchedulingSystem Simulation and Modelling with types and Event Scheduling
System Simulation and Modelling with types and Event Scheduling
 
Unit 1 introduction to simulation
Unit 1 introduction to simulationUnit 1 introduction to simulation
Unit 1 introduction to simulation
 
DES
DES DES
DES
 
Strategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptxStrategy for Social Media MK Plan by Slidesgo.pptx
Strategy for Social Media MK Plan by Slidesgo.pptx
 
simulation modeling in DSS
 simulation modeling in DSS simulation modeling in DSS
simulation modeling in DSS
 
Cs854 lecturenotes01
Cs854 lecturenotes01Cs854 lecturenotes01
Cs854 lecturenotes01
 
3 interaction and_state_modeling
3 interaction and_state_modeling3 interaction and_state_modeling
3 interaction and_state_modeling
 
Simulation of Manufacturing System
Simulation of Manufacturing SystemSimulation of Manufacturing System
Simulation of Manufacturing System
 
Time advance mehcanism
Time advance mehcanismTime advance mehcanism
Time advance mehcanism
 
Proman
PromanProman
Proman
 
Simulator
SimulatorSimulator
Simulator
 
Simulation.pptx
Simulation.pptxSimulation.pptx
Simulation.pptx
 
Discrete event simulation
Discrete event simulationDiscrete event simulation
Discrete event simulation
 

Recently uploaded

Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesThousandEyes
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backElena Simperl
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Product School
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Product School
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeCzechDreamin
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...Elena Simperl
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomCzechDreamin
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...CzechDreamin
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonDianaGray10
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityScyllaDB
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 

Recently uploaded (20)

Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
Search and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical FuturesSearch and Society: Reimagining Information Access for Radical Futures
Search and Society: Reimagining Information Access for Radical Futures
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi IbrahimzadeFree and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
Free and Effective: Making Flows Publicly Accessible, Yumi Ibrahimzade
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone KomSalesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
Salesforce Adoption – Metrics, Methods, and Motivation, Antone Kom
 
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
Behind the Scenes From the Manager's Chair: Decoding the Secrets of Successfu...
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Optimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through ObservabilityOptimizing NoSQL Performance Through Observability
Optimizing NoSQL Performance Through Observability
 
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 

Bank entities.pdf

  • 1. Overview of the Simulation Process CS1538: Introduction to Simulations
  • 2. Simulation Fundamentals A computer simulation is a computer program that models the behavior of a physical system over time.  Program variables (state variables) represent the current state of the physical system  Simulation program modifies state variables to model the evolution of the physical system over time
  • 3. System "A group of objects that are joined together in some regular interaction or interdependence toward the accomplishment of some purpose.“ Example: Banking
  • 4. Components of a System: Entity Entity – an object of interest in the system  Example:A customer of the bank  Attribute – a property of an entity Example: the customer’s checking account balance  Activity – some action performed by an entity  Represented by a time period of specified length  Example: making a deposit
  • 5. Components of a System: State State – “that collection of variables necessary to describe the system at any time, relative to the objectives of the study.” Example:  Number of busy tellers  Number of customers waiting
  • 6. Components of a System: Event Event – “instantaneous occurrence that might change the state of the system”  Endogenous event – occurs within the system   Exogenous event – occurs outside in the environment  can still affect the system Examples:  Arrival of a new customer  Completed service of a customer
  • 7. Exercise System Entities Attributes Activities Events State variables Transit Laundromat Email Cafeteria
  • 8. Discrete vs. Continuous Systems  Discrete System  State variables change at discrete points in time  Event is associated with a state transition  Continuous System  State variables change continuously over time  Can be described by differential equations (rate of change in variables)  “Few systems in practice are wholly discrete or continuous, but since one type of change predominates for most systems, it will usually be possible to classify a system as being either discrete or continuous.”
  • 9. Modeling  System Model – A representation of the system to be used / studied in place of the actual system  Physical model – Construct a (possibly scaled-down) physical representation of the system  Mathematical model – Represents the system using logical and mathematical relationships  Deterministic vs. Stochastic  Does the simulation contain elements of randomness?  Static vs. Dynamic  Does the system change with time?
  • 10. Types of Simulation Models System model deterministic stochastic static dynamic static dynamic continuous discrete continuous discrete Monte Carlo simulation Discrete-event simulation Continuous simulation Discrete-event simulation Continuous simulation Slide adapted from: R. Fujimoto
  • 11. Steps in a Simulation Study Problem & Objective Formulation Data Collection Model Conceptualization Model translation, Verification,Validation Experimental Design Experimentation & Analysis Documentation, Reporting, Implementation
  • 12. Simple Simulation: Single Server Queue  Scenario:A fast-food restaurant with just a single server/cook and a single stove.  Customers arrive and wait in line for their turn.  The customer orders, then wait for the food to be prepared (service time may vary).  Customer picks up the food and leaves.
  • 13. The Single Server Restaurant  A few simplifying assumptions (for now)  Ignore: customer’s party size, order complexity, money spent  Customers will patiently wait for their turns indefinitely  The restaurant never closes, never runs out of supplies, the server is never tired  Customer arrival is independent and identically distributed (iid)  Service time is also iid.  Simulations objectives:  How often is the server idle?  What’s the chance that a customer has to wait?  On average, how long is a customer’s wait time?  How long is a customer’s wait time given that there already is a line?
  • 14. Modeling the Single Server Restaurant  Need to model:  Randomized customer arrivals  Waiting in line  Randomized customer service times  How to generate a random event?  How to simulate the passage of time?
  • 15. Generating Random Events  Customer arrival time:  Suppose a new customer always arrives 6-10 minutes after the previous customer arrives (discretized by minutes)  We’ll assume the random gap length is generated from a uniform distribution How do we implement this? Assume we have rand() a function that returns a random number between [0,1]  How about customer service (cooking) time with the following distribution: Cook time 3 min 4 min 5 min 7 min 8 min 9 min Probability 0.1 0.2 0.3 0.25 0.1 0.05
  • 16. Time Advance Mechanisms Next-event time advance  Simulation clock initialized to zero  Determine the times of occurrences of future events  Advance clock to the most imminent of the future event  Update system variables  Update knowledge of the times for future events Fixed-increment time advance  Simulation clock initialized to zero  Increment clock by a fixed amount (Dt)  Check to see if one or more events should have occurred during the previous interval of length Dt.  If so, consider them to occur at the end of the interval; update system state variables
  • 17. Why (When) is simulation useful? 19  Direct experimentation is not possible  Internal interactions of a complex system  Many informational, organizational, environmental changes  Diagnostics for the real system  Suggestions for improvements  Insights about how variables within the system interact  Preview of a real system before building it  Experiment with new designs or policies  Learning and verification  Complements analytic solutions  In conjunction with animation, help to visualize the work flow of the overall system
  • 18. When not to use simulations? 20  Don't use a simulation to solve a problem when it’s not necessary  Problem can be solved with common sense  Problem can be solved easily and exactly with an analytic solution  Don't use a simulation if it’s easier or cheaper to experiment directly on a real system  Don't use a simulation if the system is too complex to model accurately, or if there isn’t enough resources/time to perform a proper simulations study.