question

ShabDz avatar image
0 Likes"
ShabDz asked Joshua S commented

How to change number of task executers and rack dwell time in the experimenter?

Hi, In the attached model I want to do some experiments by changing number of operators and rack dwell time. Please help me to address the following issues:

1- How can I add the rack dwell time as a variable to the experimenter?

2- Assuming that I only want to see the sensitivity of the system throughput (sink input) on the number of operators (= 0, 1, 2), why the experiment results are identical for all three scenarios?

experimenter-test.fsm

FlexSim 17.0.13
experimenterrackdispatcher
untitled.png (58.0 KiB)
untitled.png (20.5 KiB)
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

·
Joshua S avatar image
1 Like"
Joshua S answered Joshua S commented

Here's a working model for you. I don't know where your variable for operators was pointing, but I created a way to change the amount of operators to use. To actually make it work in the flow table of the rack you need to select "use transport" in order for the Dispatcher to handle the tasks. I gave both the rack and dispatcher labels to match what you want to change. There is code on the reset triggers for both of these objects and on the operators that handle these changes to the variables on reset.13925-experimenter-test.fsm


· 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.

ShabDz avatar image ShabDz commented ·

Thanks @Joshua S. Can you kindly explain what the OnReset codes do in the Dispatcher and the Operators? Moreover, when I set the operator label in the Dispatcher to 2, only one of the operators moves in the model. Why is that?

0 Likes 0 ·
Joshua S avatar image Joshua S ShabDz commented ·

@Amir About

Ok, I fixed the model so changing the values should work now.

The onReset trigger code on the operators stops them from doing anything and sets them as busy when you reset the model.

I got rid of the onReset trigger on the dispatcher and placed the code on a Model Trigger called OnRunStart, this is found in the toolbox section on the side of the screen, which resumes the amount of operators that coincides with the dispatcher's label when you start the model.

13928-13925-experimenter-test.fsm

1 Like 1 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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