Can I store 2 types of items in single slot

Can I store 2 types of items in single slot

tushar_hazare
Advocate Advocate
64 Views
8 Replies
Message 1 of 9

Can I store 2 types of items in single slot

tushar_hazare
Advocate
Advocate

[ FlexSim 24.1.1 ]

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 ?

0 Likes
65 Views
8 Replies
Replies (8)
Message 2 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

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.

0 Likes
Message 3 of 9

tushar_hazare
Advocate
Advocate

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
Message 4 of 9

jason_lightfootVL7B4
Autodesk
Autodesk
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
Message 5 of 9

tushar_hazare
Advocate
Advocate

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
Message 6 of 9

jason_lightfootVL7B4
Autodesk
Autodesk

So you're saying 2 of type 1 and 2 of type 2 - then you'll need to manage those values at reset and as you add and remove items. If you have Type 1000, then you'll need 1000 elements in each array, but if that's how you want to do it, it should work.

0 Likes
Message 7 of 9

logan_gold
Community Manager
Community Manager

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
Message 8 of 9

tushar_hazare
Advocate
Advocate
Can me please help me to just store 2 different types of items in 1 slot so that it should continuously store like that once simulation start
0 Likes
Message 9 of 9

Jeanette_Fullmer
Community Manager
Community Manager

Hi @Tushar H,

Were you able to solve your problem? If so, please add and accept an answer to let others know the solution. Or please respond to the previous comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes