question

Steven Hamoen avatar image
0 Likes"
Steven Hamoen asked Steven Hamoen commented

Remove patient after release location. Bug?

I'm aware that a location is not really released until the patient has actually left it. But I would expect that after a remove patient the location would also be released. Is this by design or a bug?

See model:

ProblemRelease.fsm


FlexSim 21.0.1
flexsim 21.0.1release locationremove patient
problemrelease.fsm (45.2 KiB)
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 Steven Hamoen commented

It's not really by design, but I wouldn't call it a bug - it's more like user error. Why are you deleting the patient while still inside a location? Because you don't want to model the person walking to an exit? Then make sure you use a MoveObject activity to have the person exit the location.

We could possibly handle this case better for the user and have the person automatically moved out of a location before removing them. But, there are still plenty of other cases we don't handle. If you remove a person without releasing a location then the location isn't automatically released for you. Most of these sorts of things are very low priority since most users just take care of it themselves and its not a big deal.

· 3
5 |100000

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