Skip to content

NMsby/bank-queue-simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bank Queue Simulation

Project Overview

A discrete event simulation of a single-server bank queue system implemented in Java for my Computer Simulations and Modeling unit.

Objectives

  • Simulate 100 customers in a single-server bank queue
  • Model uniform arrival times: U(1,8) minutes
  • Model uniform service times: U(1,6) minutes
  • Calculate comprehensive queue statistics and performance metrics

Features

  • Discrete event simulation engine
  • Comprehensive customer tracking
  • Queue performance analysis
  • Statistical summary reporting
  • Professional formatted output

Requirements

  • Java 11 or higher
  • IntelliJ IDEA (recommended)
  • Maven (for project management)

Project Structure

bank-queue-simulation/
├── README.md
├── .gitignore
├── src/
│   └── main/
│       └── java/
│           └── com/
│               └── simulation/
│                   └── bank/
│                       ├── BankQueueSimulation.java
│                       ├── Customer.java
│                       └── SimulationStatistics.java
├── docs/
│   ├── assignment-requirements.md
│   ├── simulation-analysis.md
│   └── results/
└── .idea/ (IntelliJ project files)

Quick Start

  1. Clone the repository
  2. Open in IntelliJ IDEA
  3. Run BankQueueSimulation.main()
  4. View detailed results and statistics

Output

The simulation provides:

  • Detailed customer-by-customer statistics table
  • Summary statistics including averages and maximums
  • Queue performance metrics
  • Server utilization analysis

Academic Context

Key concepts included:

  • Discrete event simulation
  • Queueing theory (M/M/1 queue approximation)
  • Random number generation
  • Statistical analysis
  • Performance modeling

License

This academic project is licensed under the MIT License. See the LICENSE file for details.

About

Discrete event simulation of a single-server bank queue system with uniform arrival and service time distributions. Includes queue statistics for performance analysis.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages