HOW TO INSERT BOXES IN RACKS AND UPDATE RACKS'CONTENT?

HOW TO INSERT BOXES IN RACKS AND UPDATE RACKS'CONTENT?

roberta_z
Not applicable
14 Views
5 Replies
Message 1 of 6

HOW TO INSERT BOXES IN RACKS AND UPDATE RACKS'CONTENT?

roberta_z
Not applicable

[ FlexSim 19.2.4 ]

Hi to everybody,

i have created a warehouse with two racks and i want to insert boxes in them.

The problem is that when i execute the model, it remains idle and it stops on the "source" of the boxes.

I don't know how to correct.


In addiction i have created two global tables that rapresents the bays of racks (14 bays for 6 levels and 38 channels in the rack sx and 12 free bays for 6 levels and 38 channels in the rack dx) that are totally free. I Would like to know a way to update the cells of global tables that rapresent the bays when the racks receive the boxes. How can i do it? Have you some ideas?

Thank you to all!

Sorry for the questions,i'm a first time-writer!

(I have attached the model)

MODELLO CON FLOW 4.fsm

WALL LIBERI.xlsx


0 Likes
Accepted solutions (1)
15 Views
5 Replies
Replies (5)
Message 2 of 6

benjamin_w2
Not applicable

Hi @ROBERTA Z,

It looks like you are throwing an exception in your custom code activity called "SetName" underneath your "Source5". This activity is calling several developer use commands. What are you trying to accomplish with this activity? There may be an easier way to do it.

0 Likes
Message 3 of 6

roberta_z
Not applicable

I have corrected the error that you pointed out.

The problem erases just before boxes start flowing into the racks.

If i try to build the warehouse model without the script of box flow, the warehouse is built correctly.


MODELLO CON FLOW 4.fsm

0 Likes
Message 4 of 6

benjamin_w2
Not applicable

Hi @ROBERTA Z,

The model is still trhowing an exception, but now it is underneath "Source13" in the custom code box called "SetName". Sometimes these exceptions cause later problems down the line.

Could you explain a little more on what you are trying to accomplish with your model?

0 Likes
Message 5 of 6

roberta_z
Not applicable

Hi @Benjamin W2,

i have committed some errors and right now i fix all issues reguarding warehouse.

MODELLO CON FLOW 5.fsm


When i run the model, the error is this:

time: 1.000000 exception: FlexScript exception: label Type doesn't exist on token id: 11 at MODEL:/Tools/ProcessFlow/ProcessFlow/Decide>variables/decision

time: 1.000000 exception: Exception caught in start() of activity "Create Object in Rack1" in "ProcessFlow". Continuing throw...

time: 1.000000 exception: Exception caught in start() of activity "Source" in "ProcessFlow". Continuing throw...

time: 1.000000 exception: Exception caught in Executive::processeventinlist(). Throwing.

time: 1.000000 exception: Exception caught in Executive::steptotime(). Throwing.

time: 1.000000 exception: Exception caught in Executive::tick(). Throwing.

time: 1.000000 exception: int runthemessageloop() #4

exception: Executive::instance.tick();

time: 1.000000 exception: int runthemessageloop() #6


I would to make boxes flow to racks. But the problem is that when i execute the model, it stops on the "source" of the boxes.


Then i have created two global tables.I want to use them to map each bay of the racks to a cell of the tables.

The idea is that when a box goes to a rack's bay in a certain level and channel, its corrisponding value in the globaltable is updated accordingly .


Thanks so much

0 Likes
Message 6 of 6

tanner_p
Not applicable
Accepted solution

@ROBERTA Z,

The error is occurring in the Decide activity shown below. The Decide is looking for a label called "Type" on the tokens that pass through the activity, but that label does not exist on the tokens. You need to assign that label somehow. What is it that you want to check the type of? Is it checking the type of the boxes?

27529-type-label-not-there.png

Also, is there a reason why you're creating all of your racks and sources in Process Flow with each model run? You know it's possible to create them permanently in your model, right? Then they don't have to be created every time you run the model.

0 Likes