question

LaurenK avatar image
0 Likes"
LaurenK asked Jason Lightfoot commented

Start Simulation with Empty Totes - Slotting Error

Hi,

I am working on revamping my model with labeling for slotting and seem to have run into some errors. At the start, I'm looking to pre-load bay 1 with totes in each slot. There are 8 different positions in the three levels in the first bay. I've marked in the address schemes how I'm hoping it will look, and painted each slot a corresponding color.

When I start my model, one tote pops up in the last position of the third level. I am aiming for all 24 positions to be filled with empty totes so I can get my operator to load them with items as the conveyor rolls. In my system console I'm getting some errors, but I'm really new to FlexSim and am not sure how to address / find the errors in code.

Any tips/tricks/help is much appreciated.

CB Model 3.fsm


FlexSim 24.1.0
inventoryrack slotting
cb-model-3.fsm (171.8 KiB)
· 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 @LaurenK, 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 Jason Lightfoot commented

The initial errors are due to your slot assignment strategy not finding a slot dues to the item not having a 'Type' label by which a slot could be matched. On your CreateObject activity add the Type label like this:

1723736830027.png

Also make sure that your slots are wide enough for the tote in the default orientation.


1723736830027.png (28.9 KiB)
· 14
5 |100000

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

LaurenK avatar image LaurenK commented ·

Thanks! My long term goal for my project is to assign each tote an order number from my batch details global table.. I gave that a try but see the below errors:


time: 0.000000 exception: FlexScript exception: Invalid row number: 13722835 in Global Table "Batch Details" at MODEL:/Tools/ProcessFlow/ProcessFlow/Source: Inventory>variables/arrivals/1/Quantity at line 20

time: 0.000000 exception: FlexScript exception: label SO_NUMBER doesn't exist on token id: 1 at MODEL:/Tools/ProcessFlow/ProcessFlow/Create Object>labels/1/2 at line 9

time: 0.000000 exception: Bay1 - No slot was assigned to item

time: 0.000000 exception: Exception Caught in ObjectFunction251__project_library_FixedResource_behaviour_eventfunctions_OnReceive object: /Bay1 i: /Bay1/Tote1 class: /Bay1


time: 0.000000 exception: Exception caught in TreeNode::receivemessage()

time: 0.000000 exception: Exception caught in start() of activity Totes to Rack/Create Object in process flow "ProcessFlow". Continuing throw...

time: 0.000000 exception: Exception caught in Executive::processeventinlist().



1723741624931.png

0 Likes 0 ·
1723741624931.png (37.5 KiB)
Jason Lightfoot avatar image Jason Lightfoot ♦♦ LaurenK commented ·

The error messages tell you some useful information for finding and fixing the issues.

Here's the first:

"Invalid row number: 13722835 in Global Table 'Batch Details'"

and it tells you where that's occuring:

"ProcessFlow/Source: Inventory>variables/arrivals/1/Quantity"

so look at the Quantity fields and find out why it's looking for row number 1372283 in the table Batch Details.



Here's another:

 label SO_NUMBER doesn't exist on token id: 1

and again where that's happening:

ProcessFlow/Create Object>labels/1/2 at line 9

So again look at the fields of the labels you're adding as part of the Create Object activity and determine why it's trying to reference the label SO_NUMBER on a token where there is no such label.

0 Likes 0 ·
LaurenK avatar image LaurenK Jason Lightfoot ♦♦ commented ·

Thanks, Jason. Ok I think I must be tagging in my global table incorrectly? Originally I thought maybe it was because my table had duplicates in the order number column but I'm not sure that's the issue..


I tried to reassign my label at creation in my process flow, to signal the model to look at the Order Position Table and grab the SO number to use that as the label for the totes that I'm hoping to preload the rack with. The pack lane column should match what I have for slot assignment.. Would you mind taking a look at the model? I feel a little stuck and confused.

TIA

CB Model 3.fsm


0 Likes 0 ·
cb-model-3.fsm (179.6 KiB)
Show more comments