This project simulates and analyzes data from a Manufacturing Execution System (MES) in a pharmaceutical production environment. It focuses on quality control, environmental monitoring (temperature), and operator performance tracking.
The goal is to monitor a production line where temperature excursions directly impact product quality. The system tracks 150 production events, identifying correlations between sensor data, shifts, and batch success rates.
- Python: Data simulation using
pandasandnumpy. - Power BI: Interactive dashboard for real-time KPIs and trend analysis.
- GitHub: Version control and documentation.
| Variable | Description |
|---|---|
| Timestamp | Exact date and time of the recorded event. |
| Batch_ID | Unique identifier for the production lot (Essential for Pharma traceability). |
| Operator_ID | Unique ID for the operator on shift (categorized by Morning, Afternoon, and Night). |
| Sensor_Temp | Critical process parameter (°C). Target is < 26.0°C. |
| Quality_Status | Categorical: OK (within specs) or RECHAZADO (excursion detected). |
| Action | System response: Proceso Normal or ALERTA: Desviación Térmica. |
| Machine_State | Operational status: Running or Stopped (automatic interlock). |
Based on the Power BI analysis:
- Thermal Stability: The line shows a high sensitivity to temperature. The Max Temperature recorded (33.48°C) triggered immediate system stops to prevent batch contamination.
- Quality Yield: Out of 100 monitored events, 69% were successful (OK) while 31% were rejected. This indicates a need for better cooling system calibration.
- Operator Performance:
OP-NIGHT-01andOP-NIGHT-02face the highest number of rejections, suggesting that environmental conditions or fatigue during the night shift may affect process stability.OP-AFTERNOON-01shows the most stable "OK" ratio.
- Operational Risk: The Donut Chart confirms that 31% of total actions are Alarms, which directly correlates with the peaks shown in the Temperature Trend line chart.
- Run the
mes_project2.ipynbscript to generate the latestMES_Production_Audit_Trail.csv. - Open the
MES_project2.pbixfile in Power BI Desktop. - Refresh the data source to visualize the updated manufacturing metrics.
Developed as a technical showcase for Manufacturing Systems & Data Analysis.