question

liam avatar image
0 Likes"
liam asked Logan Gold commented

The issue with the experimenter settings.

Hi,

I have some questions regarding the experimenter. In my model, there is a MultiProcessor with five subprocesses, and I have set the standard deviation of the processing time for each subprocess as variables (aaa, bbb, ccc, ddd, eee). These variables range from 0 to 1 to represent the proportion of variation.

1723518566923.png

1723518583317.png

In Scenario 1 of the experimenter, I set all five variables to 0, indicating that there should be no variation in the processing time for these subprocesses.

1723518633727.png

However, the experimental results show that when I set the replications per scenario to 20, there is still variation in the processing time.

1723518675418.png

1723518693136.png

I would appreciate your guidance on how to resolve this issue. Thank you very much for your assistance.

fifo.fsm

FlexSim 22.2.0
variableprocessortimeexperimentor
1723518566923.png (27.3 KiB)
1723518583317.png (23.4 KiB)
1723518633727.png (23.9 KiB)
1723518675418.png (42.0 KiB)
1723518693136.png (40.9 KiB)
fifo.fsm (1.7 MiB)
· 2
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered

The parameters currently don't do anything. You have to add code to their On Set trigger that actually sets the global variables' value.

That being said, you don't really need the global variables. You can just use the parameters directly in the process time code.

  1. Model.parameters.aaa*Table("DIP_order")[item.Order_ID][7]

I would also like to add that using the mean value as the standard deviation in a normal distribution will regularly give you a processing time of 0, which doesn't seem realistic. Maybe a different distribution (for example triangular) is better suited.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.