question

Evelien S avatar image
0 Likes"
Evelien S asked Evelien S commented

Next acitivity loop not working

Hi, I'm trying to simulate a hospital in which patients stay at different departments within their stay. (in this case 1 bed= 1 department). Right now the track my patients are following is arrival->process->exit. But I want FlexSim to read from a global table and as long it doesn't come across a 0 the patient needs to go back to arrival and a different department and not leave yet. The patients don't go to a waiting room, so therefore I don't want to add one. Right now I have added a next activity based on multiple cases within the process, but I doesn't seem to work properly. I want my patients to follow the track arrival->process->arrival->process on different bed->....-> exit

Beddenhuis v2 - Copy.fsm

FlexSim HC 5.3.10
next activity
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

Matthew Gillespie avatar image
0 Likes"
Matthew Gillespie answered Evelien S commented

First of all, you are using an old version of the healthcare software. This is important for two reasons. First is that the kind of model you're trying to build is much harder to build in this version than in FlexSim Healthcare 2020. Second is that this older version is not as well supported and you won't get questions answered as quickly. If at all possible, I would recommend updating to use the latest version of the software.

I made some changes to get your model to start working. You'll notice that the model stops after a few minutes, that's because the required changes are very time intensive and I just did a few to demonstrate how it should work.

The main problem is with the Flowchart and the Location Areas. Patients can't move between locations in the same area (although they can in FlexSim Healthcare 2020). They always have to move to a different area. So basically you would need to create a distinct area for each of your departments and then make connections between each of the areas in the Flowchart.

I updated your model so that it has separate areas for the first few departments and made a bunch of connections between them.

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

Evelien S avatar image Evelien S commented ·
Thanks for answering!Unfortunately this older version of hc is the package my employer provides and we're not allowed to get an update that easily because of data security etc. I did find a solution seperating the beds in a different bed areas just like you said! And adding a decision point at the start of my patient track made it run perfect. Thanks!
0 Likes 0 ·