question

Leo L6 avatar image
1 Like"
Leo L6 asked Carter Walch answered

Conveyors- Release flowitem on station breakdown

Hello,

I would like a flowitem to stop processing and continue on after the station it is on enters a breakdown state but is not done processing. Currently it just waits at the station for the breakdown to finish. How can I do this?

FlexSim 22.0.16
conveyorbreakdownconveyor station
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

·
Carter Walch avatar image
0 Likes"
Carter Walch answered

Hi @Leo L6 ,

conveyorstationbreakdown.fsm

To have a flowitem continue on after a station breakdown, we first need to add MTBF/MTTR into our model from the "Toolbox." Inside its properties we can use the sampler and add any station(s) that we want to exhibit this behavior.1685043785327.png

Within the "Functions" tab of the MTBF/MTTR properties, we need to add custom code to the "On Break Down" function by clicking the script icon.

1685043776992.png

The following code was added which tells the station that on break down, use the "conveyorresumeitem" method of a decision point to send the flowitem that is currently at the station to continue down the rest of the conveyor. This method for your version of FlexSim (22.0) can be found here

1685043770078.png

Note: the documentation in the most recent version of FlexSim (23.1) for the resume item method is slightly different and can be found here

conveyorbreakdown.gif


As you can see, the station processes flowitems for 10 seconds, and on break down, the flowitem continues on the conveyor. The specific properties of station downtime, uptime, and first failure time can be modified in the MTBF/MTTR properties.


Hope this helps!


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.