AnswerHub Upload Issue
Our AnswerHub community currently has a bug that prevents you from attaching your model or other files to your questions. AnswerHub is aware of this issue and they are working on a fix. Until we receive their patch, you can upload your models and other files to FlexSim's file share site. Include the file name in your question so that we know which upload to reference.

question

Patrick Zweekhorst avatar image
1 Like"
Patrick Zweekhorst asked Jordan Johnson answered

Stay time pin option only logs stay time in OnChange, not OnUpdate

Hi @jordan.johnson,

I found something unexpected in the staytime pin stats collector, maybe it is intentional, but it feels like it should be something different. When you use the pin option of an object to plot the staytime a stats collector is created. This stats collector however listens to the OnChange of the stay time tracked variable. So when multiple flow items have the same stay time only one point is logged. I guess you would need to use the OnUpdate and not the OnChange. Maybe you can change this in the stats collector that is created when plotting the stay time from the pin options.

Maybe an even better solution would be to have the pin options use as many dashboard templates as possible. If the pin of the stay time would create a stay time template dashboard there would not be a problem, since the stay time template does log a point in the Update of the stay time. Using the templates behind the pin options would be nice for other pins as well (like the states ect)

Thanks

FlexSim 19.0.1
dashboardsstaytimetemplatesstaytime template
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

·
Jordan Johnson avatar image
1 Like"
Jordan Johnson answered

Yes, that is a bug in the current pin button. The long-term plan is to update the pin buttons to pin the same templates that are available in the dashboard library (currently none of the pin buttons do that), just as you suggest. Until that happens, it would be good to fix that bug, so I will put it on the dev list.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.