question

Ashwath M avatar image
0 Likes"
Ashwath M asked Jason Lightfoot commented

Output per hour from a Fluid object

Hi,

What is the most effective way of getting output per hour from a Fluid Object? While we can set the output and input rates in the object property window, I wanted to know the ways to validate the actual flow rate. The Standard Dashboard Charts (Output/hour) does not work for Fluid Objects. If this can be done from Statistics Collector, Can someone share the way it can be executed? Thanks in advance!

FlexSim 22.0.5
statistic collectorfluid objectfluid libraryoutput per hour
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ashwath M, was Felix Möhlmann's answer helpful? If so, please click the "Accept" button at the bottom of their answer. 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 0 ·

1 Answer

Felix Möhlmann avatar image
1 Like"
Felix Möhlmann answered Jason Lightfoot commented

The statistics collector of the standard chart depends on the On Entry/On Exit events which don't exist for the fluid objects.

You can build your own statistics collector that uses a timer event to collect the current output statistic every hour. See the attached model for an example.

fluid_output_collector.fsm


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

Ashwath M avatar image Ashwath M commented ·
Hi @Felix Möhlmann @Jeanette F Is there a way to obtain the last updated value from a Statistics collector table (of a specific column). I'm looking to extract the data to a performance measure or plot a graph. It has to be the last value of a column and not average. The obtained data will therefore keep updating as there are more rows added every hour. Thanks in advance!
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ashwath M commented ·
Table.query("SELECT * FROM StatisticsCollector1 ORDER BY Time DESC")[1]["TotalOutput"]

.. for example.

0 Likes 0 ·