question

Brad Noorman avatar image
0 Likes"
Brad Noorman asked Brad Noorman commented

Model Stops Responding after Short Amount of Time

Hello,

I have built (and attached) a simulation model to represent a future state blending operation in one of our manufacturing plants. There are 4 main activities happening in the model: Charging/Blending/PKG/Return Blenders, separated into 2 groups in the process flow: Mix/PKG.

After about 13 Simulation hours, the model begins to slow down to the point that it eventually times out and I have to close the application. To my knowledge, I cannot find any infinite loops or anything similar that could be causing this issue. Any help would be greatly appreciated.

Thank You,

Brad Noorman

future-state-1.fsm

FlexSim 18.0.10
support
future-state-1.fsm (77.1 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.

Patrick Zweekhorst avatar image
0 Likes"
Patrick Zweekhorst answered Brad Noorman commented

Hi @Brad Noorman,

I am not sure why it goes wrong, but if you change some settings in the Mix processFlows create tokens it seems to run a lot better. I changed the "create as" to independent tokens, instead of child tokens. Maybe something goes wrong because a lot of tokens all have a child. So you have one token with a child, but that child also has a child ect. Your model does continue to run it only gets really slow. So I believe it has to do a lot of computations, and I think it is at the create tokens activity.

Again, what exactly goes wrong I don't know, but changing the settings in the create tokens does let your model run (without removing all kind of activities)

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

Brad Noorman avatar image Brad Noorman commented ·

Thank You Patrick! Creating the tokens as children was unnecessary and switching that to independent tokens seems to have solved the issue.

0 Likes 0 ·
wonjo P avatar image
0 Likes"
wonjo P answered

Hello. Brad

I find a loop from Create Tokens to Enter Charging Zone.

I can't understand why you need to back to the blend, so I delete that process.

If you need to back to there, please reply on reason for me.

Also, I can't understand why you need to Batch, so I delete that.

Finally, I can operate the model without stopping.

Thank you,

Park Won Jo

wonjo-future-state-1.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.