question

Felipe G avatar image
0 Likes"
Felipe G asked Felipe G edited

How do I pause a source from creating items during an specific time?

I've got a simulation that runs by 4 hours and later another 4 hours. There's a processor's breakdown for 1 hour. I need the source stops sending elements, just for 1 hour, to the queue because the processor cannot do its work, I want my system to resume after the breakdown for another 4 hours and not reset it. The source works with an inter-arrival time according to a normal distribution with mean 3.4 min and sd 0.5 min. Could someone help me, please?

FlexSim 20.0.8
queuesourcebreakdownsource scheduleflexsim 20.0.8
· 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.

1 Answer

Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Felipe G edited

A breakdown usually means its unplanned and therefore random. Is this the case or is it more a scheduled downtime for planned maintenance or similar? As @Jörg Vogel suggests you can use a timetable for shift patterns and scheduled downtime.

If you want to add an unplanned stop/breakdown then it's the (challengingly named) MTBF/MTTR in the toolbox:

Attached is a model where the processor stops the source during a breakdown if its label "stopsource" is set to 1 (or higher), and not if it's set to zero. This could be done directly from the processor's triggers (bad), or via a message to the source (better) but I've chosen to call/execute labels on the source "stop" and "resume" (maybe even better).

Example_processorBreakdownStopsSource.fsm


· 7
5 |100000

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