Definition: Simulations that run indefinitely or until statistical stability is reached.
Key Metrics:
System equilibrium state.
Mean performance over time.
Techniques:
Removing transient (warm-up) period.
Using batch means method to estimate steady-state averages.
Analyzing autocorrelation in simulation results.
Agent-Based Simulation (ABS)
Definition: Uses autonomous agents that interact with each other and their environment.
Applications:
Social behavior modeling
Traffic congestion analysis
Market simulation
Epidemic spread analysis
Components:
Agents: Independent decision-making entities.
Environment: Space where agents interact.
Rules & Behaviors: Governs agent actions.
Using Agents for Complex Systems Evaluation
Why Use ABS?
Captures emergent behaviors.
Models decentralized decision-making.
Incorporates adaptive learning mechanisms.
Application Areas:
Smart city planning.
Ecological system analysis.
Economic modeling.
Multi-Agent Systems and Populations
Multi-Agent Systems (MAS): Simulations where multiple agents influence each other.
Key Principles:
Autonomy: Agents operate independently.
Communication: Agents share information.
Adaptation: Agents learn and evolve.
Examples:
Swarm intelligence (e.g., flocking birds, ant colony optimization).
Self-organizing traffic control.
Stock market trading models.
Quiz
Question 0x01
In order to provide realistic output, scientific models _________.
Incorporate all known variables in the real world
Must be accurate physical representations of a system
Use equations to describe every process within a system
Simplify the real world where appropriate
Answer 0x01
Question 0x02
Simulations in which one or more input variables are random are referred to as ______.
Stochastic simulation
Deterministic simulation
Discrete-event simulation
Dynamic simulation
Agent-based simulation
Answer 0x02
Question 0x03
The ______ distribution is the only continuous distribution that has the memoryless property. The ______. Distribution is the only discrete distribution that possesses the memoryless property.
Normal – Binomial
Exponential – Geometric
Poisson – Exponential
Geometric – Poisson
Answer 0x03
Question 0x04
A bank is an example of ____________ system, since __________________ variables e.g., the number of customers in the bank-change only when a customer arrives or finishes being served and departs.
continuous – flow
agent-based – state
discrete – flow
discrete – state
Answer 0x04
Question 0x05
In the ______________________________ simulation model inputs to the simulation are known values, while in the _____________________________ simulation model, one or more random variables are used for input data.
Answer 0x05
Question 0x06
The future-event list (FEL) is typically represented by a ______________________________, which can be efficiently implemented using a _______________________________.
Answer 0x06
Question 0x07
The exponential distribution has the memoryless property, meaning that _________________________________________________________________________.
Answer 0x07
Question 0x08
Monte Carlo simulations calculate _________________________ probability, which can be used as an approximation of __________________________ probability when the number of trials is high enough.
Answer 0x08
Question 0x09
The multiplicative congruential generator $X_{i+1} = (3X_i) \mod 2^{32}$ will have a period of $2^{32}$. (T/F)
Answer 0x09
Question 0x0A
Match the Questions
Building the right model
Building the model right
Time to reach initial transient
Iterative correction procedure of model building
Specification of probability distributions in model building
If the arrival rate is not affected by the number of customers being served and waiting, the model is called
With the following answers
Infinite population model, input modeling, verification, calibration, validation, warm-up period.
Answer 0x0A
Question 0x0B
Explain the differences between discrete-event, agent-based, and continuous simulation paradigms.
Answer 0x0B
Question 0x0C
What are the differences between traditional programming and agent-based modeling approach? Give an example.
Answer 0x0C
Question 0x0D
What are the main characteristics of Agent-Based Modeling? Explain and give an example.
Answer 0x0D
Question 0x0E
Explain the differences between:
Dynamic simulation and static (Monte Carlo) simulation,
Deterministic simulation and stochastic simulation,
Discrete simulation and continuous simulation.
Answer 0x0E
Question 0x0F
Give brief answers to the following questions:
What is the difference between model verification and validation?
Discuss why validating a model of a computer system might be easier than validating a military combat model. Assume that the computer system of interest is similar to an existing one.
Answer 0x0F
Question 0x10
In a given probability density function “a” is a constant.
Find b in terms of a.
Find cdf of the variable X.
Find the expected value of the variable X.
Answer 0x10
Question 0x11
For each of the systems listed, sketch the logic of an event-oriented model. Develop the model in any language (or pseudocode):
A central-server queuing model: when a job leaves the CPU queue, it joins the I/O queue with shortest length.
A queuing model of database system that implements fork join: a job receives service in two parts. When it first enters the server it spends a small amount of simulation time generating a random number of requests to disks. It then suspends (freeing the server) until such time as all the requests it made have finished, and then enqueues for its second phase of service, where it spends a larger amount of simulation time, before finally exiting. Disks may serve requests from various jobs concurrently, but serve them using FCFS ordering. Your model should report on the statistics of a job in service – how long (on average) it waited for phase 1, how long it waits on average for its I/O requests to complete, and how long it waits on average for service after its I/O requests complete.
Answer 0x11
Question 0x12 to Question 0x14
MISSING
Question 0x15
Discuss why validating a model of a computer system might be easier than validating a military combat model. Assume that the computer system of interest is similar to an existing one.
Answer 0x15
Question 0x16
What are the differences between traditional programming and agent based modeling approach. Give an example.
Answer 0x16
Question 0x17
What are the main characteristics of Agent Based Modeling? Explain and give an example.