Cadence simulates a four-stage factory line, pinpoints the bottleneck, and quantifies what adding one more machine would change.
A stochastic, discrete-event model of a four-stage production line: Cutting, Assembly, Quality Inspection, and Packaging.
A clean, focused React interface. Each view answers a specific operational question about the production line.
Built with a clean separation between the simulation core, REST API layer, and interactive frontend.
Process-based discrete-event simulation engine driving queues, resource contention, and breakdowns.
Exposes simulation triggers and scenario comparisons over high-speed endpoints.
GET /health
POST /api/simulate
POST /api/compare
Interactive analytics dashboard visualizing KPIs, station telemetry, and replay timelines via localhost:8000.
Requires Python 3.10+ and Node.js. Start the FastAPI server first, then launch the React development server.
cd backend
python -m venv .venv
.venv\Scripts\Activate.ps1 # macOS/Linux: source .venv/bin/activate
pip install -r requirements.txt
uvicorn app.main:app --reload --port 8000
cd frontend
npm install
npm run dev
# Open http://localhost:5173