question

Glenys C avatar image
0 Likes"
Glenys C asked Joerg Vogel edited

Set-up time for processors once a day and all at once

I have 3 processors in my model each processor have a different set up time. How would I go about setting the respective set-up time of (120s, 140s & 133s) for each processor and for the set-up time to only run at a specific time of 8:30am and for all the set-up time for the 3 processors to run at the same time. In conclusion, all the 3 processors will run their respective set-up time at 8:30am all at once. I have attached my model. Thank you!

AMCMockUp.fsm

FlexSim 20.2.0
flexsim 20.2.0set-up time
amcmockup.fsm (118.9 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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

If you need a setup event totally independent by the current event of the processor, you can use time tables. For each different down time you add another time table.

If you are familiar with process flow, you add a Date Time source activity. After that you create for each processor a token by a create token activity or you change the amount of created tokens in the source activity. Please look into the source code editor to add labels in the source or create tokens activity just to identify the source code header and the declaration of default variables. There is certainly a variable which enumerates a value of current created token like “creationRank”. This variable name is set as a value for a label at the token. I remind you later why you do this.
Then there is a sequence of a custom code, a delay and another custom code activity. The first custom code stops an object, the second let’s resume the same object. Stop and resume are picklist templates of a custom code activity. The reference of the involved object is a label value at the token. The delay time is also a label value at the token. You setup those label values by lookup of a global table where you refer to the involved object and delay time. The label of the “creationRank” is a reference to the row of the global table. Columns are involved object and delay time.

· 1
5 |100000

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

Glenys C avatar image Glenys C commented ·

Noted, will try out the following solutions. Thank you so much for your prompt and detailed reply! @Jörg Vogel

0 Likes 0 ·

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.