question

rodrigue dibanda avatar image
1 Like"
rodrigue dibanda asked Adrian Haws edited

how to Link AVG and tote by color of every type

Hello,

before all, run my model many times until the end to understand the problem.

I would like to code AVG in order to have : blue avg should only transport blue tote

yellow avg should only transport yellow tote

green avg should only transport green tote.

Thank in advance.

-simulation-flexsim-1.fsm

FlexSim 16.2.0
link avg and tote
· 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.

rodrigue dibanda avatar image rodrigue dibanda commented ·

yes,I did thanks...

but right now it's the final step of my model. I should align the type of flow item bin (defined by his color) with the corresponding AVG (same color).

the goal of my model is avoid an AVG which will pass another one during the process.

0 Likes 0 ·

1 Answer

Jeff Nordgren avatar image
-1 Like"
Jeff Nordgren answered Adrian Haws edited

@rodrigue dibanda

Rodrigue,

Rather than running your model many times until the end, to try and understand the problem, why don't you just tell use what the problem is so that we don't have to go through all the debugging steps that you should have already gone through to find your "problem". Then just explain what your problem is and how to recreate it, if necessary.

In the answer given by me in your previous question, the model given does exactly what you are asking and describing above. Did you not incorporate the previous answers and/or models given to you in your model? If not, why? If so, give a detailed description of specific problem(s) that you are having.

· 4
5 |100000

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

Jeff Nordgren avatar image Jeff Nordgren commented ·

@rodrigue dibanda

Rodrigue,

Attached is your model with the changes that I've made. I've made some major changes in the way the model works. I've taken out the dispatcher and most all of the network nodes. I added a User Command that makes sure that the TEs and the same colored totes get matched together.

Take a look at the model and see if it is doing what you are wanting it to do. If you have any questions on what I've done or how things work, please let me know.

simulation-flexsim-1-jn2.fsm

0 Likes 0 ·
model.png (137.5 KiB)
rodrigue dibanda avatar image rodrigue dibanda Jeff Nordgren commented ·

hello,

great thank for the simplification of my model, but you model brings me another problem. As you can see on the attached model, there is batch size (column) 3 in my pivot table that the operator should follow for filling tote.

first loading: he should put 4 items inside the tote

second loading: he sould put 2 items inside the tote

third loading: he should put 1 items inside the tote

and so one...

in the source of tote, I already set a code for that inwhich I defined the type of tote in function of batch size of my pivot table. it means that in the trigger on creation:

first tote will be set as an item type 4, so that in the combiner the operator will put 4 items inside

seconde tote will be set as an item type 2 so that in the combiner the operator will put 2 items inside

third tote will be as an item type 1 so that in the combiner the operator will put 1 item inside

and so one.

in your model, the code stayed the same but when it's running, it doesn't respect the batch size constraint; I don't know why.

please, every time before resetting my model attached and run it again, delete always all the data recorded inside the table "test", in order to get 0 in every row, it's linked to a stop condition for my tote's source in the reading of the pivot table.

Thanks

-simulation-test-stage-1-autosave.fsm

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren rodrigue dibanda commented ·

@rodrigue dibanda

Rather than using your idea of the itemtype for the batch quantity for each tote, I just assign a label called Batch Quantity on each tote in the OnExit trigger of the tote Source. Which meant that your code in the OnCreation trigger was not needed so I commented it all out.

Then I changed the code in the OnEntry trigger of the Combiner to use that label on the tote to be the batch size. So I think that takes care of most of your comments above. But I don't really understand what you are saying in your last paragraph. If something else is needed, can you explain to me a little more what it is that is needed in the attached model.

I simplified your model because all those "useless" network nodes are just added objects to the model that have no use and serve no purpose. To have useless objects in a model will just slow it down. Which may not be noticeable in this model but is not a good habit to get into. You had somewhere in the neighborhood of 208 network nodes that I was able to replace with just 7.

Take a look at the attached model and see if it is now doing what you are wanting the model to do. If not, please let me know so we can make it work the way you want.

simulation-flexsim-1-jn3.fsm

1 Like 1 ·
Show more comments