I am trying to optimize Stock using simulation. Until now, I have bought the optimal stock everytime the command point is reached. But now, I would like to buy the needed units to reach the optimal Stock depending on the actual units. For example:
If I have an optimal stock of 300 units of D, and I have 30 units in the warehouse of label D, and the command point is when the warehouse' stock is less than 40 units of D, then I have to send to the warehouse 300 units of D (optimal stock) - 30 units of D (actual Stock) =270 units of D.
I am doing it using a List in Process Flow. My question is: How can I get the value of tokens that are pushed into the list (waiting to be pulled) and take it to calculate the units of D to send to the warehouse? I have remarked the units of D, because I do not want the total tokens that are waiting to be pulled, I want for each label (30 tokens of A, 20 tokens of B, etc. are waiting to be pulled) and use them to the calculus.