hello,
I have two different products, productname = 1 and productname = 2. (defined in the atom source)
Now, I want to determine the confindence interval of the waiting time, so experimental design, source queue en den avStay, but i want the waiting time (on average) of product 1 and product 2 (and together, but that is simple as mentioned before).
I tried:
if(
Label([productname],i) = 1, do(
AvgStay(cs)
)
)
Then the output will be equal to 0, can someone can help me? what would help? thank you!
more products and waiting time
Re: more products and waiting time
Hello,
I suggest to keep track of the total waitingtime and total output per producttype in the exittrigger of the queue. This could be stored in labels on the queue or in a table atom. In the experiment wizard you can calculate the average waitingtime per producttype by dividing these labels (or cell values).
In the attached model you will find an example of this solution. Keep in mind that the labels need to be cleared on reset, this is done in the initialize atom.
Regards,
Marlies
I suggest to keep track of the total waitingtime and total output per producttype in the exittrigger of the queue. This could be stored in labels on the queue or in a table atom. In the experiment wizard you can calculate the average waitingtime per producttype by dividing these labels (or cell values).
In the attached model you will find an example of this solution. Keep in mind that the labels need to be cleared on reset, this is done in the initialize atom.
Regards,
Marlies
- Attachments
-
- WaittimePerProduct.mod
- (15.03 KiB) Downloaded 399 times