Label does not exist

Label does not exist

song8
Not applicable
44 Views
10 Replies
Message 1 of 11

Label does not exist

song8
Not applicable

[ FlexSim 21.2.4 ]

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.

0 Likes
Accepted solutions (1)
45 Views
10 Replies
Replies (10)
Message 2 of 11

moehlmann_fe
Observer
Observer
Accepted solution

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.

0 Likes
Message 3 of 11

song8
Not applicable

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
Message 4 of 11

moehlmann_fe
Observer
Observer

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
Message 5 of 11

song8
Not applicable

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
Message 6 of 11

moehlmann_fe
Observer
Observer
In what way is it wrong? How would you want to change it?
0 Likes
Message 7 of 11

song8
Not applicable
nothing, i reset the trigger
0 Likes
Message 8 of 11

song8
Not applicable
Hi felix

There is a question about how to set a fee when the queue "warehouse" is loaded with items. I set a state cost for queue waiting for transporter, seems like it does not work.

0 Likes
Message 9 of 11

moehlmann_fe
Observer
Observer

The "warehouse" does not release items by itself, so it will never enter the "waiting for transport" state.

Wouldn't the fee be calculated per item anyway? In which you should be able to do it similarly to the late penalty. Set a label on the items so a certain value is either added once when they enter the queue or continuously while they are inside (or both).

0 Likes
Message 10 of 11

song8
Not applicable

Thanks for reply, but id like to show the state that of the "warehouse"'s loading, like set a warehousing fee according to the time the item spends in warehouse. Is there any other way except set a new label?

0 Likes
Message 11 of 11

jason_lightfootVL7B4
Autodesk
Autodesk
Can you post a new question with a clearer description of what you're looking to achieve?
0 Likes