question

Patrick Crowley avatar image
0 Likes"
Patrick Crowley asked Patrick Crowley edited

Activities being deleted and connections appearing in Process Flow

Hello,

I am having what appears to be a strange bug when I run a process flow driven simulation. As the sim runs, activities disappear from process flow and connection appear to nowhere. Most of them have "NULL" as their FROM port.

The only errors that appear are about half an hour sim time after the random connections start appearing. Any help diagnosing what is going on here would be appreciated.

before.png

after.png

time: 2520.050000 exception: Exception caught in Executive::processeventinlist(). Throwing.
time: 2520.050000 exception: Exception caught in Executive::steptotime(). Throwing.
time: 2520.050000 exception: Exception caught in Executive::tick(). Throwing.
time: 2520.050000 exception: int runthemessageloop() #4
exception: Executive::instance.tick();
time: 2520.050000 exception: int runthemessageloop() #6
FlexSim 19.1.1
process flowbugconnectionsactivity
before.png (128.9 KiB)
after.png (138.7 KiB)
· 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.

Matthew Gillespie avatar image Matthew Gillespie ♦♦ commented ·

Can you attach the model?

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

Updated the post with the model.

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

Do you have a version of the model before the connectors appear?

0 Likes 0 ·
Show more comments

1 Answer

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

You have several unload activities that are unloading current.first. In a general flow current.first is the first process flow activity. So you're moving activities out of the process flow and into the model.

This is breaking your process flow and polluting the 3D model. For example you have 6 process flow activities inside C37 Exit Conveyor. You need to search through the process flow and remove all references to current. I'm assuming you copied sections of activities from an instanced flow.

I would also recommend you simplify your process flows by using sub flows / instanced flows to reduce the total number of activities in the model. It looks like you have a lot of repeated activities/logic which complicates the model and makes it very easy to make mistakes or forget to update parts of the model.


currentfirst.png (53.5 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.