Python base supply chain simulator
I am trying to build an end-to-end supply chain simulator code that has all the logical operations; however, since I am using the Monte Carlo simulation approach, I am feeding random values for forecasted demand, real demand, and lead times. It is a two step process; the random values are being generated correctly, and if I fetch these values seperately using the same logic i used in my simulation, it works. However, when I run the entire code. it seems to affect 0 demand, in all instances leading to an error in the model as it is not considering the generated demand value. The error seems to be in the dictionary created. Can someone help me please?