How do I create a data collector to run at in the replication

How do I create a data collector to run at in the replication

tee_hiett
Not applicable
22 Views
2 Replies
Message 1 of 3

How do I create a data collector to run at in the replication

tee_hiett
Not applicable

[ FlexSim HC 5.1.0 ]

In the attached model, I have one scenario (and might add a 2nd). At the end of each replication, I would like a data collector to record the maximum number of persons on elevator number 1 and elevator number 2. What is the best way to do this? Thanks elevators-th-02-24-2017.fsmTee

0 Likes
Accepted solutions (1)
23 Views
2 Replies
Replies (2)
Message 2 of 3

Matthew_Gillespie
Autodesk
Autodesk
Accepted solution

It looks like you're basically there if you're using DataCollector2 for this. You just need to put some code in the column fields to get the maximum content stat, like this:

return get(stats_contentmax(Elevators_1));


Matthew Gillespie
FlexSim Software Developer

Message 3 of 3

tee_hiett
Not applicable

Thanks, Matthew.

I just wasn't sure of the code. I have attached a sample of the output.

Tee

max-in-elevators.jpg

0 Likes