question

Gabriel Morgante avatar image
0 Likes"
Gabriel Morgante asked Gabriel Morgante answered

How can I set a specific item for a specific transporter?

Hello everyone,

First time here so be nice with me please... lol
I am trying to model a line where I have 3 cranes working together but each one of them have different max weight capacities. So there may be a item type that only one or two of the crane would be able to carry.
Is there a way to apply this logic to the transporters?
What would be the perfect solution for me would be a way to configure the crane so that it only would pick an item with a determined label or label value.

I hope someone can help me with that.

Thanks a lot!

Gabriel.

FlexSim 19.0.0
transporterquerycraneitemtype
· 11
5 |100000

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

Gabriel Morgante avatar image Gabriel Morgante commented ·

Just to add some more information:

I am using a TEList to manage the three cranes and they are being requested by the processors using Task Sequence Subflow.

0 Likes 0 ·
Show more comments
Gabriel Morgante avatar image Gabriel Morgante commented ·

@david.seo

Iam trying to work with the idea of pushing and pulling from an item list and it seems to be working. There are two variables of decision for each move on my model:
1-Which crane will be used
2-The process sequence by item Type (there will be around 9 Types)

I have made a selection of cranes by region, and it is representing fairly well my reallity.
About the process sequence Iam trying to use the push/pull from list with a Query by Type and a Pull Requirement by Label. This Label (st_*nameoftheprocess*) represents the current state of the item being processed because some items come to the line already half processed by other lines.
The logic seems pretty solid to me but the models isn't working with the restriction of the Pull Requirement by Label. It literally just ignores the label value...

How it should work:
Type 1 arrives at Queue "Chegada". Gets a Label st_start = 1 and goes to PR_SERRA. Gets Label st_start = 0 and st_serrado = 1 and goes to PR_JATO.
Type 2 arrives at Queue "Chegada" with Label st_serrado = 1. Gets Label st_start = 1 and goes to PR_JATO.
How it is working:
Type 1 arrives at Queue "Chegada". Gets Label st_start = 1. The it's pulled by PR_SERRA and also is pulled by PR_JATO even though it doesn't have the Label st_serrado = 1 that should be a requirement.

I am pretty sure it is a syntax error since I am very new to FlexSim so I would be very thankfull if you could take a look at my model for me and see if you can find what is wrong.

FYI:
I have configured only the processors "PR_SERRA" and "PR_JATO", you don't have to look at any other processors.

Attached is my model and a picture of how my PR_JATO (that seems to be the problem) is configured.

Thanks a lot for your help!

Gabriel.

modelforupload-push-pull-from-list-logic.fsm

0 Likes 0 ·
Show more comments
Jeff Nordgren avatar image Jeff Nordgren commented ·
@Gabriel DOM2

Did any of these comments answer you question?

Thanks.

0 Likes 0 ·
Show more comments

1 Answer

·
Gabriel Morgante avatar image
0 Likes"
Gabriel Morgante answered

Guys I'll post what was my end solution for this problem in case someone looks for the same answer.

I did it using process flow since I have very little to none programming skills. Problably there's an easier way to do it by Flexscript...

My solution:

Since I was using a subflow to coordinate all my transports the answer was to use a sequence of Decides right after the "Start" activity of the subflow.
That way I was able to control which crane would be used for any specific item or destination.

For a decide based on the location I used a conditional decide where the condition was [ token.toObject == node("/destination_name", model()) ]

Where "true" means it's going to the said destination. Then the token would proced to acquire the appropriate resource.

For a specific item the logic is the same. A conditional decide with the condition [ token.item.Type == x ]

In my case I used a Type label but it could work with any label that suits best the model.

Attached is a print screen of the subflow with the conditions.

I hope it helps! Thanks for everything!


print1.png (22.3 KiB)
print2.png (4.2 KiB)
5 |100000

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

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.