question

Thao B avatar image
0 Likes"
Thao B asked Matthew Gillespie edited

How to control Maximum content of objects using ProcessFlow

process-flow.pngplate-shuffling-for-horizontal-storage.fsm

Hi,

I have a model here created with the help of @Regan Blackett.

The model make use of Process flow to find, shuffle and load steel plates from Storage Queues 1-4 and unload it at Queue 5. However, I am not able to set the maximum limit of the Queue 5 in 3D modelling. What is way to approach this in Process Flow?

I have also added a conveyor to deliver the steel plates to the processor. The maximum content on the conveyor is set to be "4". However, more than 4 plates are still getting loaded onto the conveyor.

FlexSim 18.1.2
maximum content
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

Matthew Gillespie avatar image
2 Likes"
Matthew Gillespie answered Matthew Gillespie edited

I made some changes to your model so the process flow waits for capacity limits.

First, I made it so after it loads the pulled plate it then waits for the content of Queue5 to drop below it's max content value.

Second, I removed the Zone from the Conveyor max content section and just replaced it with a decide.

See the attached model:

maxcontent.fsm

Also, there were some issues with the crane acting strangely because you had the Queue set to Use Transport with the crane. This doesn't work very well because you're mixing control of the crane. The process flow assumes it's the only thing giving the crane instructions, but then the queue was adding in extra instructions on top of that. I turned that off in the attached model because that's beyond the scope of this question.


maxcontent.fsm (54.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.

Thao B avatar image Thao B commented ·

Hi @Matthew Gillespie

I tried to recreate the changes you have made to the model but I keep receiving an Task Error when the steel plate exits the processor. I have checked the Process Flow thoroughly but couldn't find anything wrong. Could you have a look? Thank you.

task-error.png

plate-shuffling-for-horizontal-storage.fsm

0 Likes 0 ·
Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

@Thao B

It looks like there is some old data stored in the variables of the Wait For Room in Blasting Queue activity. In the Event field of that activity I clicked the dropdown and chose a different event. Then I clicked it again and chose the OnContentChange option again. That cleared out the old data for me.

fixed.fsm

0 Likes 0 ·
fixed.fsm (53.6 KiB)