Dinamically disable or enable a process flow source

Dinamically disable or enable a process flow source

manuel_arh
Not applicable
79 Views
1 Reply
Message 1 of 2

Dinamically disable or enable a process flow source

manuel_arh
Not applicable

[ FlexSim 23.1.2 ]

Hi there!


I have got a model simulating a factory that works in shifts. When there is a change in shift, there may be a need for a format change on the machine.

The machine generates boxes at a certain speed depending on the format that it is working on, so I am using in process flow an inter-arrival source for this.

The problem is that when there is a format change, I would like to disable the source as long as the format change is happening and reenable it when the format change is done, having the timer for the generation of tokens reset.

I am attaching a simplified version of my model that I think may be representative.

In this versions, shifts last only 1 hour, and there are 2 formats that take 500 and 700 seconds to produce, with a format chang time of 30 seconds. As you can see, after the shift change, the next product is delivered at 4000 seconds (500 seconds after producing the last object during the first shift). What should happen is that the product is made at 4330 seconds (30 seconds of format change and 700 seconds to make the first product AFTER THE SHIFT CHANGE).

questionflexsim.fsm

Could anyone tell me if it is possible to disable and reset the timer in the inter-arrival source?

Or if you could find a simpler solution, I would be really thankful :).

Thank you in advance,

Manuel

0 Likes
Accepted solutions (1)
80 Views
1 Reply
Reply (1)
Message 2 of 2

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

You're not really modelling the process and setup time with this - you have a decoupled interrupt that could come and go without the main process being affected.

Attached is an alternative that still uses most of your method, but doesn't rely on a source interarrival time - instead it models the machine's process.

Note that the machine has started processing 500 seconds of an item when the first shift change occurs so it finishes that and THEN invokes the change so that the next item is produced at 4730.

questionflexsim_jl.fsm