question

Sachin N avatar image
0 Likes"
Sachin N asked Raja Sekaran answered

Is it possible to adjust input rates on fluid objects based on ProductID?

FlexSim 18.0.3
flexscriptfluid objectinput ratesrate control
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 Machado avatar image
0 Likes"
Michael Machado answered Sachin N commented

Yes, even using the standard fluid library that FlexSim has, you can adjust input rates accordingly of the product type or ProductID. FloWorks has a powerfull features to better handle that and you can download FloWorks in your FlexSim's account to evaluate it. Below you can see the image for both kind of object (standard fluid library and FloWorks).


fluid.png (201.9 KiB)
· 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.

Sachin N avatar image Sachin N commented ·

I was looking at adjusting product IDs and the simulation changing rates accordingly. There isnt much help on the scripting that is possible on the 'Adjust Object Rate' option

0 Likes 0 ·
Raja Sekaran avatar image
0 Likes"
Raja Sekaran answered

@Sachin N

I have attached the sample model. sachin-support-1.fsm

In the attached model, I have written code in the OnReset, OnMessage and OnEmpty trigger of a fluid generator in order to adjust the productID also write code in the Adjust input rates trigger in a fluid pipe to adjust the input rate based on product ID.

I hope this helps you get started.

Thanks


5 |100000

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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