Process Flow creating objects in wrong location

Process Flow creating objects in wrong location

cindy_azuero
Not applicable
18 Views
4 Replies
Message 1 of 5

Process Flow creating objects in wrong location

cindy_azuero
Not applicable

[ FlexSim 16.1.0 ]

Hi,

I'm creating the pallets on the trucks with the process flow using the Create Object activity but I note that the pallets are being created outside the truck.

This also happens with some queues where I use the same method.

This is affecting my results, specially the truck issue because of the distance that the operators have to travel to collect a box from one of these pallets.

Can you help me with this?

1301-estacas-2-con-pallets-por-fuera.png

0 Likes
Accepted solutions (1)
19 Views
4 Replies
Replies (4)
Message 2 of 5

matt_long
Not applicable
Accepted solution

The Create Object activity only creates an object and places it inside of the Destination object. It does not do any positioning of that created object. In order to for your object to be placed in the desired location, add a Change Visual activity and choose from one of the Set Location pick options.

1302-changevisual.png

For Container Flowitems you can define its packing method, which would eliminate the need for the Change Visual activity. However, for creating Task Executers you would have to create the packing method manually with an OnReceive node.

0 Likes
Message 3 of 5

cindy_azuero
Not applicable

@Matt Long

but if I use a simplified model and I use the create object, it uses the truck's packing method and position the objects as I want.

1303-modelo-sencillo-en-q-sirve.png

0 Likes
Message 4 of 5

matt_long
Not applicable

The trucks that you created in your model have a text object located inside of them. This is throwing off the logic of the packing method on line 8:

// Check to see if the flowitem is the first one in
if (content(current) == 1) {

This never evaluates to true as the first flowitem in makes the content = 2. You'll need to update your packing method code.

0 Likes
Message 5 of 5

cindy_azuero
Not applicable

you're right. I've found that solution time ago. But I do not remember that was the cause!

0 Likes