question

mkeller avatar image
0 Likes"
mkeller asked Jason Lightfoot commented

process flow freeze

Hello all.

Im currently facing an issue where after approximately 30.000 seconds of run time the activitys in my process flow freezes, the simulation clock keeps running but delays stop counting down and AGV's stop traveling. what could be the cause of this?

FlexSim 23.2.1
processs flowfreeze
· 4
5 |100000

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

Lars Christian J2 avatar image Lars Christian J2 commented ·
Please upload a sample model to facilitate problem solving
0 Likes 0 ·
mkeller avatar image mkeller Lars Christian J2 commented ·

The file is to big for uploading here. I have uploaded it to github it can be found here: https://github.com/Markkeller1/Simulation.

0 Likes 0 ·
Felix Möhlmann avatar image Felix Möhlmann mkeller commented ·

There are a lot of error message about missing labels when I run your model. I would suggest you try to go through and fix those first. If the issue persists or you are having trouble fixing some specific error, we can then help you further.

0 Likes 0 ·
Jason Lightfoot avatar image Jason Lightfoot ♦ commented ·

Hi @mkeller, was Lars Christian J2's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.

If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always comment back to reopen your question.

0 Likes 0 ·

1 Answer

·
Lars Christian J2 avatar image
0 Likes"
Lars Christian J2 answered

When you have a problem with a model, it is good practice to weed out any errors in the Compiler Console and System Console. In general it is recommended to fix console errors immidiately.

Compiler Console

Flexscript Error MODEL:/Tools/ProcessFlow/Control unit/Pull from List>variables/partitionID Line 6 Undefined variable None being used.

Flexscript Error MODEL:/Tools/ProcessFlow/Control unit/Pull from List>variables/partitionID Line 6 Could not resolve correct operator for construct operation. Left side type is Variant&, right type is (invalid)

Flexscript Error MODEL:/Tools/ProcessFlow/Control unit/Pull from List>variables/partitionID

Could not finish parsing because of previous errors.

Go to Process Flow "Control Unit" and search for "Pull from List" and an undefined variable "None". Try and look in at the second "Pull from List" in Pick Agv. Delete NONE from the partition ID.

1702385715806.png


System Console

time: 0.000000 exception: Error: Invalid flowitem reference at create flowitem activity "Create Object" in process flow "Queue orders"

Go to Process Flow "Queue orders" and check the activity "Create Object".

1702385742685.png

The tokens are stuck here, so something is wrong. You need to specify which object to create from the FlowItem Bin using the dropdown list.

1702385851543.png


Here is some sample code for creating an item using code

  1. // Read the label on the queue
  2. string itemName = link.Create;
  3. // Create item in model
  4. Object item = createinstance(Model.find("Tools/FlowItemBin/" + itemName + "/1"), model());
  5. // Move item into queue
  6. moveobject(item, link);

1702385715806.png (39.9 KiB)
1702385742685.png (31.3 KiB)
1702385851543.png (69.7 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.