question

Fengjun0113 avatar image
0 Likes"
Fengjun0113 asked Jeanette F commented

Conveyor to different processors

This is a FlexSim 2016 model. In this model, I would like to let items go to Process1 or Process2 by conveyors. Here is the logic of conveyors:

1. DP1 has to send items depends on the availability of Queue11 and Queue22. The maxumun content of both Queue11 and Queue22 is 2 items. For example, when Queue11 already has 2 items, then DP1 sent item to Queue22.

2. When Processor1/Processor2 finished producing, items will go through ConveyorFromProcess1/ConveyorFromProcess2=>Conveyor2=>Conveyor3=>Queue42. Addition to the availability of Queue11 and Queue22, DP1 has to consider whether ConveyorFromProcess1/ConveyorFromProcess2 has item. If no, then DP1 can sent item to Queue11 and Queue22.

1672387565904.pngConveyor to Processors V2.fsm

FlexSim 16.1.2
conveyor
· 3
5 |100000

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

Joerg Vogel avatar image Joerg Vogel commented ·
Your Decision Points are too near to the point of decision. Please, place both DPs on vertical conveyors at least into the middle of conveyors. Additionally add a DP (short: new) near exit of your system to allow DPs from exiting Queues of Processors to Send conveyor items to (new).

Personally I think, tutorials in manual are quite enough to get this logic working. You need to evaluate content of queues by command or property [subnodes]. Because there is not an online documentation for your old version, I link both to version 19. But in your program there is a manual: Use and read it. I’m not allowed to use the common abbreviation for this, though I would like to.

0 Likes 0 ·
Fengjun0113 avatar image Fengjun0113 Joerg Vogel commented ·


Hi, I tried to use "content" to determine the destination, but it doesn't work. Then read the mauanl and learned "Area restriction". In this function, is it allow more then 1 item in the area? Beacuse I want to make Processors batch processing.

1672502802652.png


conveyor-to-processors-v2.fsm

0 Likes 0 ·
Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Fengjun0113, was Jason Lightfoot'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 ·

1 Answer

·
Jason Lightfoot avatar image
1 Like"
Jason Lightfoot answered Jason Lightfoot commented

Student tip: Instead of examining the queue content at the time of the decision, consider use a counter to say how many are in the cell area. Think about when to increment and decrement that counter to get the best behavior, and where it should be stored in the model.

· 12
5 |100000

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

Fengjun0113 avatar image Fengjun0113 commented ·

Hi, what do you mean "cell area"? Where can I find it?

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Fengjun0113 commented ·

The queue, processors, and maybe the conveyors - it's up to you how you think about it. You can make it clear by putting them in a container/hierarchy. You could even use that as the place to put the label. But in FlexSim nothing is prescribed so you are free to do it how you like without any set principles.

From my experience I would put the elements in a cell; use an object process flow for the cell; use pointer labels on the cell to refer to the cells elements to detect events. This way everything is generic and you can just copy the cell and with a couple of clicks everything will work - no more 'hard modelling' required.

0 Likes 0 ·
Fengjun0113 avatar image Fengjun0113 Jason Lightfoot ♦ commented ·

Ok, I got it. But, How can DP1 determine the destination by the content or even the label of Queue? I would like to make items go to Queue22 when the label "content " of Queue11 is 2.

1672505149710.png

0 Likes 0 ·
1672505149710.png (84.8 KiB)
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.