Is it possible to write a tracked variable to a graph only at predefined time intervals (e.g. 720 time units) instead of monitoring it continuously?
Secondly, can the exact values be added to the graph for every time interval?
Is it possible to write a tracked variable to a graph only at predefined time intervals (e.g. 720 time units) instead of monitoring it continuously?
Secondly, can the exact values be added to the graph for every time interval?
Hi Pieter,
As Steven indicates, what you want is slightly unusual in the sense that you normally use a Tracked Variable because you want to keep track of exactly when the variable changes.
However, what you want is possible using a Custom Chart. I have made an example in the attached model. You can add a Custom Chart to the dashboard and associate to the Tracked Variable by using the sampler button on the Associations tab and clicking the Tracked Variable in the toolbox.
On the Data tab I used the "Current values" preset which you can use without modifications.
Then on the General tab, you should select Line Chart and set the data collection interval; it defaults to 50 seconds.
For comparison, I have added a proper Tracked Variable chart at the top of the dashboard. Again, however, this usage sort of loses all the advantages of a Tracked Variable so if you would care to ask a more high-level question about what it is you are trying to accomplish we may be able to give you better advice.
@Pieter Cecat I don't completely understand you question here. You add a value to a tracked variable with the command settrackedvariable() If you do that at 720 time units you will have 1 point at exactly that time.
Secondly again with the settrackedvariable() command you set exactly the value you enter in that command.
9 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