Automotive MES Traceability & Analytics
View on GitHubIndustrial Analytics
Automotive MES Traceability & Analytics
A simulated automotive assembly-line MES using an ISA-95 model, PLC–MES interlocks, BOM verification, press and torque validation, and supplier-lot containment.
PythonSQLSQLitePytestFastAPIReactISA-95
Key Highlights
- Documents 13 interlock rules, an OPC UA tag map and Site Acceptance Test scripts; includes 23 Pytest cases.
- A supplier-lot containment query traces 148 affected units within a 600-unit simulation.
- Reports first-pass yield and rolled throughput yield metrics.
Tech Stack
PythonSQLSQLitePytestFastAPIReactISA-95
Overview
A fictional automotive assembly-line manufacturing execution system simulation that models traceability, quality gates and production analytics across stations.
Key Features
- PLC–MES interlocks and poka-yoke bill-of-material verification.
- Press and torque validation, nonconformance handling and supplier-lot containment.
- ISA-95-oriented architecture, OPC UA tag mapping and acceptance-test scripts.
Results & Findings
- The README documents a 600-unit, one-week run: 586 packed, 6 packed after rework and 8 scrapped.
- Reported RTY is 0.9766; the simulation records 21 Andon events.
- Containment identifies 148 affected units from supplier lot L-CAL-2207.
Getting Started
The repository documents Python 3.10 or later, a 600-unit simulation and a pytest suite.
pip install -r requirements.txt
python simulate.py --units 600
pytest -vProject Structure
- Simulation and application code for MES workflow
- docs/: interlock rules, OPC UA tag map and acceptance tests
- output/figures/: generated production and quality charts
- tests/: Pytest suite
Screenshots

