Python Library for Modeling and Discrete Event Simulation of Supply Chains
Project description
SupplyNetPy
SupplyNetPy is a Python library designed for modeling, simulation, design exploration, and optimization of supply chains and inventory systems. It allows users to create and simulate supply chain networks with various inventory replenishment policies.
Installation
You can install SupplyNetPy using pip:
pip install supplynetpy
Dependencies
Authors
Quick Start
Creating supply chain networks
import SupplyNetPy.Components as scm
supplier1 = {'ID': 'S1', 'name': 'Supplier1', 'node_type': 'infinite_supplier'}
distributor1 = {'ID': 'D1', 'name': 'Distributor1', 'node_type': 'distributor',
'capacity': 150, 'initial_level': 50, 'inventory_holding_cost': 0.2,
'replenishment_policy': scm.SSReplenishment, 'policy_param': {'s':100,'S':150},
'product_buy_price': 100,'product_sell_price': 105}
link1 = {'ID': 'L1', 'source': 'S1', 'sink': 'D1', 'cost': 5, 'lead_time': lambda: 2}
demand1 = {'ID': 'd1', 'name': 'Demand1', 'order_arrival_model': lambda: 1,
'order_quantity_model': lambda: 10, 'demand_node': 'D1'}
# create a supply chain network
supplychainnet = scm.create_sc_net(nodes=[supplier1, distributor1], links=[link1], demands=[demand1])
# simulate for 20 days
supplychainnet = scm.simulate_sc_net(supplychainnet, sim_time=20, logging=True)
Documentation
For detailed documentation and advanced usage, please refer to the official documentation.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file supplynetpy-0.1.5.tar.gz.
File metadata
- Download URL: supplynetpy-0.1.5.tar.gz
- Upload date:
- Size: 2.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3bf3efa5e0a12e59eeeeed6b38cf03d18690f2ae9fc41ee87df299714f90c860
|
|
| MD5 |
86ff68cf2c4ba987ebb1aa6880b64e54
|
|
| BLAKE2b-256 |
c46479d7d5097a65886086143ee7083eb5e50a542c935121a84f2df6639f2afe
|
File details
Details for the file supplynetpy-0.1.5-py3-none-any.whl.
File metadata
- Download URL: supplynetpy-0.1.5-py3-none-any.whl
- Upload date:
- Size: 32.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b7f3ad75c2c525fb69acce58cacd4bf6dcf69b00550291efe0fbb5f8305ebb4
|
|
| MD5 |
fd654565ff4f5f9192bde9139f55e813
|
|
| BLAKE2b-256 |
a4c5f21a4320907cee6c116f24ee51f7db93c03ea01527499e402cc802709595
|