Hello, I am trying to model an industrial replenishement process that is the following: (FlexSim 19.0.0)
Totes on "Rack15" are filled in combiner2 and sent on "Rack19" and "Rack31". At the begining there is no query for the totes replenishement. so we use "Pull from List0" activity. when the totes on "Rack19" and "Rack31" are becoming empty, they are sent back on the "Rack15" for replenishement. this time totes are selected according to the query "ORDER BY SC ASC". this time we use "Pull from List OPMP" ("Pull from List0" and "Pull from List OPMP" are just used for cases separation as required by the industrail process). I put "Acquire OPMP" activity before "Pull from List OPMP" in order to apply the mentionned query. But, I encouter two problems:
1- tokens are pulled from "Acquire OPMP" activity according to their arrival order, they don't correspond to the selected tote (see figure 1 and figure 2; this problem starts from the case 3 in figure 2 where the "itemstype" corresponding to the selected tote is 1 while this tote was filled by boxes of type 3 that corresponds to the third token "SItemsType" label value).
2- the query is not correctely applied for all totes:
- At 302.28 minutes, the tote having the "SC" value equal to 367.15 is selected while there is a tote on the "rack15" which has a lowest "SC" value (equal to 273.47). (Figure 3).
- At 320.98 minutes, the tote having the "SC" value equal to 377.25 is selected, then the tote having the "SC" value equal to 387.56 is selected while there is a tote on the "rack15" which has a lowest "SC" value (equal to 275.74).
- At 342.93 minutes, the tote having the "SC" value equal to 397.66 is selected while there is a tote on the "rack15" which has a lowest "SC" value (equal to 276.89).
- At 355.00 minutes, the tote having the "SC" value equal to 407.65 is selected while there is a tote on the "rack15" which has a lowest "SC" value (equal to 278.02).
Please help me to fix this.
Regards.