question

Cayo E avatar image
0 Likes"
Cayo E asked Emily Hardy edited

Processor

Good morning, is there any way in FlexSim to enter an item in the processor and it comes out in different ways different, for example, enters a pellet with "x" and leaves the processor with 4 pellets of lower particle size, is it possible?

FlexSim 18.2.0
processor
5 |100000

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

1 Answer

Joerg Vogel avatar image
1 Like"
Joerg Vogel answered Joerg Vogel edited

It is possible. Unfortunately you must write a FlexScript source code or create a ProcessFlow logic on your own. The logic creates copies of the entry pallet and the boxes. Maybe you set a different size. Then you release the additional pallets to the next object.

Flexscript source code OnProcessFinish Trigger in Processor for items on a pallet

createcopy(item,current);
  // this gets a copy as the last item in current 
objectforobjecttreeunder(current.last) a.as(Object).setSize(.3,.3,.5);
  // this resizes the items on the copied pallet
releaseitem(current.last,2);
  // this sends the copied pallet to the output port 2
forobjecttreeunder(item) a.as(Object).setSize(.6,.3,.3);
  // this resizes the items on the original pallet

5 |100000

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