9 - Simulation Modelling Flashcards
What is a simulation and why do we need it?
Simulation
Something that is made to look, feel or behave like something else, so it can be studied or used to train people
Simulation is reproducing a dynamic process in a system using a model that lends itself to experimentation, to achieve insights that can be transferred to the real world
What is a simulation and why do we need it?
Simulation vs. real world
- simulation allows us to test new strategies and future scenarios in complex systems ceteris paribus
- the goal are not mathematically optimal solutions but a deeper understanding of the system behavior and influences
What is a simulation and why do we need it?
Simulation vs. real world
The paradigms
- discrete-event-based
- agent based (how do we look at decision making in the system?)
- system dynamics (continuous vs. discrete changes)
What is a simulation and why do we need it?
Motivation: Simulation …
- supports the understanding of complex relationships in dynamic systems
- can use an artificial model to predict the real system’s behavior
- can highlight bottlenecks and weaknesses in the real system
- can test “intuitions” objectively
- does not put experimental stress on the real system
- can support strategic and operational decisions (by aiding the understanding of the system, not finding the optimal solution)
What is a simulation and why do we need it?
When not to use a simulation?
If experiments are easily and cheaply realized in the real systems
-> e.g. food testing in the super market
If the desired indicators can be calculated analytically
Discrete-event simulation
- Consider a modeled system as dynamic over time to be characterized by its state
- over time, events occur at particular time points and change the system state
- the simulation control processes events in the order of their occurrence and thereby moves through simulated time; this means that the simulated time does not pass smoothly
Discrete-event simulation
Some concepts of discrete event simulation
Entity
Permanent:
stays in the system (resource, e.g. machine)
Temporary:
moves through the system (e.g. product)
Discrete-event simulation
Some concepts of discrete event simulation
Entity Queue
- list of temporary entities with status waiting for an interaction
- usually assigned to resources
- processing can be FIFO, LIFO, random, …
- processing may depend on entity characteristics (priority queue)
Discrete-event simulation
Some concepts of discrete event simulation
Events
- mile stones in a discrete system
- events describe all system changes
- between events, the system state remains constant
- an event does not use up time - it takes place at a single point in time
Discrete-event simulation
Some concepts of discrete event simulation
Event list
List of all events with their respective time of occurrence
Discrete-event simulation
Some concepts of discrete event simulation
Simulation clock
Variable Stating the current time in the simulation model
-> How much time was spent waiting for something to happen?
Discrete-event simulation
Some concepts of discrete event simulation
Statistics indicator
- Variable storing statistic information about the system
- Example: Mean turn-over rate
Discrete-event simulation
Some concepts of discrete event simulation
Entity state
Entity is busy:
- machine is producing/a work station is being used
Entity is idle (before or after activity):
- machine is available, a customer awaits processing in a queue
Agent-based simulations
What is an agent-based simulation?
- agent-based simulations explicitly model decision makers as agents
Agents can:
- communicate, e.g. queuing up with friends
- perceive system states
- act rationally - or not, e.g. go to the shortest queue vs. go to the cashier who looks nice
- influence system states
- evolve
Agent-based simulations
What are agents?
- usually large sets of interconnected heterogenous agents are modeled to generate emergent effects
- > form patterns (can be observed) = emergent effects
- agent-based simulations are usually modeled on discrete time concepts
- > they can be event-based
- > they can be combined with continuously modeled environments
- the ODD Protocol was designed to make agent-based simulations replicable
System-dynamic simulations
System-dynamic simulations qualitatively model effects of continuous influence factors
- holistic approach of systems, integrating many subsystems
- focuses on policies and system structure
- Feedback loops to represent the effects of policy decisions
- dynamic view of the cause and effect relationships among system elements
- minimal data requirements to build a model
Originally from mechatronics, modeling continuous processes through differential equations
How to build a model
Conflict
When modeling the desire for highly detailed models and minimal development costs conflict
How to build a model
Ways to derive a model from the real system
Reduction:
- abandonment of unimportant system components
Abstraction:
- generalization of specific system characteristics