MCS4301 · Topic 1Modelling & Simulation foundations
1
Modelling & Simulation foundationswhy simulate · model types · systems · workflow Practise · 4 Qs

Exam card

  • Model = a simplified representation of a real system built for a purpose — captures the important components, variables, relationships, assumptions, inputs & outputs, and no more.
  • Simulation = running that model over time to study behaviour under chosen conditions — what-if experiments without touching the real system.
  • Why simulate: real systems are often too complex to analyse directly, and real experiments can be expensive, risky, slow or impossible.
  • Three model types: iconic (looks like the system — a topology diagram), analogue (behaves like it — road traffic ↔ network traffic), symbolic (maths / rules / program — the key one in CS, e.g. arrival rate λ, service rate μ).
  • System = interacting components with entities, activities, resources, state variables; the boundary fixes what's modelled, the environment is outside influences; we track inputs → state → processes → outputs.
  • Workflow: Problem → Conceptual model → Math/logical model → Computational model → Experiments → Analysis → Decision — plus verify & validate, and it iterates.

Key diagram

Iconic · Analogue · Symbolic — increasing abstraction → Iconic looks like the system a network topology diagram resembles the real layout scaled / visual likeness Analogue behaves like the system road traffic ↔ network traffic cars→packets · roads→links intersections→routers shares behaviour, not looks Symbolic maths / rules / program arrival rate λ, service rate μ a Python/Java simulation the key one in Computer Science
swipe to see the whole diagram

Key terms

modelsimulationiconic / analogue / symbolicsystemstate variablesboundary vs environmentinputs → state → processes → outputsverify & validatewhat-if experiment

What this topic covers

  1. Why simulate?
  2. What is a model? (and its three types)
  3. What is a system — boundary, environment & I/O
  4. Simulation & the workflow

Exam questions · 4 Practise these 4

Q1Define a model and a simulation, and explain why we simulate.
A model is a simplified representation of a real system (important components, variables, relationships, assumptions, I/O) built for a purpose. A simulation runs that model over time to study behaviour. We simulate because real systems are too complex to analyse directly and real experiments may be expensive, risky, slow or impossible — simulation enables what-if analysis safely.
Q2Describe the three types of model, with a computing example of each.
Iconic — resembles the system (a network topology diagram). Analogue — a different system that behaves similarly (road traffic as an analogue of network traffic: cars→packets, roads→links, intersections→routers, congestion→congestion). Symbolic — maths/rules/program (model a network with arrival rate λ and service rate μ and study λ>μ); the key type in CS.
Q3List the steps of a simulation study.
Problem definition → Conceptual model → Mathematical/logical model → Computational model → Simulation experiments → Analysis → Decision. Throughout: verify & validate the model, and iterate (steps repeat as the model is refined).
Q4What do the system boundary and environment mean? Give inputs/state/outputs for a web server.
The boundary fixes which components are modelled; the environment is outside influences not modelled in detail — both set by the study's objective. For a web server: inputs = request arrival rate/workload; state = queue length, number of busy servers; processes = how requests are queued/served; outputs = response time, throughput, utilisation, loss.