Model run in webserver shows earlier stop time than actual model

Model run in webserver shows earlier stop time than actual model

pcneo
Advocate Advocate
614 Views
3 Replies
Message 1 of 4

Model run in webserver shows earlier stop time than actual model

pcneo
Advocate
Advocate

[ FlexSim 23.1.3 ]

Using webserver to run a model with stop time, though the actual model has stopped at the exact configured stop time, the web page shows a stop time that is earlier. Refer to picture.webserver_diff_runtime1.jpg


Is this a bug? Or is there a way to get the web page shows the same stop time as the actual model?

Any suggestion or help will be appreciated.

Thanks.

0 Likes
Accepted solutions (1)
615 Views
3 Replies
Replies (3)
Message 2 of 4

JordanLJohnson
Autodesk
Autodesk

My only theory is that the model has one of the following:

  • A call to stop() or endreplication() somewhere in the model logic. Maybe the model stops itself?
  • A disabled stop time. Perhaps the webserver enables all stop times for a model?

It is hard to test without the model in question. If you are able to share the model, that would be best.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes
Message 3 of 4

pcneo
Advocate
Advocate

Thank you for looking into this query.

The previous model uses AGV and it contains commands that requested AGV to stop, so I've created a different model using only standard operators and processor (attached 2023Upd1_sample.fsm). The stop time shown on webpage still does not coincide with the model.

FYI. I am accessing the webpages using localhost (not sure if this is important info).webserver-diff-runtime1.jpg

0 Likes
Message 4 of 4

JordanLJohnson
Autodesk
Autodesk
Accepted solution

Here is my theory: when the model hits a stop time, there is no update for the stop time widget in the browser. If I hit the stop button, the widget updates to show the correct value:

stopbuttonupdate.gif

I'll add this to the dev list, to see if we can improve this behavior.

.


Jordan Johnson
Principal Software Engineer
>

0 Likes