question

Lorena H avatar image
0 Likes"
Lorena H asked Eric M answered

Time processor


Hi! I have a question about creating a code or maybe another option to create 2 processor processing restrictions. My model looks like this. I would like the A3 processor not to receive parts for processing until 110 o'clock from the start of the simulation, and the A10 processor not to receive parts for processing until 200 o'clock from the start of the simulation. Can someone help me?

PROGRAM.fsm

FlexSim 19.0.0
processorflexsim 19.0.0time start
program.fsm (68.4 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

·
Eric M avatar image
1 Like"
Eric M answered

Hi @Lorena H, you can add an on reset trigger to A3 and A10 that closes the input ports.

1629842844279.png

Then you can add logic in process flow to open the ports at the time you would like. Use a scheduled source followed by a custom code activity:

1629842984305.png

program_1.fsm


1629842844279.png (13.3 KiB)
1629842984305.png (22.8 KiB)
program-1.fsm (70.4 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.

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.