question

michael.smith avatar image
2 Likes"
michael.smith asked Jordan Johnson commented

Process Flow Statistics

I'm trying to show resource availability over time in the model.

I have dashboard charts as shown below, the first shows the table of figures, the second the average over time

In order to get the stats to update at the start of the model I allocate all of the resources for a short task then deallocate them.

After that the numbers match the chart until the least used resources are inactive for a time then their availability in the chart drops to zero but all the other stats remain at their true value. Is there a different way the chart stats are calculated/displayed? The sudden drop from 1 to 0 suggests that a timed loop is happening.

Mike

FlexSim 16.0.1
process flow
chartstats.png (137.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.

michael.smith avatar image michael.smith commented ·

Following on from this and looking at this a bit deeper I'm trying to do some calcs on the stats.

I've been through

https://answers.flexsim.com/questions/22200/how-can-i-capture-the-total-staytime-of-all-the-to.html

but I can't get it to work for the other data, I'm assuming that as it's a node with data rather than a container for a table/bundle it's different.

I'm trying to extract the Average Data field from this node. Can you help with that?

Mike

0 Likes 0 ·
staytime.png (13.2 KiB)
Jordan Johnson avatar image Jordan Johnson ♦♦ michael.smith commented ·

@michael.smith I moved this question to a new question here.

1 Like 1 ·

1 Answer

Jordan Johnson avatar image
3 Likes"
Jordan Johnson answered

There is a difference, actually. The ResourceAvailable statistic is time weighted, so over time, the average will drift towards the current value. Because the average drifts, it is a truly continuous function.

The table displays the current value of that function; it just evaluates the function at the current time. The graph, on the other hand, can be misleading, especially with the stair-step style of line in the current example. While you can always obtain the correct value for the average, the average is only recorded when the current value changes. The graph shows that record.

If you change the line style for the series (on the series tab of the chart properties window) to Line or Points, you will get a much better picture of how the average is behaving.

5 |100000

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