IEE 475: Lecture A2 (2026-08-27): Introduction to Simulation Modeling
Overview
Theodore P. Pavlic’s IEE 475 lecture distinguishes static outcome models from dynamic models that generate time-indexed trajectories, then compares system dynamics, agent-based modeling, and discrete-event system simulation. It develops the foundations of discrete-event simulation through airport, manufacturing, and university examples, defining system state, entities, resources, activities, delays, and stochastic input models.
Key takeaways
- A static input distribution becomes part of a dynamic model when combined with state-update rules, as airport interarrival times drive changing security queues and gate-area counts.
- System dynamics tracks aggregate quantities with continuous flows, agent-based modeling updates individual decisions, and discrete-event simulation jumps between scheduled state changes.
- In discrete-event simulation, an activity is a process duration specified as an input, while a delay is congestion-dependent waiting time measured as an output.
- Entities and resources are defined by the question being studied: airport passengers are entities in a customer-service model, but employees may become entities in a workforce model.
- Stochastic simulation uses random sampling as a practical substitute for modeling every cause of real-world variation, and repeated runs are needed to estimate outcome distributions.
- A discrete-event flowchart links entity creation, resource-dependent processes, conditional routing, and disposal, with arrivals and activity completions serving as common event generators.
Chapters
- A model is any tool that helps answer a what-if question; a useful model makes predictions that match the system it represents.
- Mental models draw on personal experience but are difficult to communicate or transfer, while quantitative models provide precise, shareable rules.
- Mathematical models are solved for relationships or predictions, whereas simulation models are run and analyzed through generated behavior.
- A static model produces a single outcome or a distribution of outcomes, such as annual profit relative to a risk threshold.
- A dynamic model produces a trajectory indexed by time, such as airport security queue length throughout a day.
- Repeated airport simulation runs can produce different trajectories, allowing analysts to estimate how often severe waits, such as 90-minute queues, occur.
- A static input model can describe the distribution of time between airport arrivals, estimated by observing arrivals at Phoenix Sky Harbor.
- A dynamic model combines that arrival input with state-update rules to track quantities such as people waiting for security and people in the gate area.
- The course focuses on dynamic models, while Monte Carlo Lab 3 also uses static models and statistical inference.
- Dynamic models differ in what carries the state and how that state advances through time.
- The core methodologies are system dynamics, agent-based modeling, and discrete-event system simulation, with hybrid approaches used when pure methods are insufficient.
- IEE 475 focuses primarily on discrete-event system simulation, while IEE 477 covers system dynamics and Lab 4 introduces agent-based modeling.
- System dynamics represents populations through aggregate state variables rather than tracking individual people.
- The Bass innovation-diffusion example tracks potential adopters and adopters, connected by flows described with differential equations.
- Epidemiological SIR models similarly track counts of susceptible, infectious, and recovered people, with changing flows between groups.
- Agent-based models represent individuals with agency, often updating their decisions at fixed time steps.
- An airport toy model tracks 496 passengers moving randomly and choosing whether to enter available security lanes, producing irregular state trajectories.
- Agent-based models can capture spatially dependent patterns such as forest-fire spread, but require justification of individual behavior and can be computationally demanding.
- Discrete-event system simulation advances directly to the next event that can change the system state, rather than calculating every intervening moment.
- An event calendar, also called a future event list, stores scheduled state-changing events such as passenger arrivals and service completions.
- Entities generally do not choose their own paths; process logic determines when they move and where, making the method efficient while still representing individual variation.
- An airport security model can show document-check queues, security resources, work in progress, and passenger movement through Arena’s 2D or 3D views.
- An emergency-room model routes patients by severity and available beds, doctors, nurses, and triage resources, while tracking outcomes and resource costs.
- Arena, AnyLogic, FlexSim, Simio, and custom Python code can implement the same underlying discrete-event concepts; the course emphasizes fundamentals over a single software package.
- A stochastic model uses probability to represent complexity, even when the real process is deterministic in principle, as with a bank customer’s service time.
- Analytic queuing methods use formulas to derive results, while stochastic simulation samples from arrival and service distributions and analyzes repeated runs.
- Simulation must be run multiple times to estimate a distribution of outcomes; varying a language model’s temperature illustrates how randomness can change repeated outputs.
- A system is a group of objects connected for a joint purpose, and its boundary determines what must be modeled; airport passenger appetite may be excluded unless it affects restaurant use.
- A dynamic system has a state, while a state variable stores a changing quantity; the number of people in a classroom is one example.
- IEE 475 focuses on discrete state changes, typically counts, rather than continuously changing quantities such as room temperature.
- A resource is a limited-capacity component that entities need to use, such as an airport X-ray scanner.
- Entities flow through the system and may queue when a resource is busy; passengers and manufactured parts are common examples.
- The same person can be a passenger entity in a customer-service model and an employee entity in a staffing model, while document checkers may be resources in the first model.
- An activity is the time required to perform a process, such as passing through an X-ray scanner, and its duration is modeled independently of system congestion.
- A delay is time spent waiting for access to a resource, so its duration depends on the system state and is estimated from a simulation run.
- Activity durations are input assumptions; waiting times and other delays are output measures, so queue waits should not be supplied as known input distributions.
- In a manufacturing model, parts are entities, machines are resources, and machine processing times are activities; parts’ arrival times and types can be stored as attributes.
- A manufacturing state vector might record five machines as busy or idle, with queue lengths added when the research question requires them.
- For a university model, classrooms and instructors can be resources, while arrivals, class starts, class ends, and fire alarms are events that may change system state.
- Create blocks generate entities using input models such as arrival-time distributions, while process blocks combine entities, resources, and activities.
- Entities queue when required resources are unavailable; decision blocks route them according to attributes, randomness, or current system state.
- Dispose blocks remove entities and can trigger statistics such as time in system; event timing commonly comes from entity arrivals and activity starts or completions.
- A deterministic arrival model might schedule passengers exactly 20 minutes apart, but that average pattern omits real variation that is difficult to model from individual details.
- A stochastic input model maps random-number draws to interarrival times so that common values cluster around 20 minutes while very short or long gaps remain rare.
- Later lectures develop methods for generating continuous distributions and outcomes such as an 80% security-pass rate, then use repeated-run statistics to make inferences.
Transcript excerpt
0:03 Okay, welcome back. So, a couple reminders. Uh, uh, homework B1 and, uh, lab two are available. Lab one, um, was, I think, due this week, Sunday. Lab one is a lot like the first half of homework B1, and lab two is a lot like the second half of homework B1. So, a lot of practice um, on these sorts of concepts here. um the you we're moving into unit B uh starting next week and so if you're following along in the text that's chapter 2 and so there's this A B2 um that will be available that's due before that lecture B2 which uh will be Thursday so a week from today uh it's just five questions to complete and that's basic sim concepts uh through that chapter 3 so that's where we are in the class um so
0:54 today focusing on simulation modeling specifically is last time we stopped or we started with just models. So we said what are models? Um what do we say is the most general definition of a model? Anybody? >> It's it it answer what if questions. So a good model is useful but any model is something that helps you answer a whatif question. You can have a bad model. You know, you can say uh you know uh you know what if um you know if I said if I what if I threw this remote control up in the air and I could have a bad conceptual model that well when things get thrown up then they they tend to keep moving up. Well that might be my model that might be a bad model because
1:41 the predictions from that model won't match what I actually will see where it'll go up and then come down. So um
This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.
In this course
Related notes
Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Ted Pavlic.