How to write average throughput to global table on trigger

How to write average throughput to global table on trigger

jonathan_s3
Not applicable
29 Views
3 Replies
Message 1 of 4

How to write average throughput to global table on trigger

jonathan_s3
Not applicable

[ FlexSim 20.0.8 ]

I have a global table and would like to record the average throughput of a station to it on using a trigger. I've used a workaround to get a data collector to get its average throughput but at a certain point in the run I'd like to write the current value to my global table.

Accepted solutions (1)
30 Views
3 Replies
Replies (3)
Message 2 of 4

Jeanette_Fullmer
Community Manager
Community Manager
Accepted solution

Hello @Jonathan S3,

I created a model that uses exit triggers to update a global table. The table keeps track of each processor's current throughput and its average throughput. I understood average throughput as the current processors throughput divided by the throughput of all the processors. Was this correct? or were you looking for an average that told you the average number of boxes processed over a given time?

Here is a model that demonstrates how the triggers can be created. Please note I also created reset triggers that set the values in the global table to zero when the simulation is reset.

ThroughPut-Average.fsm

Please let me know if this answered your question.

Message 3 of 4

jonathan_s3
Not applicable

Thank you @Jeanette F. I am looking for throughput average over time.

0 Likes
Message 4 of 4

Jeanette_Fullmer
Community Manager
Community Manager

Hello @Jonathan S3,

I realized I made the model in Flexsim 20.2 when you use 20.0. Here is the new model. I updated the triggers to use the model time to create a value. Hopefully this will help you fill the table with the values you are looking for.

ThroughPut-Average_20.0.fsm

0 Likes