question

Juan S4 avatar image
0 Likes"
Juan S4 asked Ryan Clark commented

Sorting conveyor - how to create 100 labels

Sorting conveyor 1.1.fsm Good day. Please see attached model.

Question 1: I need to assign 100 different labels by percentage to the boxes that enter onto the conveyor but I notice that the function only allows up to 15 different labels. The labels that I need to assign will be 1-100 because I intend to have 100 different sorting destinations in my final model.

Question 2: Is there any way how I can assign a unique / different colour to each of the 100 different labels after I have assigned the labels by percentage?

Thanks. Regards Juan

FlexSim 21.2.0
labelssorting conveyor
· 4
5 |100000

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

Juan S4 avatar image Juan S4 commented ·

Comment on question 2: I meant Is there any way how I can assign a unique / different visual colour to each of the 100 different boxes ( symbolic of the 100 different labels) after I have assigned the labels by percentage?

0 Likes 0 ·
Ryan Clark avatar image Ryan Clark commented ·

Hi @Juan S4, was Joerg Vogel's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.

0 Likes 0 ·
Juan S4 avatar image Juan S4 Ryan Clark commented ·
Hi @Ryan Clark , thanks I have accepted the answer and already implemented it in my new model a few hours ago. Thanks for the message. Regards, Juan
1 Like 1 ·
Ryan Clark avatar image Ryan Clark Juan S4 commented ·
Awesome! Sounds good!
0 Likes 0 ·

1 Answer

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Juan S4 commented

You need for sorting ONE label with 100 VALUES! But if you insist to assign more then 15 labels fitting on your screen resolution, then you can assign them by process flow structure in a loop to an single object.
100 different colors should not be a problem, you have 256*256*256*256 color values you can set. 256 of them control the visibility. Maybe we are already at 10-bit color depth per color channel. This would be a color range of 1024*1024*1024*1024 then. You need the color constructor to access the range. There is a more heuristic method you can try byNumber.

· 7
5 |100000

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

Juan S4 avatar image Juan S4 commented ·

Hi Joerg, thanks for your reply. What I meant is that I require 100 different labels. Each of these 100 labels will have a numeric value of 1-100. As the boxes enter onto the conveyor or get created I will assign ONE label onto One box but there are 100 different labels and each label is linked to a sorting destination. I hope this helps clarify my requirement. But the spread of labels will not be equal and I need to assign the different labels by percentage as one destination might have more product needing to be sorted to it.

0 Likes 0 ·
Joerg Vogel avatar image Joerg Vogel Juan S4 commented ·

I have understood your initial question quite well, but my answer is still the same, only if you have a 100 level depth sorting tree, you need 100 different labels for each level a different one. If I want to sort 100 people, I need only 1 attribute like a name to distinguish between them. The name attribute is similar to one label with 100 different values. I don’t need 100 attributes like height, eye color, gender, hair color and so on.

but if you want to put 100 attribute labels into each single item, then you can also add an array in a label with 100 entries or you can assign a table to a label node.

EDIT: You have in fact 100 power by 100 different products, you want to simulate in single simulation run?

0 Likes 0 ·
Juan S4 avatar image Juan S4 Joerg Vogel commented ·
Thanks Joerg. Is it possible for you to kindly modify my attached model quickly so that I can see how this is done?
0 Likes 0 ·
Show more comments

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.