question

christophe C2 avatar image
0 Likes"
christophe C2 asked Joseph Gillespie commented

Record the total occupied minute per day of a bed area ?

model-occupied-minute-per-day.fsmHi,

How can I get the total occupied minute of a bed area by day ?

I suppose that I need to use the data collector with a time interval recording ? Bur how to set up the other parameters in order to get the total occupied minutes ?

I need to export these data in order to evaluate the variability by day.

Thanks in advance.

FlexSim HC 5.3.4
datadata collectorvariabilityoccupied minute
5 |100000

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

Cliff King avatar image
0 Likes"
Cliff King answered Braydn T commented

I'm not sure where you got the spreadsheet of data from above. Usually you only get one value for the location or area's dwell time (either min, max, avg or total based on the widget settings) in a Location Dwell Time dashboard widget.

The dwell time option you chose for the column definition in the data collector gets the time a patient was dwelling in the location they exited from. Notice the option suggests "This option works best with a patient or item exit event" for the Recording Event. There's not a pick option, but the following expressions can be used to get the dwell time of a location. To get the dwell times for an area you would need to combine the dwell times for all the individual locations within the area.

  • return get(stats_staytime(theLocation));
  • return get(stats_staytimemin(theLocation));
  • return get(stats_staytimemax(theLocation));
  • return get(stats_staytimeavg(theLocation));

The easiest approach would probably be to use the Statistics > Output Raw Data menu option as shown here.

This will give you results that look like this from the model you attached earlier. Notice the model has a warmup time so the information at the end of the warmup day (time 10080) is reset to 0, and then you get values at the end of each day (every 1440 minutes) after that.

Will this work for you?


chris1.jpg (96.3 KiB)
chris2.jpg (774.6 KiB)
· 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.

Cliff King avatar image
0 Likes"
Cliff King answered christophe C2 commented

You should be able to use the Locations > Dwell Time dashboard widget. In the Display Settings for the widget, choose "Total" for the "Statistic to Show".

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