question

Karim B avatar image
0 Likes"
Karim B asked Karim B commented

Why my first products go directly to the Second or third process?

Hi everyone,

I don't know why my first products ( imported from excel sheet ) go directly to the second or third processes. after being manufactured, the flow goes normally and the schedule is respected.

you will find attached a picture where you an see my process

FlexSim 18.0.3
flow items
4gm9y.png (466.8 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.

Clair A avatar image Clair A commented ·

Hello Karim, is it possible to share your model with us ? It's difficult to guess what's wrong only with a screenshot.

0 Likes 0 ·
Clair A avatar image
0 Likes"
Clair A answered Karim B commented

Based on your screenshot my guess is that you created a label called "Montage electrique" with a space, but then you try to read a label called "Montageelectrique" without space, so it's not strictly the same. My advice would be to name your label "Montage_electrique" with underscore, and use exactly this name whenever you want to read or edit the label.

· 5
5 |100000

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

Clair A avatar image Clair A commented ·

Since you have uploaded your model I checked and yes indeed that's the error. To get the process time you wrote:

item.Montageelectrique

But your label is called "Montage electrique" with a space. So I suggest you don't use spaces when you set a label name. Call it "Montage_electrique" in your Excel file and then use this syntax to get your processtime:

item.Montage_electrique

Same remark with "Montage mecanique", replace it by "Montage_mecanique" and read this label with the statement item.Montage_mecanique.

0 Likes 0 ·
Karim B avatar image Karim B commented ·

process-time.fsm Does the " item.Montageelectrique" not refer to my excel files? because I have done an other process where it works perfectly. I just added a new source with 2 combiner and then this problem happened.

You will find attached here my first model

0 Likes 0 ·
process-time.fsm (30.7 KiB)
Axel Kohonen avatar image Axel Kohonen Karim B commented ·

And in case you want to use spaces in the names you cannot use the shortened syntax, but have to use the full labels syntax.

item.labels["Montage electrique"].value
2 Likes 2 ·
Clair A avatar image Clair A Karim B commented ·

Yes if you named it "Montageelectrique" in Excel then item.Montageelectrique works fine. The answer is to be careful, you need to use exactly the same label name in your Excel file and in FlexSim, this is right in your second model but not in the first one. "Montage electrique" is not the same as "Montageelectrique". Even "Montageelectrique" is not the same as "montageelectrique", since syntax in FlexSim is case sensitive.

1 Like 1 ·
Karim B avatar image Karim B Clair A commented ·

Thank you!!!

I just saw that my second source didn't got the right column name

0 Likes 0 ·
Karim B avatar image
0 Likes"
Karim B answered

essai-2.fsm (37.4 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.

Axel Kohonen avatar image
0 Likes"
Axel Kohonen answered

Hi @Karim B

I am not sure if I understand your problem correctly as you only have attached a picture, but it seems that you have connected at least some of the processors to multiple processors, e.g. Montage_electrique_3 is connected to Cablage_3 and Cablage_9 so if Cablage_3 is busy then the product goes to Cablage_9 if you are using the default flow logic.

Another possible explanation is the error that you are getting in the System console. This might explain it if you are trying to use the property label for routing the products.

It can also be that you have connected the connectors in the incorrect order. You can change this order from the General properties tab of the object that is routing the items to the first process.

Hope this helps!

Axel

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.