how to use the throughput per hour table statistics on a station placed on a conveyor? the statistics works fine on a processor
how to use the throughput per hour table statistics on a station placed on a conveyor? the statistics works fine on a processor
Hello Yoni,
It is same as you have done for Processer. Drag Output/hour chart in the dashboard and add station in the objects tab.
throughput-per-hour-statistics.fs
@asb.praneeth see attached model, and see differences
Try using the legacy chart (Output Per Hour)
Here is the model yoni-support.fsm
Edited: In the updated model, I have customized the process flow to capture the station throughput per hour.
thanks for your answer, ca you show me how you found the output per hour, I did not see it on the statistics charts bar
regards
yoni
File >> Global Preferences >> Environment >> Select the Legacy charts checkbox
Then you can find the legacy charts in the Dashboard library.
Thanks
The Throughput Per Hour template currently does not support conveyor stations as objects. The easiest way to get that template to display the data you want is as follows.
I made this demo model that shows how to get the chart you want:
To get this chart, you need to make a Statistics Collector. The collector does not listen to any events. On the Data Recording tab, set the row mode to Enumerate. Sample the stations you want to show on the chart.
Then you need to add three columns. For the first column, set the Update Mode to When Row is Added. For the value, use the picklist to choose IDs, then choose ID of Row Value.
For the second column, set the Update Mode to Always. For the value, use the picklist to choose Statistics, then choose Statistics By Object. In the popup, set the object to data.rowValue, and choose the current Output.
For the third column, set the Update Mode to Always. For the value, use the following code:
/**Custom Code*/ StatisticsCollector collector = ownerobject(c); var data = collector.collectedData; treenode current = data.eventNode; Object instance = data.processFlowInstance; // determine the number of hours double duration = Model.statisticalTime / 3600; // If no time has elapsed, return zero to avoid divide by zero if (duration == 0) return 0; // Look up the throughput value in the current table double throughput = Table(collector)[data.rowNum][2]; return throughput / duration;
This code just gets the value from the second column, and divides it by the total number of hours.
8 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