question

Ferny Alexis GNA avatar image
0 Likes"
Ferny Alexis GNA asked Jeanette F commented

Storage in a queue

Hello, Thanks for reading, I have a problem with storage, I need separated some material in a conveyors, when operator have to unload in queue, I use Object by case and I write specific location (queue)


I don't need specific location, I need variable location, because I need repeat these system with many operators.

Also I have problem with label, I don't know what is cause.

if someone can I help me, I am very gratefull, sorry for my English.

tesisrestaurado-jl.fsm

FlexSim 20.1.3
FlexSim 19.0.0
processflowqueueflexsim 20.1.3task executers
1613819444120.png (14.3 KiB)
1613819662842.png (36.2 KiB)
1613819678784.png (21.1 KiB)
1613820138594.png (41.4 KiB)
· 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.

Jeanette F avatar image Jeanette F ♦♦ commented ·

Hi @Ferny Alexis GNA,

We haven't heard back from you. Were you able to solve your problem? If so, please respond with a comment so that we can continue to help you.

If we don't hear back in the next 3 business days, we'll assume you were able to solve your problem and we'll close this case in our tracker. You can always comment back at any time to reopen your question, or you can contact your local FlexSim distributor for phone or email help.

0 Likes 0 ·

1 Answer

tannerp avatar image
0 Likes"
tannerp answered Ferny Alexis GNA commented

@Ferny Alexis GNA,

Could you explain more about the variable locations? Can you give an example of what that means? I understand that you don't want to hard code the names of queues according to item type, but I'm not sure what queues need to be variable.

I can help you solve some of the exceptions in your model for now.

The first exception that I saw was an exception in the Change Visual activity in your Process Flow. The activity was calling token.item as shown here:

But, as you can see in the next image, some tokens don't receive the "item" label.

This one has a label called "MNR" instead. So we need to work backwards and find out which activity was supposed to assign the "item" label and fix it. By doing so, we find that the Create Object activity on the far right of the Process Flow is assigning the "MNR" label instead of the "item" label. If this was intentional, then you need to send these tokens to a different Change Visual activity, as the current one will not work for both labels.

The second major exception I could identify was being caused at the point shown below in the Process Flow. It's important to note here that an Event-Triggered Source (or any Source, for that matter) should never have connections going IN. Only connections going OUT of Sources are appropriate.

You'll need to remove the connection IN to the Source.

I think what you're trying to do at this step is destroy the original object at one processor and then use that token to create many new objects. There's nothing wrong with doing this, but we'll need to make some slight adjustments. The first is deleting the connection between "Romper Fundas" and "Processor2". This is because the object is being destroyed as the 3D object is trying to make the object exit.

You will also need to change the trigger to "OnProcessFinish" rather than "OnExit", because the object will no longer be attempting to exit. It will simply be destroyed upon finishing its processing.

The next thing you'll notice is that all the new objects are being created in "Processor2".

This is fine, but you need to adjust the Max Content of the processor to allow many objects. As you can see here, the Max Content is currently set to only allow 1 object at a time.

This should fix a good portion of the errors in your model. As a general rule moving forward, make sure that whatever you do with your 3D objects is in harmony with what is happening in your Process Flow, and that there are no redundancies or gaps.

I'm attaching an updated version, although I don't think this model was built in 19.0.0 like this question says it was.

tesisrestaurado-jl_1.fsm


1614442238748.png (25.0 KiB)
1614442245694.png (25.0 KiB)
1614442268630.png (16.9 KiB)
1614442418508.png (31.1 KiB)
1614443222151.png (22.0 KiB)
1614443499236.png (77.6 KiB)
1614443509035.png (13.6 KiB)
1614443515215.png (36.4 KiB)
1614443848048.png (7.3 KiB)
· 8
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 ·

I think the variable queues are based on which DP the item is located - so I would suggest defining those relationships per DP which you can then refer to as current and either labels or centerObjects etc.

0 Likes 0 ·
Ferny Alexis GNA avatar image Ferny Alexis GNA commented ·

Thanks for your help, your explanation was very useful. I was trying to explain that I need send products to queue according to operator, for example Operator 1 only can transport items to queue A1, queue A2, queue A3 and queue A4, Operator 2 only in queue B1, B2, B3, B4, I attached a picture so you can better understand.

tesisrestaurado-jl.fsm

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦♦ Ferny Alexis GNA commented ·

This is fine - just add three pointer labels to the instance objects and reference them in the instanced process flow using current.mylabelQ1, current.mylabelQ2 etc.

1 Like 1 ·
Ferny Alexis GNA avatar image Ferny Alexis GNA Jason Lightfoot ♦♦ commented ·

Thanks, I have a problem, I don't know to create pointer labels and Instances. Can you help me explain me? please.

0 Likes 0 ·
Show more comments