question

Sebastian Hemmann avatar image
0 Likes"
Sebastian Hemmann asked Joshua S commented

Send to Port by Expression default?

Hi,

attached an example model in which I create 4 Types of items but set the Queue with 3 Outputports to By Expression = item.Type.

In my mind all Items with Type 4 should be never released!?

Sadly they are (and I can´t figure out why and how).

sendtoportbyexpression.fsm

FlexSim 19.0.2
send to portitemstype
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

·
Paula Carneiro Martins avatar image
2 Likes"
Paula Carneiro Martins answered Joshua S commented

Hello Sebastian,

If you check the box the option Reevalute Sendto on Downstream Availabily it will work.

Seems like the problem just occurs when you have processors in downstream, as you can see in the model

18422-sendtoportbyexpression-1.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.

Sebastian Hemmann avatar image Sebastian Hemmann commented ·

Thank you @Paula Carneiro Martins,

you are right. This seems to solve the problem.

But I´m further looking for a "why" this is happening!? Sadly even in the user manual no explanation about why this could happen is to find. Appart from this that I assumed if this checkbox has to be checked to work this way, this setting should be turned on by default...

0 Likes 0 ·
Joshua S avatar image Joshua S Sebastian Hemmann commented ·

Looks liek a bug, I submitted this to the dev team, Here's a model where it shows the items being pushed in a busy system, where if the system is more relaxed it works how it should.

18422-sendtoportbyexpression.fsm

0 Likes 0 ·

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.