question

Tomas A avatar image
0 Likes"
Tomas A asked Joerg Vogel edited

Operator capacity

Hello guys,

I'm having this problem with my simulation:

I want the operator to carry 3 cylinders from source to queue1, carry only 1 cylinder between machines and again 3 cylinders from queue2 to sink. Can anyone help me with it?

Therefore i would like to find the best sequence to improve the output of cylinders.

Thanks in advance,

Tomás Álvaro

test-model-help.fsm

FlexSim 18.2.2
process flowoperator capacitysequenc
test-model-help.fsm (532.2 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.

Isaac Litster avatar image Isaac Litster commented ·

Are you open to using process flow? I think this would be the best way to accomplish this.

0 Likes 0 ·
Tomas A avatar image Tomas A commented ·

Not that much to be honest @Isaac Litster

0 Likes 0 ·
Joerg Vogel avatar image
0 Likes"
Joerg Vogel answered Joerg Vogel edited

One approach consists of enhancing a source code logic in the Break To function on Operator properties window tab. The logic returns Null if the loading station isn't an object to load 3 items at otherwise the standard code is executed.

The Break To function breaks to a not begun Tasksequence if there is transport capacity left. The added logic will interrupt the standard.

Additionally you have to check if the operator carries already one or two items he won't load items from an object that is allowed to give only one item. You have to evaluate the tasksequences in the tasksequencequeue to get the involved loading station and compare it with allowed stations. Maybe you use the standard Break To source code part to solve this task.

test-model-help-jn1-jv.fsm


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
1 Like"
Jeff Nordgren answered Isaac Litster rolled back

@Tomas A,

Attached is your model with the changes that I made to it. Really didn't do a whole lot to the model, you pretty much had everything right. About the only thing I saw was that you were referencing a label called "Type" on an item in a couple of places. There is no label "Type" on the flowitems. One of the references was in Desmagnetização_Desencamisar in the Send To Port code. I changed that to item.Lixamento instead of item.Type. You might have to change that, I'm not sure. The other reference was in Lixamento in the Pull Strategy code. Because there is no label "Type" on the flowitems, I changed that code to Any Port. Again, you may have to check that one as well.

Other than that, I believe that the model is working as you describe. If not, please let us know.

Thanks.

test-model-help-jn1.fsm


· 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.

Tomas A avatar image Tomas A commented ·

My problem is the operator capacity. In your model the operator still carries 2 or 3 cylinders between processors. The thing is, I only want him to carry 3 cylinders from Source1 to Queue1 and from Queue2 to Sink1, for the rest i want him to carry only one cylinder.

Let's imagine the Source1 and Sink1 is a rack with 28 horizontal metallic bars where which bar has 3 cylinders. The operator grabs one bar (with 3 cylinders) and place it at Queue1. From Queue1 on he starts the manufacture of a cylinder and between every processor he can only carry 1 cylinder at a time. In the end (After Amostras_Registo) he sets a bar at Queue2 (once again with 3 cylinders) and place it at the Sink1

Was I clear?

0 Likes 0 ·