question

Juan S4 avatar image
0 Likes"
Juan S4 asked Juan S4 commented

Creating different box sizes based on labels

Model B1.1.fsmPleas see attached model with my failed attempt. I wish to create boxes (flow items) of various sizes on a conveyor system. The box sizes I have indicated in a global table. The % distribution of these box sizes are linked to the label distribution which I have set in the source under create label. I think it might be easiest for me to set the box sizes based on their label. Please could someone assist me in my requirements. I would prefer not to use process flow if possible. Thanks.

FlexSim 20.0.10
different box sizesset object size
model-b11.fsm (38.0 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.

1 Answer

Felix Möhlmann avatar image
0 Likes"
Felix Möhlmann answered Juan S4 commented

Just refer to the table in the Set Size option of the trigger. It's even an option in the dropdown menu to the right of the field.

1727868398807.png


1727868398807.png (8.3 KiB)
· 6
5 |100000

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

Juan S4 avatar image Juan S4 commented ·

Hi Felix. I tried your suggestion but the boxes sizes do not match up. Pleas see attached.Model B1.2.fsm1727869043066.png

0 Likes 0 ·
1727869043066.png (7.0 KiB)
model-b12.fsm (38.0 KiB)
Felix Möhlmann avatar image Felix Möhlmann Juan S4 commented ·
You need to refer to the correct columns, not use the first column (label) for each dimension.

If you want, you can also use the column names instead of numbers.


0 Likes 0 ·
Juan S4 avatar image Juan S4 commented ·
0 Likes 0 ·
Juan S4 avatar image Juan S4 commented ·

@Felix Möhlmann , thanks, I tried your approach but can't seem to get it to work. The box sizes do not correspond to my global table. Please see attached attempt. Please could you help me by perhaps editing my attempt? Model B1.2.fsm

0 Likes 0 ·
model-b12.fsm (38.0 KiB)
Felix Möhlmann avatar image Felix Möhlmann Juan S4 commented ·

As I said, you are currently using the first table column as the size in all three dimensions. Adjust which columns you read from for the x, y and z size.

https://docs.flexsim.com/en/24.2/Reference/CodingInFlexSim/BasicModelingFunctions/BasicModelingFunctions.html#tables

0 Likes 0 ·
Juan S4 avatar image Juan S4 Felix Möhlmann commented ·
@Felix Möhlmann I have managed to get it to work eventually. Thanks so much!
0 Likes 0 ·