question

jacks avatar image
0 Likes"
jacks asked Matthew Gillespie edited

Label does not exist

12345.fsm Hi guys,

I meet a problem in my program, there always a reminder shows that the label dose not exist between airline and agents, while the financial table shows that the label is identified and count as cost. Thus, i would like to figure out what is going on.

FlexSim 21.2.4
labels
12345.fsm (23.8 MiB)
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

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Jason Lightfoot commented

The sources and queues at the start of your model all use the label "Type" in their Send to Port fields. That label does not exist on the items which leads to the error messages.

1690189638623.png

1690189661427.png

The financial chart has nothing to do with this.


1690189638623.png (49.3 KiB)
1690189661427.png (4.1 KiB)
· 9
5 |100000

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

jacks avatar image jacks commented ·

Thanks for replying, while there is still problems of label. I changed all the output to the "by expression" and clicked "item'", but it still shows that the label does not exist in the airline part. 1690192833902.png

0 Likes 0 ·
1690192833902.png (193.3 KiB)
Felix Möhlmann avatar image Felix Möhlmann jacks commented ·

The part of the error message you marked tells you where (in what code) the error happened. The first sentence tells you where the label is missing.

1690193459899.png

Either create the dueTime label on the pallets as well (even though it won't be used later) or add a condition to the entry trigger that the item must not have entered through the first port for the rest of the code to be executed.

if(port != 1)
{     ... }
0 Likes 0 ·
1690193459899.png (6.0 KiB)
jacks avatar image jacks Felix Möhlmann commented ·

thanks for help, the problem solved. Well, the coding of the airlines seems in a wrong logic, i would like to edit it.

0 Likes 0 ·
Show more comments