question

Tushar H avatar image
0 Likes"
Tushar H asked Tushar H commented

Can I store 2 types of items in single slot

Hello ,

I want that 2 types will be store in single slot . if 1slot per bay in option for me.

can we do like that ?

FlexSim 24.1.1
rack
· 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.

Logan Gold avatar image Logan Gold ♦♦ commented ·

Hi @Tushar H, 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 comment back to reopen your question.

0 Likes 0 ·

1 Answer

Jason Lightfoot avatar image
0 Likes"
Jason Lightfoot answered Tushar H commented

Yes - what's stopping you? If you're wondering how to designate types allowed in each slot consider adding a label array to the slot and when finding a slot add the condition that the item's type is in the slot's 'storableTypes' array.

· 5
5 |100000

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

Tushar H avatar image Tushar H commented ·

As per your guidance I applied array label by using paint slot but I am not understanding where I should map condition

please find the attached modelRack storage 22.fsm

0 Likes 0 ·
rack-storage-22.fsm (38.4 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Tushar H commented ·
Your code sets a label 'maxItems' to 2 for every slot. In what way is that storing two types of items in a single slot? Have I misunderstood your requirement?

How did you want to specify the types to be stored? In advance or as they arrive?

How did you want to specify slot capacity? Fixed numbers? By Type? Or by the space available - calculated for each item as it arrives.

0 Likes 0 ·
Tushar H avatar image Tushar H Jason Lightfoot ♦♦ commented ·

Your code sets a label 'maxItems' to 2 for every slot. In what way is that storing two types of items in a single slot? Have I misunderstood your requirement? Yes two types in a single slot

How did you want to specify the types to be stored? In advance or as they arrive? In both case they will store. example type1&type2 store in same slot

How did you want to specify slot capacity? Fixed numbers? By Type? Or by the space available - calculated for each item as it arrives. by type

0 Likes 0 ·
Show more comments