How to use Product ID and Class Statistics in Fluid Objects

How to use Product ID and Class Statistics in Fluid Objects

ozawa_shinya
Advocate Advocate
26 Views
4 Replies
Message 1 of 5

How to use Product ID and Class Statistics in Fluid Objects

ozawa_shinya
Advocate
Advocate

[ FlexSim 23.0.8 ]

Hi,

Fluid Mixer and Fluid Blender can be set the Target Product ID, and we can see the current Product ID in the Statistics tab of the properties of Fluid Objects.

Also we can see Class Statistics in the Statistics tab in some Fluid Objects (e.g. Fluid Processor).

Is there a way to display these information on the dashboard?

Is there a way to access these information in simulation?

Is there no choice but to specify the treenode and evaluate the value?

Thanks in advance.

0 Likes
Accepted solutions (1)
27 Views
4 Replies
Replies (4)
Message 2 of 5

jonah_kendellR47TC
Autodesk
Autodesk
Accepted solution

Yes, I would reference the treenodes when getting the Class Statistics and Current Product ID. In the object's tree, you can right-click the objectinfo node, or productid and objectstats nodes (in variables) and select Explore > As Table. You can then reference these tables in the Dashboard. In the Dashboard library under Model Input, select Table. Click on your new table and in the properties, select the eyedropper next to Link, then sample your previously created objectinfo, productid, etc. table.

You can repeat this same process using a Dynamic Text dashboard item if you want to get a single value, like the Current Product ID (as demonstrated in my attached example model).

You can also use the getvarnode() command to access the variables of your fluid object, in this manner:

treenode obj = Model.find("FluidMixer1");
return getvarnode(obj, "objectstats").subnodes[3].value; //returns FluidMixer1 Utilization


Here is an attached example model demonstrating these concepts. Hope it helps.

FluidStatsDemo.fsm

0 Likes
Message 3 of 5

ozawa_shinya
Advocate
Advocate
Thank you for your nice model and explain.
0 Likes
Message 4 of 5

arunTTT2P
Explorer
Explorer

Take a look at Floworks if you are planning to simulate bulk material flow.

https://www.talumis.com/

0 Likes
Message 5 of 5

jason_lightfootVL7B4
Autodesk
Autodesk
And the mass flow conveyor.