question

Cayo E avatar image
0 Likes"
Cayo E asked Jeff Nordgren converted comment to answer

Item Type

I need to set up the creation of ItemType, in my process there are 3 independent lines (03 different products) however each one works at once. When I'm running ItemType 1 the other production lines need to be idle. I need to set up a production that ItemType1 is 75%, 2 is 20% and 3 is 5%. Is the table created incorrect? Please help me.

FlexSim 19.0.2
itemtype
newmodel-rev-02.fsm (29.7 KiB)
· 2
5 |100000

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

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Your table is mostly correct, the last row should say 5 instead of 25, but the source is correctly making 75% of the items as Type 1, 20% Type 2, etc.

Can you explain more what you want the model to do? What do you mean "When I'm running ItemType 1 the other production lines need to be idle." ?

0 Likes 0 ·
Cayo E avatar image Cayo E Matthew Gillespie ♦♦ commented ·

In my model you have 3 independent production lines, when you are processing type1, the rest must be idle. That is, it will never be produced in two lines at the same time. On the table, I need to produce 75% type1 in a 24 hour period, so on.

0 Likes 0 ·
file.png (155.7 KiB)

1 Answer

·
Jeff Nordgren avatar image
0 Likes"
Jeff Nordgren answered

@Cayo E,

Attached is your model with the changes that I've made. I'm hoping that I understand what you are wanting. The way I did it is there is only one flowitem type that processes at a time. Is that correct?

In the attached model I added a queue after the source. That is so I can compare the next item type (in the queue) than needs to process.

I changed the OnEntry triggers for each of the first three processors. I added code in the OnExit trigger of the 6 processors before the sink. That is where I do the comparison with the next flowitem that is going to process. If all current flowitem types have been processed, I open all the input ports of the first three processors. If it's not the same item type, then I open the processor for that item type and close the other two processors.

If this is not what you are looking for, please add more detailed information so that we can get it working the way you want.

Thanks.

newmodel-rev-02-jn1.fsm


· 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.

Cayo E avatar image Cayo E commented ·

This is perfect,

Thanks.

0 Likes 0 ·

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.