question

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

Inconsistent behaviour by leaving a location

Hi,

I've designed a model simulating a workflow in a radiology where different patients recieve a CT examination.

there is a strange behaviour when the patients should leave the CT-area. sometimes they just leave the scenario (thats what I want), sometimes they remain in the CT forever. I can see no reason why, because there is nothing that prevent the patient to leave.

anybody an idea or has a similar problem? could it be a bug?

many thanks in advance.

model is attached, the relevant patient track is Track 2 (track 1 works fine).ct-workflow-with-2-tracks.fsm

FlexSim HC 5.3.2
leaving location
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
1 Like"
Matthew Gillespie answered christoph S2 commented

If you click on a patient during a model run it will show you what activities they are currently doing. When I click on one of your Track2 patients they are doing the same activity twice at the same time. For example, in this picture you can see that the patient is doing activity 20_Reg twice:

The reason the patient doesn't leave the CT is because the 2nd patient goes to the CT with activity 31, but he is also doing activity 30 at the same time (for the 2nd time too). While at the CT, activity 30 finishes and he starts 31 for the 2nd time and now he's trying to walk to the CT again.

You are using Predecessors and the Next Activity field on almost every activity. This is bad, you should choose one or the other. I would recommend clearing all the Next Activity fields and only using Predecessors on these activities. The Next Activity field can be useful in certain situations (like a Decision Point activity), but if you use it you need to turn off Predecessors on the activities on the other side. The User Manual does a good job explaining the difference and when to use which. But, the most important thing is that you can't use both at the same time to start the same activity.

On a side note, you should scale your floor plan down. It's really big and you're scaling all your objects up to fit on it, but that makes the objects look really bad, and the animations stop working correctly.


activities.png (106.2 KiB)
· 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.

christoph S2 avatar image christoph S2 commented ·

Hi, thanks, that seems to work. I thought that I had to define each next step expicitly. Now I understand the (former confusing) entries in the Activity Table ;)

0 Likes 0 ·