Unit two: inventory desitions

circle-info

Inventory models are essential in logistics because they allow for efficient management of stock levels. By applying these models, total inventory costs can be minimized, supply and demand can be balanced, and customer service can be improved by reducing delivery times and avoiding stockouts. They also facilitate planning and strategic decision-making in the supply chain, optimizing the flow of goods and improving the company's competitiveness.

In general, the complexity of inventory models depends on whether demand is deterministic or probabilistic. Within both categories, demand may or may not vary over time. The demand pattern in an inventory model can take one of four types:

  1. Deterministic and constant (static) over time.

  2. Deterministic and variable (dynamic) over time.

  3. Probabilistic and stationary over time.

  4. Probabilistic and non-stationary over time.

This classification assumes the availability of reliable data to forecast future demand.

Based on the development of inventory models, the first category is the simplest analytically, and the fourth is the most complex. On the other hand, the first category is the least likely to occur in practice, and the fourth is the most prevalent.

Definition of Inventory Models

Inventory models are statistical models and mathematical equations that, when combined, attempt or succeed in predicting demand behavior in production or service systems to ensure the availability of supplied goods, whether in the internal or external logistics chain, as the case may be.

There are types of models that cover inventories, from the simplest, such as the EOQ (economic order quantity) model, to the most complex, such as reorder point models and continuous inventory review models.

Google Collab and Inventory Models: #arrow-up-right

To work with inventory models, what we must do is

  1. Identify the libraries we will use. In this case, we will use:

  • pandas

  • numpy

  • mathplotlib

General Inventory Model #arrow-up-right

The main questions that the inventory model aims to address are: When to order? How much to order? This leads us to evaluate all aspects of the inventory. According to the authors, we find the following equation that encompasses the general inventory model:

[Total Inventory Cost=Purchase Cost+Preparation Cost+Holding Cost+Shortage Cost][\text{Total Inventory Cost} = \text{Purchase Cost} + \text{Preparation Cost} + \text{Holding Cost} + \text{Shortage Cost}]

To represent the mathematical equation for the total inventory cost in the context of the EOQ model, we use the Formula:

CT=DQS+Q2H+DCCT = \frac{D}{Q} \cdot S + \frac{Q}{2} \cdot H + D \cdot C

Where:

  • (CT) is the total cost.

  • (D) is the annual demand.

  • (Q) is the order quantity (lot size).

  • (S) is the cost per order.

  • (H) is the storage cost per unit.

  • (C) is the purchasing cost per unit.

We'll start with the EOQ model, also called static models.

  • The EOQ model or optimal order quantity (classic EOQ)

This is one of the most common and widely used models, as it takes into account order and storage costs. This means that the more you buy, the greater the discount, but the higher the maintenance cost. The main objective of this model is to find the break-even point where costs are best managed according to demand requirements.

  • EOQ with Unknown Demand:

Product demand is considered uncertain or unknown, and a service level approach is used to maintain the optimal inventory level. The service level is the probability that the inventory will be available when required. The main objective is to find the optimal amount of inventory that maximizes the service level while minimizing total inventory costs.

EOQ=2KDh+(ZσdLh)2EOQ = \sqrt{\frac{2KD}{h} + \left(\frac{Z \sigma_d \sqrt{L}}{h}\right)^2}

Where:

  • Z is the value of the normal distribution that corresponds to the desired service level.

  • is the standard deviation of demand during the lead time.

  • L is the lead time.

Words and nomenclatures#arrow-up-right

  • D = Demand

  • t0t_0 = Order cycle time

  • ROQ = Reorder Quantity

  • ROL = Reorder Level

  • Q = Optimal Order Quantity

  • t0=QDt_0 = \frac{Q}{D} units of time or supply cycles

  • K = Order Preparation Cost

  • h = Storage Cost

  • L = Lead Time

circle-info

In general, this set of equations and initiatives allows us to define what is known as the inventory policy in a warehousing operation.

Inventory Policy Definition

The inventory policy in a management system is defined by considering several key elements such as EOQ (Economic Order Quantity), ROL (Reorder Level), ROQ (Reorder Quantity), and random demand:

  • EOQ (Optimal Order Quantity): This is the quantity that minimizes total inventory costs, including order preparation costs and storage costs. It is used to determine the optimal order size.

  • ROL (Reorder Level): This is the point at which a new order must be generated to avoid inventory shortages, calculated based on the lead time and expected demand during that period.

  • ROQ (Reorder Quantity): This is the quantity to be ordered each time the ROL is reached. This quantity can be adjusted based on demand variability and delivery time.

  • Random Demand: This requires dynamic adjustments to ROL and ROQ, as it is important to account for variations in demand to avoid shortages or excess inventory.

circle-info

An effective inventory policy must be flexible and adapt to variations in demand, delivery times, and other factors that may affect inventory. Continuous evaluation and adjustment of the EOQ, ROL, and ROQ variables allows for maintaining an optimal balance between costs and availability.

Lead time:

When an order has a positive stipulated lead time, it will be called "L" (lead time). In these cases, we must take into account the corresponding ROL and ROQ ratios, since these will vary the inventory behavior depending on its supply nature or lead time. The lead time versus inventory cycle time should be shown, since lead time should generally be less than cycle time; otherwise, other measures will have to be taken to control inventory.

