question

Mark S2 avatar image
0 Likes"
Mark S2 asked Mark S2 commented

Sequential and Simultaneous Process Flows

Hi,

The attached model is a vaccination clinic. Vaccines must remain in the freezer until ready for use and require a runner (simply a process delay in the model for now) to replenish the doses in batches of 5.

The model logic goes like this - once a staff label drops to 1 vaccine left, the replenishment process begins simultaneously while they are still immunizing a patient. If on the next patient the replenishment process is not complete (staff label set back to 5) they will 'wait for event' of replenishment (label value change) before starting the next immunization.

The issue is I need to have two separate flows, one caused by the other (hence the tags sequential and simultaneous), but I do not see a way to do this. I tried to create another token (split) but the staff are not being released properly.

Is there another strategy for this kind of model that could work?

Thank you!

Mark

Vaccination Model with Parallel Resupply Staff.fsm


FlexSim 20.2.3
flexsim 20.2.3sequentialsimultaneously processingsublfow
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

·
James Rodgers1 avatar image
0 Likes"
James Rodgers1 answered Mark S2 commented

In the attached model, immunizers have a label called Stock. I have added this label to the People "Staff" global list. In the "Nurse Immunizers" resource activity, the "Sort By" field in the advanced section has been set to "Stock DESC" to sort the immunizers with those with the most stock at the top (note that this still needs changed in the model). I have used the "Filter By" field to limit the available immunizers to those that have a Stock label value greater than 0. Every time a patient is immunized the stock on the selected RN is drawn down. When an RN has one left, that RN is "pushed" to a global list called "RNs Needing Restock". A process flow called "Replen Tech Logic" was added. The token waits for an RN to show up on the "RNs Needing Restock List". a reference to that RN is saved in a label token.RN. The Replen Tech walks to the "fridge" draws out stock, travels to the RN and updates the RN's Stock label and returns to the fridge. This is a method (via lists) for one process flow to create work for another process flow which is monitoring a common global list.NSH Reflex Model 20201215_1.fsm


· 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.

Mark S2 avatar image Mark S2 commented ·

Hi Jim, thank you!!!

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.