How to check the model deadlock time while using optimizer?

How to check the model deadlock time while using optimizer?

rajankur6494
Advocate Advocate
16 Views
4 Replies
Message 1 of 5

How to check the model deadlock time while using optimizer?

rajankur6494
Advocate
Advocate

[ FlexSim 23.1.0 ]

Hi Team,

I am collecting results using optimizer for my model. But for 1 scenario, it is not giving results as expected and showing 0 value. Since model run time is around 50 hrs. it is little difficult to keep eye on it while running and checking it in 3D.

Is there any way we can get the model time when model is reaching in deadlock condition due to which it is not producing results?

or

If we can cover this kind of scenario in condition and print the model time at that moment?

Thank you!

0 Likes
Accepted solutions (1)
17 Views
4 Replies
Replies (4)
Message 2 of 5

JordanLJohnson
Autodesk
Autodesk
Accepted solution

I think the easiest way would be to add a Performance Measure that just reports the time:

Model.time

Then you could check that value for the replications that had a deadlock issue.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 3 of 5

rajankur6494
Advocate
Advocate
Thank you! @Jordan Johnson

It makes sense.

But if deadlock condition is not happening and we want to dig down the reason it is giving 0 results for 1 scenario. What would you suggest?

I tried using debugger option while writing code, but it doesn't happen in optimizer.

Thank you!


0 Likes
Message 4 of 5

jason_lightfootVL7B4
Autodesk
Autodesk

Apply that trials parameters to the model and run it interactively to see what's happening. You can also save the state of the models and open them for clues as to what might have happened.

0 Likes
Message 5 of 5

JordanLJohnson
Autodesk
Autodesk
I agree with @Jason Lightfoot , you should run those scenarios interactively. If you click on a point in the optimizer chart, you should get an entry for that point in the legend, and you can click the test-tube button to apply those exact parameters, stop time and warmup time to your model. If running your model interactively doesn't have any problems, but running your model in the experimenter or optimizer does, then you have repeatability issues. Try running your model on FF to replicate how child processes run.
.


Jordan Johnson
Principal Software Engineer
>

0 Likes