How can I compute the utilization time during shifts and the overtime ?

How can I compute the utilization time during shifts and the overtime ?

leah_r
Not applicable
6 Views
8 Replies
Message 1 of 9

How can I compute the utilization time during shifts and the overtime ?

leah_r
Not applicable

[ FlexSim 21.0.10 ]

Hi!

I deleted my post by mistake so here it is again.

I am trying to model an operating room.
I want to:

  • compute the time the resource were used during their shift (utilization)
  • compute the time the resource were used during the breaks (overtime)

My problems is that the utilization graph provided in the library computes the utilization during the shifts AND the breaks... and that it is a percentage instead of being in minutes.

I though of a possible solution. I want to create of twin of each of my resource. Every time the initial resource is on break, the twin will be used instead. Thus, the utilization of the twin will be the overtime of the initial resource. Thus raises another question though: how can I change resource when a process is ongoing? The following figure illustrated my proposition.

1649765683255.png

Is this solution relevant / the best way to go? If yes, how can I implement it? If not, can you provide with another idea?

Thanks in advance,

Leah


0 Likes
Accepted solutions (1)
7 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Accepted solution

I would try instead to add a state profile (rank 3 perhaps after Availability and HC States) that records three scheduled states - working, lunch, non-working and then when there is any state change in that or the HC state, you can see which combination applies and use the usual options to record it (tracked variable, statistics collectors etc).

Message 3 of 9

leah_r
Not applicable

Thank you for your answer.

In my understanding:

  • each object can have several profiles (ex: Availability)
  • each profile gives a list of states (ex: Available, Acquired, Unavailable)

So, for this model, I will create a profile CustomProfile with the following states:

  • Break = the scheduled breaks in time table from 8am to 8pm
  • NightShift = everyday from 8pm to 8am
  • DayShift = the rest of the time

Thus, I can have the following combinations:

Profile 1 // Profile 3

DayShift

Break

NightShift

Available

/

/

/

Acquired/Unavailable

Utilization

Overtime

Night Utilization


For example, when the OR is in (Acquired, DayShift), is is considered as utilization.

Everytime a specific combination happens, I count the time the OR spends in that specific state.

My questions are:

  • I think I know how to create a custom profile for one OR. How can I create the same custom profile easily for all ORs ?
  • How can I identify when the OR is in one of the Break, NightShift and DayShift states?

Thanks in advance,

Leah

0 Likes
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

Here's a model with a user command to assert the stateprofile. Then you can use the normal methods of finding the state.

assertStateProfileTV.fsm

0 Likes
Message 5 of 9

leah_r
Not applicable
Hi @Jason Lightfoot ! I'm not sure I understand what you put in your model, could you please elaborate ?

Thanks in advance 🙂


0 Likes
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
Did you write in your other posts that this is now solved? Does that mean you now understand what was done and how to use it?


As I said, I added a user command to assert a state profile tracked variable on any object with the name specified.
0 Likes
Message 7 of 9

leah_r
Not applicable

I created a new state profile as I said in my other posts. Thus I can now visualize two state gantt chart for profile 2 (HC States) and profile 3 (custom state):

1655301065573.png

However, I know want to visualize the combinaison of states from different profiles. I would like to create a State Gantt Chart that shows the 15 following states:

1655301158142.png


From what I understand, your command takes an object, a profile type and returns the state number activated, correct ?

Would it be relevant to use that command in a statistics collector with the following columns : TimeStart, TimeEnd, StateProfile2, StateProfile3, StateProfile4 ? The rowValue would be the time there is a state change within profile 2 or 3.

I could then use that Statistic Collector to create a Gantt Chart.

0 Likes
Message 8 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
No - the command I gave returns the rank of the new state profile so that you know which profile number to enter when you are querying the state.
0 Likes
Message 9 of 9

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Leah R, was one of Jason Lightfoot's or Leah R's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes