question

Tee Hiett avatar image
0 Likes"
Tee Hiett asked Tee Hiett commented

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

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

FlexSim HC 5.1.0
healthcareelevatordata collector
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

1 Answer

Matthew Gillespie avatar image
1 Like"
Matthew Gillespie answered Tee Hiett commented

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));
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Tee Hiett avatar image Tee Hiett commented ·

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 0 ·