1 Fundamentals Of Simulation And Modeling

Simulation and Modeling · Unit 1

Fundamentals of Simulation and Modeling

Exam-focused notes for Fundamentals of Simulation and Modeling (Simulation and Modeling, BIT407): what the TU syllabus asks and how it has actually been tested, with 2 solved past questions from this unit.

Fundamentals of Simulation and Modeling in short

Simulation lets us study how a system behaves by running a model of it instead of the real thing. This chapter explains what simulation is, where it is used, how models are built, and how feedback shapes a system.

Fundamentals of Simulation and Modeling: notes

Definition and concept of simulation

A system is a set of parts that work together for a goal, such as a bank with tellers and customers. A model is a simplified copy of that system. Simulation is the process of building a model and running it over time to see how the system behaves.

The model keeps only the details that matter. A bank model may keep the arrival rate and service time, but not the colour of the walls.

Key terms:

  • Entity: an object of interest, such as a customer or a job.
  • Attribute: a property of an entity, such as the service time it needs.
  • State variable: a value that describes the system at one instant, such as the queue length.
  • Event: something that changes the state, such as an arrival.
  • Simulation clock: the variable that tracks the simulated time.

Why simulate instead of experimenting on the real system?

  • The real system may not exist yet, such as a new factory.
  • Experiments on the real system can be costly, slow, or dangerous.
  • Simulation can compress years into minutes.
  • We can test many "what if" cases with no risk.

Limits of simulation:

  • It gives estimates, not exact answers.
  • A badly built model gives wrong results that look believable.
  • Building and testing a good model takes time and skill.

Real-world applications of simulation

Simulation is used wherever testing the real system is costly or risky.

  • Manufacturing: find bottlenecks, plan machine layout, and set the size of buffers.
  • Healthcare: plan hospital beds and staff, and study how a disease may spread.
  • Transport: study traffic signals, airport runways, and train schedules.
  • Computer networks: test how a network behaves under heavy load before building it.
  • Finance and business: estimate risk, test inventory rules, and forecast demand.
  • Defence and training: flight simulators train pilots without risk to life or aircraft.
  • Weather and environment: forecast weather, floods, and the effect of pollution.

Example: a bank wants to know if a fourth counter is worth opening. A simulation with real arrival data shows the new average waiting time. The manager decides without hiring anyone first.

What this unit covers

  • Definition and concept of simulation
  • Real-world applications of simulation
  • Difference between continuous and discrete system modeling
  • Mathematical models and their formulation
  • Feedback systems in simulation

Real-world applications of simulation

0 · 5 marks

Explain how the concept of simulation can be used in real world. [5]

Simulation is the process of creating a computational or physical model of a real-world system to study its behavior, test hypotheses, or predict outcomes without directly experimenting on the actual system. - Simulate structural designs, stress testing, and material behavior before physical prot...

Open this answer on its own page →

Feedback systems in simulation

0 · 5 marks

What do you mean by feedback systems in simulation? Explain. [5]

Show solved answer

Feedback Systems in Simulation

Definition

A feedback system in simulation is a mechanism where the output or results of a simulation are used as input to influence subsequent iterations or states of the simulation. It represents a closed-loop process where system behavior is monitored, evaluated, and adjusted based on observed outcomes.

Key Characteristics

1. Closed-Loop Nature

Feedback systems create a circular flow of information:

  • System produces output
  • Output is measured/observed
  • Information is fed back into the system
  • System adjusts based on feedback
  • Process repeats

2. Components

A typical feedback system contains:

  • Sensor/Monitor: Captures output data
  • Comparator: Evaluates actual vs. desired state
  • Controller: Decides corrective action
  • Actuator: Implements adjustments to the system

Types of Feedback

Positive Feedback

  • Amplifies changes in the system
  • Output reinforces the initial change
  • Can lead to exponential growth or instability
  • Example: Population growth simulation

Negative Feedback

  • Counteracts changes to maintain stability
  • Output opposes the initial change
  • Maintains system equilibrium
  • Example: Temperature control simulation

Practical Example

In a queue simulation:

  • If queue length exceeds threshold (output)
  • Feedback triggers: add more servers (adjustment)
  • Reduced queue length observed
  • System stabilizes

Importance

Feedback systems make simulations:

  • More realistic and dynamic
  • Self-correcting and adaptive
  • Capable of modeling real-world control mechanisms
  • Better for studying system stability and behavior
Open this answer on its own page →