question

Luis Gallardo avatar image
0 Likes"
Luis Gallardo asked Luis Gallardo commented

How can I send items to the combiner with the most items while collecting?

I would like to send items to the combiner with the most quantity of items in it, I have the First Available oprtion at the moment but since I'm using MTBFMTTR and TimeTables, some times the combiners are left mid way.

p1.fsm

FlexSim 16.0.9
prioritycombinersflowefficientlyfillrate
p1.fsm (127.3 KiB)
· 2
5 |100000

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

Sam Stubbs avatar image Sam Stubbs ♦ commented ·

It seems to be doing exactly as it should. They will stop midway because that's what the MTBFMTTR and Time Tables do. They say when a resource will go down. If the the combiner goes down with items still in it. Then it will be left until it is up again. I'm not sure I understand what the issue is.

0 Likes 0 ·
Luis Gallardo avatar image Luis Gallardo Sam Stubbs ♦ commented ·

All the combiners are set to gather 24 items at all times, but when the operators stop and come back they start filling the combiners with the priority at which they where connected with the "A" key (Connect objects), and I would like them to fill the combiner that have more than 1 item out of 24, not start filling a new one with no items in it.

I hope this is a bit more clear, thanks for the help

0 Likes 0 ·

1 Answer

Jeff Nordgren avatar image
1 Like"
Jeff Nordgren answered Luis Gallardo commented

@Luis Gallardo,

Attached is your model with the changes that I made.

In QueueSubEns24, I changed the Send To Port option to be "Longest Queue if Available". This option will look at how many flowitems are in the combiners, which is always 1, being the tote. So I modified that code so that it would look inside the tote for the correct number.

Look at the model and see if it is now doing what you are wanting it to do.

p1-jn1.fsm


p1-jn1.fsm (129.7 KiB)
· 7
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 ·
@Luis Gallardo

Is this what you were looking to accomplish?

0 Likes 0 ·
Luis Gallardo avatar image Luis Gallardo Jeff Nordgren commented ·

Thats a great idea thanks in the model it appear to be a problem with the code since "Object" is an unknown variable. Do you know why is that? Thanks alot by the way.

0 Likes 0 ·
Jeff Nordgren avatar image Jeff Nordgren Luis Gallardo commented ·

@Luis Gallardo,

You're going to have to be a little more specific, I can't find what you are referring to. Is it an error message? If so, where/when does it appear. If not, what exactly are you seeing? I don't get any kind of errors and I didn't add any "Object" to my code so I'm not sure where that is coming from.

0 Likes 0 ·
Show more comments
Luis Gallardo avatar image Luis Gallardo commented ·

@Jeff Nordgren It is still giving me the same message it could be that I'm using FlexSim 6 and not a more recent version.

0 Likes 0 ·