How to make a source produce 2 types of items

How to make a source produce 2 types of items

darby_c
Not applicable
418 Views
5 Replies
Message 1 of 6

How to make a source produce 2 types of items

darby_c
Not applicable

[ FlexSim 21.2.2 ]

Hi im new to the software, is there a way to make a single source create two items in a batch style quantity?

i.e 40 of item a, followed by 40 of item b.

I have tried using label by percentage but then i am unable to colour the items differently.

If there are relevant tutorials on this topic please point me in their direction.

Thankyou!

0 Likes
Accepted solutions (1)
419 Views
5 Replies
Replies (5)
Message 2 of 6

joerg_vogel_HsH
Mentor
Mentor
Accepted solution

scheduled source mode or sequence source mode. Set a quantity.

set color by case in On Exit trigger. Switch Condition is item.Type.

0 Likes
Message 3 of 6

ryan_c10
Not applicable

Hi @Darby C, 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
Message 4 of 6

darby_c
Not applicable

Flex.png

Base Factory.fsm

Hi Joerg,

I have just tried that and it isn't changing the colours.

These are the current settings i have and the error can also be seen that i am receiving along with my file that i am currently running.

Thankyou for your time!

0 Likes
Message 5 of 6

moehlmann_fe
Enthusiast
Enthusiast

The switch value in the "Color by Case" option doesn't necessarily have to be "Type", but rather the label you assigned to the item. In your case, you assign a label called "MyLabel1" in the arrival sequence table. Either change this name to "Type" or use "MyLabel1" in the trigger option.

Furthermore, you haven't actually set any colors for the possible label values yet. Only red as the default color for when the value is not handled otherwise is set.

Add more options by clicking on the green plus icon an define a color for each possible value of the label.

1632819498649.png

If you don't care what specific color each value is assigned you could also just use the "Set Object Color" pick option with "Color.byNumber".

1632819595102.pngbase-factory_fm.fsm

0 Likes
Message 6 of 6

darby_c
Not applicable
Thankyou so much!
0 Likes