DEV Community

Amelia
Amelia

Posted on

AI-Powered Supply Chain Simulator (Open Source Tool)

πŸ‘‹ Hello Devs,
I recently completed a passion project that blends AI, forecasting, and simulation β€” all focused on one of the most mission-critical systems in the world: supply chains.

πŸ”— GitHub: https://github.com/AquarlisPrime/AI-Driven-Forecast-Resilience-Simulator-for-Supply-Chain

πŸ’‘ Why I Built This
Supply chain disruptions β€” whether from pandemics, port congestion, or raw material shortages β€” have massive ripple effects. I wanted to build a hands-on tool that:

Simulates disruptions in real-time

Predicts demand using machine learning

Helps visualize impact across a supply chain network

Calculates cost, emissions, and risk dynamically

Something intuitive enough to demo and powerful enough to experiment with.

🧠 Key Features
βœ… AI-based Forecasting
Uses models like Prophet, LightGBM, and even supports plugging in custom models like LSTM/XGBoost.

βœ… Digital Twin Supply Chain Network
Visualizes your supply chain as a graph of nodes and edges using networkx and PyVis.

βœ… Disruption Scenario Engine
Simulate transit delays, demand spikes, and supply outages. Adjust nodes live and see results in real time.

βœ… Cost, Emissions, and Risk Calculators
The app tracks and recalculates operational metrics dynamically β€” great for "what-if" analysis.

βœ… Streamlit-Powered Interface
No complex setup. Just pip install and launch via browser.

πŸ› οΈ Tech Stack
πŸ“Š Forecasting: Prophet, LightGBM, NeuralProphet

πŸ”— Visualization: networkx, pyvis, plotly, streamlit

πŸ“¦ Core Libraries: pandas, numpy, scikit-learn

πŸ§ͺ Future Additions: SHAP, SQLite/Firebase, optimization engine

πŸ’¬ What I'm Looking For
πŸš€ Feedback from ML or supply chain folks

πŸ”§ Ideas for additional models or optimization logic

πŸ’‘ Feature suggestions or UX feedback

πŸ‘₯ Collaborators who’d like to help scale this

πŸ“¬ Try It Out! And feel free to fork, star, or open issues β€” all contributions are welcome!

❀️ Thank You!
If you're into ML, supply chains, data apps, or even just cool Python projects β€” I'd love your feedback! Drop a comment, GitHub issue, or DM anytime.

Top comments (0)