Simulation and Modeling · Unit 4
Discrete Event Simulation and GPSS
Exam-focused notes for Discrete Event Simulation and GPSS (Simulation and Modeling, BIT407): what the TU syllabus asks and how it has actually been tested, with 1 solved past questions from this unit.
Discrete Event Simulation and GPSS in short
In a discrete event simulation, the system state changes only when an event happens, such as a call arriving or ending. GPSS is a language made for this kind of model, and it is well suited to queues and telephone systems.
What this unit covers
- Discrete event simulation principles
- GPSS language and symbols
- Arrival patterns in simulation
- Telephone system simulation using GPSS
- Discrete system modeling examples
Arrival patterns in simulation
0 · 10 marks
What is arrival pattern in simulation? Describe the how telephone system can be simulated using GPSS symbols.[10]
Show solved answerHide answer
Model Answer: Arrival Pattern in Simulation and Telephone System Simulation in GPSS
Part 1: Arrival Pattern in Simulation
Definition: An arrival pattern in simulation refers to the sequence and timing at which entities (customers, jobs, calls, etc.) enter a system. It describes how frequently and at what intervals new entities arrive into the system being modeled.
Key Characteristics of Arrival Patterns:
-
Deterministic Arrival: Entities arrive at fixed, predictable intervals (e.g., every 5 minutes)
-
Stochastic/Random Arrival: Entities arrive randomly following a probability distribution:
- Poisson distribution (most common for real-world systems)
- Exponential distribution (inter-arrival times)
- Normal distribution
- Uniform distribution
-
Arrival Rate: The average number of arrivals per unit time (λ)
-
Inter-arrival Time: The time between consecutive arrivals
Importance:
- Determines system load and congestion
- Affects queue length and waiting times
- Critical for accurate system performance prediction
Part 2: Telephone System Simulation Using GPSS Symbols
Overview: A telephone system can be modeled in GPSS where calls are transactions, telephone lines are servers, and switching equipment represents service facilities.
GPSS Symbols and Their Application:
| GPSS Symbol | Telephone System Equivalent | Function |
|---|---|---|
| GENERATE | Call arrival source | Creates incoming calls at specified intervals |
| QUEUE | Waiting line/buffer | Holds calls waiting for available lines |
| SEIZE | Telephone line allocation | Allocates an available telephone line to a call |
| DEPART | Exit from queue | Call leaves the waiting queue |
| ADVANCE | Call duration | Simulates the time call is in progress |
| RELEASE | Line release | Frees the telephone line after call ends |
| TERMINATE | Call end | Removes call from system |
| FACILITY | Telephone line/trunk | Resource representing available lines |
Basic Telephone System Model Structure:
GENERATE A,B,C,D,E
(Calls arrive with mean A, spread B)
QUEUE WAITLINE
(Calls queue if no lines available)
SEIZE TRUNK
(Allocate a telephone line)
DEPART WAITLINE
(Leave the queue)
ADVANCE X,Y
(Call duration: mean X, spread Y)
RELEASE TRUNK
(Free the telephone line)
TERMINATE 1
(End the call transaction)
Example Scenario:
- Calls arrive following Poisson distribution (mean 10 calls/hour)
- System has 5 telephone lines (FACILITY: TRUNK, capacity 5)
- Average call duration: 3 minutes
- Calls unable to get a line wait in queue
- Simulation tracks: queue length, line utilization, call blocking probability
Key Metrics Collected:
- Average queue length
- Average waiting time
- Facility utilization (line occupancy)
- Call blocking rate
- System throughput
This GPSS model allows telephone system designers to optimize the number of lines needed to maintain acceptable service levels.
Make Unit 4 stick
Practice BIT407 with flashcards & quizzes