PARKING
LOT SYSTEM
Presented by Thejesh
M
TITLE
Title Subtitle Name and
Multi-floor parking lot
simulation using MPI
A High-performance
computing project
date
Thejesh M
10 December 2024
INTRODUCTION
Simulates a parking lot system with three floors, each with 50
slots.
Demonstrates real-time updates and data synchronization.
Utilizes MPI for parallel and distributed computing.
Efficient resource management through high-performance
computing techniques.
PROBLEM STATEMENT
Design a parking lot system to dynamically update slot availability.
Simulate vehicle entry and exit for three floors.
Provide aggregated updates on total free slots.
Ensure efficient communication and synchronization using MPI.
OBJECTIVES
Simulate a dynamic multi-floor parking lot system.
Provide real-time updates on slot availability.
Use MPI for parallel and distributed processing.
Synchronize and aggregate data efficiently.
Apply high-performance computing techniques to solve real-world
problems.
METHODOLOGY
Initialize the MPI environment.
Simulate vehicle entry/exit on each floor every 5 minutes.
Each floor sends updated free slot data to the main process.
Main process aggregates and displays the updates.
Repeat the process for 15 minutes (3 intervals).
FLOW DIAGRAM
Initialize MPI Environment.
Simulate random vehicle entry/exit.
Floor sends updates to the main process.
Aggregate data in the main process.
Repeat for 3 intervals.
IMPLEMENTATION
Language: C.
Framework: MPI for process communication.
Processes:
>Floor processes: Simulate random vehicle movements and
update free slots.
>Main process: Aggregates data and displays real-time
updates.
RESULTS
Example Outputs:
> Slot availability for each floor over 3 intervals.
> Total free slots in the parking lot after each interval.
CHALLENGES
Ensuring real-time synchronization between processes.
Handling random vehicle entries and exits dynamically.
Implementing efficient communication in a simulated distributed
environment.
CONCLUSION
Successfully simulated a multi-floor parking lot using MPI.
Demonstrated the efficiency of parallel computing in real-time
systems.
Highlighted scalability for larger parking lots or similar systems.
Showcased pratical applications of high-performance computing.
FUTURE SCOPE
Extend to larger parking lots or more complex traffic patterns.
Incorporate live visualizations for better insights.
Apply to other resource management systems requiring
synchronization.