Hi !. I'm trying to figure out how can I add a step in PF or 3D that would make the statistics values of a "sink" or "queue" (input, output, content, staytime...) go back to zero at a specific moment. Anyone know how I can do this?
Thank you.
Hi !. I'm trying to figure out how can I add a step in PF or 3D that would make the statistics values of a "sink" or "queue" (input, output, content, staytime...) go back to zero at a specific moment. Anyone know how I can do this?
Thank you.
Hi @Felipe T
Use resetstats() command to clear the statistics values of the objects.
In the attached model, used this command in the OnEntry trigger of Sink.
I hope this is what you want.
Thanks.
Hi, @Raja Sekaran Do you know how to only reset the statistics values of specified object, not all the object?
Hi @jing.chen,
Try this,
Object current = ownerobject(c); Object inObject = current.inObjects[1]; current.stats.input.reset(); inObject.stats.input.reset();
7 People are following this question.
FlexSim can help you understand and improve any system or process. Transform your existing data into accurate predictions.
FlexSim is a fully 3D simulation software environment. FlexSim can be used to simulate any process in any industry.
FlexSim®, FlexSim Healthcare™, Problem Solved.®, the FlexSim logo, the FlexSim X-mark, and the FlexSim Healthcare logo with stylized Caduceus mark are trademarks of FlexSim Software Products, Inc. All rights reserved.
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © Autodesk Inc. All rights reserved