Cost Evaluation in Inventory Management: A Simulation Study Based on Python

Keywords: Inventory management, Simulation, Operating costs, Random demand, Optimization

Abstract

This article presents the results of a research project whose objective was to design a simulation process using a stochastic-dynamic model and the Jupyter Notebook tool with Phyton programming, to understand and analyze the behavior of the costs associated with an inventory management system with stochastic demand and periodic review, in a walnut distribution company. Data was collected on inventory holding costs, shortage costs, ordering costs, warehouse capacity, delivery times and demand for the last 6 months. The results obtained revealed that, over a 3-month horizon, the operating cost presents a parabolic behavior in relation to demand, which allows identifying the optimal or equilibrium point between inventory and total average costs, depending on an uncertain demand.

Downloads

Download data is not yet available.

References

I. Dmitry, Global supply chain and operations management: A decision-oriented introduction to the creation of value, 1st edition. New York, NY: Springer Berlin Heidelberg, 2018.

F. W. Harris, «How many parts to make at once», Factory, The Magazine of Management, vol. 10, pp. 135-136, 1913.

T. Ōno, Toyota production system: beyond large-scale production. Cambridge, Mass: Productivity Press, 1988.

M. Christopher, Logistics & supply chain management, 4. ed. Harlow: Financial Times Prentice Hall, 2011.

F. Campuzano-Bolarín, F. Marín-García, J. A. Moreno-Nicolás, M. Bogataj, y D. Bogataj, «Supply Chain Risk of Obsolescence at Simultaneous Robust Perturbations», Sustainability, vol. 11, n.o 19, p. 5484, oct. 2019, doi: 10.3390/su11195484.

C. A. Ptak, C. Smith, y J. Orlicky, Orlicky’s material requirements planning, 3rd ed. New York: McGraw-Hill, 2011.

F. Robert Jacobs y F. C. ‘Ted’ Weston, «Enterprise resource planning (ERP)—A brief history», J of Ops Management, vol. 25, n.o 2, pp. 357-363, mar. 2007, doi: 10.1016/j.jom.2006.11.005.

D. F. Muñoz y D. Villafuerte, «Análisis de la Entrada en Simulación Estocástica», Inf. tecnol., vol. 26, n.o 1, pp. 13-22, 2015, doi: 10.4067/S0718-07642015000100003.

«NumPy». Accedido: 17 de marzo de 2025. [En línea]. Disponible en: https://numpy.org/

«Matplotlib — Visualization with Python». Accedido: 17 de marzo de 2025. [En línea]. Disponible en: https://matplotlib.org/

M. E. J. Barzola, «DESARROLLO DE UN SISTEMA DE CONTROL DE PROCESOS DE ENTRADA Y SALIDA DE PRODUCTOS CON EL USO DE LENGUAJE DE PROGRAMACIÓN JAVA», 2015.

E. Jiménez, M. Pérez, y F. Sanz, «MODELADO Y SIMULACIÓN DE SISTEMAS LOGÍSTICOS Y DE PRODUCCIÓN MEDIANTE REDES DE PETRI».

«¿Qué es la simulación de Monte Carlo? - Explicación de la simulación de Monte Carlo - AWS». Accedido: 17 de marzo de 2025. [En línea]. Disponible en: https://aws.amazon.com/es/what-is/monte-carlo-simulation/

«Métodos y fórmulas para la Distribuciones de probabilidad - Minitab». Accedido: 17 de marzo de 2025. [En línea]. Disponible en: https://support.minitab.com/es-mx/minitab/help-and-how-to/probability-distributions-random-data-and-resampling-analyses/how-to/probability-distributions/methods-and-formulas/methods-and-formulas/

C. C. C. Alberto y M. M. A. Iván, «Uso y Evaluación de Mapas Logísticos Caóticos en Generadores de Números Pseudo-Aleatorios».

M. D. C. Argüelles Arellano, «Simulation of Systems with Random Variables for Making Strategic Decisions», CyS, vol. 27, n.o 3, sep. 2023, doi: 10.13053/cys-27-3-4708.

«Jupyter Notebook Documentation — Jupyter Notebook 7.4.0b1 documentation». Accedido: 17 de marzo de 2025. [En línea]. Disponible en: https://jupyter-notebook.readthedocs.io/en/latest/

Received: 2024-12-26
Accepted: 2025-02-07
Published: 2025-09-30
How to Cite
[1]
F. Bencomo Murga, R. M. Amaya Toral, and M. P. García Martínez, “Cost Evaluation in Inventory Management: A Simulation Study Based on Python”, Innov. softw., vol. 6, no. 2, pp. 90-102, Sep. 2025.
Section
Journal papers