question

Rafael de Assis avatar image
0 Likes"
Rafael de Assis asked Jason Lightfoot edited

How simulate crane and operator?

Modelo coordenação operadores.fsmI'm simulating a special paiting process. I have two operator that are responsable for the station work. the operator number 1 is responsable for the setup and for de move some light flowitems. the operator number 2 ("Pintor") is responsable for painting and move heavy flowitems. the operator number 2 have a crane for help him. in my attempts, I fail in syncronize these two task executers; or the syncronize failed or the operator 1, leaves the task for processor.

FlexSim 21.2.4
craneoperator tasksimultaneous
5 |100000

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

1 Answer

·
Patricia_brenny R avatar image
0 Likes"
Patricia_brenny R answered Jason Lightfoot edited

Hey there,

I had a look at your model and noticed a problem generating an exception, when your items get their types relabeled after the "mud" queues and are sent back to the beginning of the paiting process, your setup time and process time attempt to access an invalid row on the GlobalTables, since, for example, line 22 does't exist. I suggest you revisit this logic in order to only use valid table row and column numbers, or limit the model simulation time to avoid this issue.

However, I need more information about your question, from what I can see, the "Pintor" is activating the process time correctly, and the "Ajudante" is also carrying the boxes correctly, the Crane is also carrying the boxes as soon as they are available. What is the part that is unsynchronized?

· 6
5 |100000

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

Rafael de Assis avatar image Rafael de Assis commented ·

Thank for help me. I coudn't to observe your first adivice. if you have something to sugest me, I would like your help. I find this way for to certify that each box complete your cicle inside de process. I drew the fluxogram for your better understanding, Fluxograma.pdf


About the crane, the "pintor" has to control the crane for lift the box with labels 22, 320, 4100 and 5 (The queue "saída do posto" for the queue "buffer de saída". so until now, i wasn't able to combine the "Pintor" and crane inside this operation

0 Likes 0 ·
Patricia_brenny R avatar image Patricia_brenny R commented ·

Alright,

For the label problem I noticed you're trying to consult using the type number as the row of the column, what I'd recommend is using two labels instead of one (one number label and one text label) , you can use a string type Label to consult on the global table, for that you need to name it exacly as your row is named. For example "Item22" will get the line named Item22 on your table.

For the synchronization part, you'll need to bring all the Pintor activities to the process flow, and sync them using the process flow activities to make sure the order stays the same. Like this:

1680706902859.png
Here is the model with the applied changes. I added setLabel trigger for a string type label called "TxtType" on the "buffer de entrada", to sync the tables and the consult them correctly for process and setup time.

coordenaçãoDeOperadores_corrected.fsm

0 Likes 0 ·
Rafael de Assis avatar image Rafael de Assis Patricia_brenny R commented ·
Thank you soo much!

I coundn't open this file. Maybe, for my version (21.1.2).

0 Likes 0 ·
Patricia_brenny R avatar image Patricia_brenny R Rafael de Assis commented ·
0 Likes 0 ·
Rafael de Assis avatar image Rafael de Assis commented ·

Thank you soo Much Ms. Patricia!

I noted that setup in processor "pintura" changed a little bit, i needed that the operator "ajudante" do the setup, and the operator "Pintor" do the process.

with a new configuration, these operators don't work like before. it were confugurated for 1 only setup if the flowitens in sequence are iquals. now, this options don't work.


if you guide me, i have onother doubt. how I pull to list especific labels... like in this case, the crane only takes labels 5, 22, 320 and 4100.

I tried in: "List Propoerties" - "Add fields to the list" - "Label" - in this part, I don't now, how to appoint.

one more time, thank you!!

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ Rafael de Assis commented ·

You put the label name in the edit box.


If you want to check it's in a range of values then you can use an array in a where clause of the pull like:

WHERE mylabel IN [5,22,320,4100]

(for a standalone question like this, please consider asking it in a fresh question in the future - it will avoid any potential responder having to read such a long thread).

0 Likes 0 ·

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.