This project is a multi-processing and multi-threading application that simulates the inspection and packaging process of pharmaceutical medicines. It models the workflows in a pharmaceutical factory focusing on the manual inspection and packaging stages of production for liquid and pill-based medicines.
Demo.webm
The simulation is designed to represent a pharmaceutical factory that produces a user-defined number of different medicines on various production lines. It aims to mirror real-life scenarios where medicines are inspected and packaged by employees to ensure quality and compliance before distribution.
- Simulation of multiple production lines: Some lines produce liquid medicine while others produce pill-based medicine.
- Detailed inspection criteria:
- Liquid medicine checks: Liquid level, color, sealing, labeling, and expiry dates.
- Pill-based medicine checks: Pill count, color, size, and expiry dates on containers.
- Dynamic employee allocation: Employees can be shifted between production lines to optimize the inspection and packaging process based on the production speed and demands.
- User-defined thresholds and conditions for production amounts, quality specs, and simulation duration.
- Clone the repository:
git clone https://github.com/OsaidHamza7/RealtimeProject-3-Pharmaceutical-medicine-inspection-packaging.git
- Navigate to the project directory:
cd RealtimeProject-3-Pharmaceutical-medicine-inspe tion-packaging
- Build the project:
make all
-
Run the simulation:
make run
-
Follow the prompts to configure the simulation settings such as the number of production lines, production thresholds, and quality specifications.
-
Monitor the output which includes detailed logs of the inspection and packaging processes, employee activities, and end-of-simulation summaries.
- Osaid Hamza - Team Leader
- Razan Abdelrahman
- Maisam Alaa
- Ansam Rihan