question

pc neo avatar image
0 Likes"
pc neo asked Mischa Spelt answered

floworks SetFlowMaxContent output message can be disabled?

capture.pngIn my model I've set use SetFlowMaxContent command to set vessels max content to 3500 and at some point of time later, I have set the same vessels max content to 3000. In this instance, a message is printed out at "Output Console" as below.

"Tank1: Entered new max content is smaller than the current content. Content is reduced to maximum content."

This message only appears once even though many vessels has done the same action.

My question:

a) Is this something that we should avoid doing?

b) Can we disable the printing of the message onto "output console", if it is harmless?

FlexSim 18.0.3
FloWorkssetflowmaxcontent
capture.png (107.5 KiB)
5 |100000

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

1 Answer

·
Mischa Spelt avatar image
0 Likes"
Mischa Spelt answered

Usually you should only get this warning when you are actually setting the max. content to a smaller value than the actual content, thereby making material magically disappear - in which case it is an actual error that you should look at and fix.

If you apply this to a tank which has a content of exactly 3000, you may get this message due to rounding errors - if the content was not set directly but created by a source or loading arm, for example, behind the scenes FloWorks may think that it has a content of 3000.0000001 and setting the max content to a smaller value of 3000(.0000...) will trigger the warning.

One question is whether you should be changing the maximum content of the tank at all - for example if you want to partially fill a tank you can do that using triggers and loading targets on the loading arm without reducing the tank capacity. If you'd be able to share your model, I would be happy to have a closer look and see if I can suggest another way of setting it up.

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.