question

Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann asked Sebastian Hemmann edited

Schedule down Staff

Hi, attached is an model that shows a Staff group with different Work shifts. In PF the group is an Acquire that takes them all.

I found a link that says we should use the "Down Behavior" but it seems as if this option is greyed out!?

Is this a bug in 2020 Update 1, or am I doing something wrong?

StaffOnBreak.fsm

FlexSim 20.1.2
flexsim 20.1.2scheduled downdown behavior
staffonbreak.fsm (61.9 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.

Benjamin W2 avatar image Benjamin W2 commented ·

Hi @sebastian.hemmann,

I'm not sure why the "Down Behavior" doesn't work. It looks like your staff is considered down, but they are still able to be acquired by patients. Then, the staff doesn't move because it is in it's down state, even though they have been acquired. @Matthew Gillespie can probably shed more light on this.

Here is a work around for now:

In the "Staff" global list, add a field called "State" with the value of: value.as(Object).stats.state().value.

Then, in the staff resource "Filter By" field, enter State != 12. Then patients will only be able to acquire resources that are not in the down state.

staffonbreak.fsm

1 Like 1 ·
staffonbreak.fsm (254.3 KiB)

1 Answer

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

How did you create those time tables? The table on your time tables is missing the Profile and DownBehavior columns.

If I add a new time table in your model it has the correct columns


1590684216821.png (13.5 KiB)
1590684314220.png (12.6 KiB)
· 2
5 |100000

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

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

I double clicked a Staff member, went to the "Breaks" Tab in the GUI and add a time table with the pickoption.

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ Sebastian Hemmann commented ·

@sebastian.hemmann Ah, thanks for pointing that out. That code hasn't been updated in forever it looks like.

Add the time tables through the toolbox and it will all work correctly.

0 Likes 0 ·