Steps to Create the Simulink Model
Steps to Create the Simulink Model
o For each of the three stations (Al Rawdha, Wadi Al Sail, Awali),
adjust the arrival rate, service time, and pump configuration
(number of pumps) accordingly.
4. Simulation Logic:
o Set the time window for the simulation (e.g., 1.5 hours
corresponding to the 4:30 PM - 6:00 PM peak period).
o Use Event-Driven Simulation in Simulink to simulate vehicle
arrivals and departures at the pumps.
5. Output Parameters:
o Track the Queue Length, Service Time, and Waiting Time for
each vehicle in the system.
o You can also output Statistics like average waiting time, service
time, and queue length.
7. Optimization:
1. Vehicle Arrival:
2. Queueing System:
3. Pump Service:
o Use Server blocks to simulate the servicing of vehicles at each
pump.
4. Departure:
5. Results:
o Visualize the queue length, waiting time, and service time using
Scope and To Workspace blocks.
You can modify the number of pumps, average service times, and vehicle
arrival rates for each station based on the specific data you have:
Once your model is set up, you can run the simulation for a specified time
window (e.g., 90 minutes from 4:30 PM to 6:00 PM) to test the effectiveness
of different configurations and staffing patterns.
Tables:
1 4:30 PM 2 5 4:37 PM
2 4:31 PM 1 4 4:36 PM
3 4:32 PM 3 4 4:39 PM
4 4:34 PM 4 5 4:43 PM
5 4:35 PM 2 4 4:41 PM
6 4:37 PM 5 5 4:47 PM
7 4:38 PM 3 4 4:45 PM
8 4:40 PM 4 5 4:49 PM
9 4:42 PM 3 4 4:49 PM
10 4:43 PM 5 4 4:52 PM
11 4:45 PM 2 5 4:52 PM
12 4:46 PM 4 4 4:54 PM
13 4:48 PM 3 4 4:55 PM
14 4:50 PM 5 5 5:00 PM
15 4:52 PM 4 4 5:00 PM
16 4:54 PM 3 5 5:02 PM
17 4:56 PM 4 4 5:04 PM
18 4:58 PM 2 4 5:04 PM
19 5:00 PM 3 5 5:08 PM
20 5:02 PM 4 4 5:10 PM
Wadi Al Sail Petrol Station