Example:

Effective lead time is defined as follows:

ROQ, Lead Time, and Safety Stock in Deterministic Inventory Models.#arrow-up-right

  • The assumptions of the EoQ model are listed as follows:

  1. Constant Demand: Demand for the product is assumed to be constant over time, implying no seasonal fluctuations or changes in demand.

  2. Constant Supply or Production Rate: Inventory supply or production is assumed to be instantaneous and constant. That is, each time an order is placed, it arrives immediately and completely replenishes inventory.

  3. Known and Constant Lead Time: The time it takes to receive an order after it is placed is known and does not vary.

  4. Constant Ordering Cost: The cost associated with placing an order is fixed, regardless of the order size.

  5. Constant Carrying Cost: The cost of holding a unit in inventory is constant and does not vary over time or with the amount of inventory.

However, there are other variations of the Model that involve a delay in the order cycle time, which requires real-time decisions. For example, a supplier's lead time. I explain that if a supplier takes their time delivering the order to the customer, the customer must maintain a reserve or know the exact time to place the order so that once it arrives, it does not affect inventory control or incur shortages. This cycle time between the order and receipt, taking into account customer time, is known as Lead Time, while the inventory level at which the order must be ordered is known as ROL; likewise, the quantity to be ordered at that time is known as ROQ.

Conceptualizing:

  1. ROQ: is the quantity of units that must be ordered once the ROQ is reached.

  2. ROL: inventory level measured in units that triggers the order.

  3. LT: lead time, the time it takes for an order to arrive from the moment it is placed.

  4. SStock: safety stock, the level of safety stock needed to withstand the supplier's LT variability (P_i_i).

EOQ Model in Python

ROQ, Lead Time, and Safety Stock in Deterministic Inventory Models.

  • The assumptions of the EoQ model are listed as follows:

  1. Constant Demand: Demand for the product is assumed to be constant over time, implying no seasonal fluctuations or changes in demand.

  2. Constant Supply or Production Rate: Inventory supply or production is assumed to be instantaneous and constant. That is, each time an order is placed, it arrives immediately and completely replenishes inventory.

  3. Known and Constant Lead Time: The time it takes to receive an order after it is placed is known and does not vary.

  4. Constant Ordering Cost: The cost associated with placing an order is fixed, regardless of the order size.

  5. Constant Carrying Cost: The cost of holding a unit in inventory is constant and does not vary over time or with the amount of inventory.

However, there are other variations of the Model that involve a delay in the order cycle time, which requires real-time decisions. For example, a supplier's lead time. I explain that if a supplier takes their time delivering the order to the customer, the customer must maintain a reserve or know the exact time to place the order so that once it arrives, it does not affect inventory control or incur shortages. This cycle time between the order and receipt, taking into account customer time, is known as Lead Time, while the inventory level at which the order must be ordered is known as ROL; likewise, the quantity to be ordered at that time is known as ROQ.

Conceptualizing:

  1. ROQ: is the quantity of units that must be ordered once the ROQ is reached.

  2. ROL: inventory level measured in units that triggers the order.

  3. LT: lead time, the time it takes for an order to arrive from the moment it is placed.

  4. SStock: safety stock, the level of safety stock needed to withstand the supplier's LT variability (P_i_i).

EOQ Model in Python

The economic production quantity (EPQ) model (also known as the economic lot size (ELS) model) is used in manufacturing situations where inventory increases at a finite rate and depends on the production rate and the usage rate of the item under consideration. In addition to the variables (D, S, H, Q, and C) defined earlier, we define two more variables: p = production rate per day (daily production rate) and d = demand rate per day (daily demand rate). The values of p and d must be in the same time unit. For example, these values could be weekly rates instead of daily rates. However, daily rates are most common. Q in this case is the production quantity (rather than order quantity) to be made in one lot and S is the cost of setting up the machine to produce that one lot. Therefore, S is called the setup cost per set up (rather than order cost per order).

Qepq=(2DSh(1dq))Q_{epq}=\sqrt{\left(\frac{2DS}{h\left(1-\frac{d}{q}\right)}\right)}

EPQ Example

Let's find:

  1. Annual demand = 50,000 units

  2. Setup cost = $25 USD

  3. Maintenance cost = $5 USD

  4. Production rate (p) = 500 units/day

  5. Working days = 250 days

So we solve:

We don't know d, but it can be calculated using the working days and annual demand.

d=50,000250=200und = \frac{50,000}{250} = 200 un

Using the EPQ formula, we get:

Qepq=250,000255(1200250)=912.87Q_{epq} = \sqrt{\frac{2*50,000*25}{5*(1-\frac{200}{250})}} = 912.87

We can also calculate the maximum inventory level (\(I_{max})\)

Imax=Q(1dp)I_{max}=Q * \left(1-\frac{d}{p}\right)

Substituting:

Imax=912.87(1200500)=547.72unI_{max}=912.87*\left(1-\frac{200}{500}\right) = 547.72 un

Última actualización

¿Te fue útil?