question

Maryam H2 avatar image
0 Likes"
Maryam H2 asked Julie Weller commented

Find Item-Task Executer Capacity

If I have items in different racks assigned to them, and I want the operator to retrieve a bunch of items of the same type "C" from the rack using the following query:

WHERE LabelName = "C"

The operator should then place these items onto the Task Executor but with a defined capacity. What is the most effective way to model this so that the operator can find , load and unload items onto the TE based on the Task Executor's capacity?

FlexSim 23.1.2
taskexecutorcapacityfinditem
· 5
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

This is confusing - you mention the cart, operator and task executer - which is which? Maybe you could clarify this and/or post your model.

0 Likes 0 ·
Maryam H2 avatar image Maryam H2 Jason Lightfoot ♦ commented ·

I meant the 'TE' (Task Executer) as I use it instead of the 'cart' object.

Please see the model attached. cart_capacity_autosave_1.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Maryam H2 commented ·
So you operator which is a task excuter is unloading to another task executer - and is that a fixed capacity or does it vary by the type of items you're placing on it? And do you have a test model for this?
0 Likes 0 ·
Show more comments
Julie Weller avatar image Julie Weller commented ·

Hi @Maryam H2, was Joerg Vogel'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

·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Jason Lightfoot commented

It is about labels of your process flow token. You assign label values accordingly to your request before you do findItems or queryItems. Then you can parse them by $number clause into your query string. Please look into advanced examples of SQL in manual.
findItem resolves in finding one item.

queryItem returns an array of items to match with the conditions of your query clause. You need then a loop structure to evaluate a picking of your items of this result array for example by call sub flow activity.

· 5
5 |100000

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

Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

We haven't yet clarified if the capacity limit in question is that of a task executor, container flow item or people equipment, but once that's known this will be a valid method since you will have a free capacity number to put in the query. You can also loop and find individual items - especially if they are picked individually.

In your previous example the type of items were different sizes, which means the capacity is likely to be found using a lookup method based on type. For this I would create a map lookup, but you could also use a table.

1 Like 1 ·
Maryam H2 avatar image Maryam H2 commented ·

the issue I'm facing is not just finding items but also finding items based on the TE capacity.

I posted the model above.
0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Maryam H2 commented ·

You should probably acquire the Cart resource before you pull the item(s) from the list - in your example model you pull the item first. You can either refer to the TE's capacity using:

cart.getProperty("Capacity")

or you can create a map of SKU capacity on the cart which you can then use to lookup how many it can carry.


0 Likes 0 ·
Maryam H2 avatar image Maryam H2 Jason Lightfoot ♦ commented ·

where should I enter this script to?

cart.getProperty("Capacity")

how one can create a map of SKU capacity on the cart?

0 Likes 0 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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