Manufacturing Cost Intelligence System
A flight simulator for manufacturing decisions that replaces gut-feel spreadsheets.
Reality check: not an ERP replacement. But it’s already better than messy spreadsheets for multi-million-dollar decisions.
What this actually is
Think of this as a flight simulator for manufacturing decisions.
A manager can move a single slider (“+15% on semiconductors”, “−5% logistics”, “+5% labor”) and see how the portfolio responds: gross profit, risky products, and levers that matter.
Then an AI writes a short strategy brief based on feasibility inputs instead of narrating charts.
Why I cared enough to build it
The real workflow was slow and fragile: multiple spreadsheets, formula landmines, and limited visibility beyond a couple of products.
It felt more like damage control than decision-making.
I wanted a system where you can change one driver, see portfolio impact immediately, and talk strategy like an adult.
What actually worked
- The what-if engine: portfolio P&L simulation that makes impact visible in seconds.
- The AI strategist: had to be trained to avoid chart narration; feasibility signals made recommendations realistic.
- Portfolio health view: exposed high-volume products sitting on razor-thin margins (risk magnets).
What is still messy (being honest)
- Static inputs (CSV-based). Great for controlled experiments, not production-grade without live integrations.
- Feasibility scores are subjective; real deployments would need structured ops input.
- Over-linear assumptions (no step-changes, discounts, or complex elasticity).
- Simplified geography; a serious version needs region/plant-level costs, taxes, tariffs, risk profiles.
What I would do next
- Live data integration (FX, fuel, freight index).
- Multi-driver scenario stacking in one run (+10% steel, +5% labor, −3% logistics).
- Monte Carlo forecasting for distributions (best/worst/bands).
- Make AI interactive: compare interventions, ROI, implementation difficulty.
Technical details (plumbing)
- Frontend: Streamlit
- Compute: Pandas simulation engine
- Visualization/export: Plotly + PDF export tooling
- AI: strategy brief driven by explicit inputs (including feasibility) + hard constraints on what not to say
- Architecture: core logic separated into /app/core; UI is just the face
- Validation: startup checks to fail fast (unit mismatches, duplicates) instead of silently wrong output
← Back to Work