inventory management -凯发k8网页登录
description
this example shows how to build a simple inventory management system for a retail store. this example includes:
random customer arrivals to the store with the number of products requested by each customer also randomly distributed
tracking available inventory at the end of the day
tracking and disposal of expired products
placing periodic orders for fresh products
store profitability analysis
structure of the model
the model includes these components:
warehouse: the warehouse generates and stores products in shelves. the products have limited shelf life and they are dispatched when a product order is received. during the generation process, products are marked with their manufacture day, and they are periodically checked for disposal if their storage duration exceeds the maximum days they are allowed to stay on the shelf. warehouse component allows you to specify the initial quantity of available products and the maximum number of days they are allowed to remain on the shelf.
transportation: the transportation block represents the delay, which is the duration between a product's dispatch from the warehouse and its arrival at the store. the default delay is set to two hours.
customer arrival: the arrival of customers at the store is modeled as a poisson process and you can specify the mean time between arrivals. the number of products required by each customer is also random and it is generated from a discrete uniform distribution. you can specify the upper bound of this uniform distribution.
store management:
store tag: this area models the part of the retail store that receives products from the warehouse and applies the 'product' and 'expiry' tags on them. these tags allow us to search for products later on.
customers entry: represents customers entering the store to pick up products from the shelves and their departure from the store. this is modeled using the 'entity find' block, which looks for entities in the system that have the 'product' tag associated with them.
store shelf: this area contains a queue where the products are stored. customers pick up products from here. an 'entity gate' that is perpetually closed ensures that products don't flow out of the store.
expired products removal: this area models the periodic removal of expired products from the store's shelves. this is modeled using the 'entity find' block. the find block is triggered periodically to perform a search for entities that have the 'product' tag associated with them. it then looks for products that have exceeded the shelf life and discards them.
accounting: this area models the investigation of profitability of the retail store for the duration between consecutive product ordering points. the profit is calculated as a function of the product procurement price, product holding cost and the product selling price. the profit also plays a role in determining the number of products that the retail store orders. if the store is profitable in the current period, then the new quantity to be ordered is the sum of the previously ordered quantity plus any unfulfilled orders. this is also adjusted for expired and unsold products.
periodic order placement: this area models periodic order placement by the retail store. an order is placed with the warehouse for supplying a fresh batch of products to the retail store. you can specify the period by setting the value of the reorder point.
results
the model is simulated for 60 days. one unit of simulation time represents 1 minute of wall clock time. based on the model parameters set, plots are generated showing the number of products sold, the number of customers who arrived at the store, the product order size, number of expired products in the store and the store's profitability. observe that for each period, the optimal store order quantity is around 85 for the given customer arrival rate.
see also
| | | | |