question

edwin purwanto avatar image
2 Likes"
edwin purwanto asked edwin purwanto answered

conveyor routing based on (1 flowitem characteristic, 2 cascading logic)

Hello,

So, I have this process

1. Flowitem enters conveyor circulation with itemtype 1 or 2.

2. From this point, they will be assigned directly a workzone (maybe a label at this point?)

a. The workzone assignment is based on how free it is (maybe settrackedvariable? or label?) so if one workzone is occupied, then 1/10 is occupied, so that it increases the number.

b. Assignment is based on parameter above, so dp2 and dp3 will compare each other, which one have less occupancy. Thus dp1 will direct the flowitem to dp2 if it has less occupancy and vice versa

3. Upon hitting either dp2 or dp3, itemtype one will enter smaller conveyor and itemtype 2 will enter bigger one.

My current problem as follow:

1. At first I thought using list. It worked before we deploy conveyor. If the conveyor is deployed, we have hard time figuring out the logic, plus this is somehow cascading. So that the first tier of routing is based on occupancy, second tier of logic is based on itemtype.

2. DP 2 and DP3 is inline within same conveyor, so whichever is directed to dp3, by dp2 will be redirected to dp2.

3. If we succesfully direct flowitem to dp3, it will appear to be teleported from dp2 to dp3

Thank you very much for taking time to examine this problem.

Best regards,

edwin

FlexSim 16.0.1
process flowconveyorsynchronizelist sorting
test.png (694.6 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.

Brandon Peterson avatar image
6 Likes"
Brandon Peterson answered Brandon Peterson commented

Edwin,

I have attached a sample model for you that uses a method of synchronizing with a process flow to make the decisions at the decision points on the conveyor. The main purpose of the process flow is to use the zone activities to keep track of the content in the different areas. The process logic is also responsible for setting the "SendTo" label on the 3D Item which is used by the decision points set the flow of the items on the conveyors.

The model has two examples. The first example (Zone Full) will send items to the first zone that is not full. The second example (Zone Distribute) will send items to a zone if it is not full and the content is <= the content of the remaining zones.

Here is how it works:

  1. the process flow creates a token that is given a type (1 or 2) and a process time. The token then creates two children (1 for each zone)
  2. Each child creates a 3D item and places it in the Entry Queue for its flow and then sets the color based on the type label
  3. The child token then goes to a Push to List activity where it waits for the item to arrive at a decision point on the conveyor
  4. When the item arrives at a decision point it starts a sub flow that will pull the token from the list
  5. The child token then goes through some activities to decide whether or not to send the item into the current zone. If the item is to exit the main conveyor the token sets the "SendTo" label on the item to 2 or 3 depending on the type its type. **All of the activities between the push to list and where it sets the label on the item must occur in zero time.
  6. If the item stays on the main conveyor the token will increment the "CurZone" label and either loop back to step 4 (if there are more zones) or it will wait for the item to exit the main conveyor.
  7. If the item exits the main conveyor then the token will enter the current zone and then push to the synchronize list and wait for the item to finish conveying to the exit queue.
  8. On entry of the exit queue the item will execute the prior sub flow and pull the child token from the synchronize list.
  9. The child token will then execute the process time, exit the zone, and destroy the 3D item.
  10. The child token will then die in a sink.

The difference between the two flows is that the Zone Full flow uses an Enter Zone activity to make the decision to either continue on the conveyor or enter the zone and the Zone Distribute flow uses a Decide Activity.

I hope that this helps you out with your model. Let me know if you have any questions!

Brandon


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

edwin purwanto avatar image
0 Likes"
edwin purwanto answered

Hello,

Thank you very much for your help. Now it is working, but i change the logic, because if the sorting of zone is done behind, it will make some zone unoccupied, eventhough there are free zone, so the flowitem sorting is then put on top, then zone enquiry is afterwards. Sorry that I got the logic not correct in the first hand.

Best Regards,

Edwin

test2.png


test2.png (56.8 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.