Not a Problem

Simulation failed after certain amout of tokens processed

Hello

I have a simple model of the process. The problem is it is failing with the error "Simulation failed. Plese check your model is BPMN 2.0 compliant." However, this error happens only after a certainn amount of data processed. For example if you set start event to be generated every 48 hours it worked fine with successfull completion. But if you set it for each 24 hours it failed with this error after 22nd event generated. Any advices will be welcome!

Thank you!

Andrey.

Best Answer
photo

Estimado Andrey,

A member of our support team will contact you.

Regards

photo
0

Estimado Andrey,

A member of our support team will contact you.

Regards

photo
0

Thank you very much! It works now!

photo
0

So, what was the solution?

photo
0

Dear Samuel,

We look at the model, the error is caused by a normal distribution in the time of a task. We changed the type to truncated normal and It works fine (check the attached image).

Please implement as you see in the attached image.

Regards

photo
0

Thanks, I have a few models that validate properly but fails after a few iterations in the Simulation.

I will try and modify the distribution settings and see what happens.

photo
0

This helped for most of the simpler models, but with models using "loops" (i.e. using gateways to direct flow back to a previous task) the simulation still fails.

I am fine-combing the BPMN specification right now to see if there's a rule or exception I might have missed. I am fairly new to the BPMN notation so that's not at all impossible.

photo
0

Hmm I found loops not working when you looping directly into decision blocks. If this is the case - try to make each decision block having only 1 entry (add additional blocks to substitute the loop).

Hope it helps! :)

photo
0

Thanks, but branching off that way would make for an awful process structure in some cases. It's nothing I'm willing to alter in these cases for the sake of simulation I'm afraid as it would make an already complicated process even worse. :(

Sequence flow looping (connecting a gateway to an upstream activity) is documented and supported by the BPMN specification so this really should work. And it does, is some processes. Generally simpler ones it seems.

photo
0

Dear Samuel,

In order to analyze your models and find out what is going there, please email us to modeler@bizagi.com and attach them.

Thank you in advance

regards