question

Claire Krupp avatar image
0 Likes"
Claire Krupp asked Zahra Z commented

How to collect aggregate state statistics for People on an AStar network?

I am using the People Module to model many employees walking within a large plant. We need to find out how to measure congestion and compare layouts. I can get statistics on their walk-times using zones with partitions for their work locations (which is a label). That works very nicely.

But how do I find a way to measure congestion?

I would like to be able to show % Blocked when walking, but there does not seem to be a way to easily get the State of a Person. And the internal data from the AStar navigation is not available, so I can't get a numerical idea of what the heat map means in comparative terms.

Maybe I could use a calculated table to get a measure of how much the average walk time differs from the minimum, in % terms?

Any other ideas?

FlexSim 19.0.0
statisticsastar navigatorpeople module
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

Joshua S avatar image
1 Like"
Joshua S answered Zahra Z commented

You can access all the data of each node in the Astar network, and they have alot of useful data that you could pull from, especially total Traversals , which would give you an indication of the most trafficked areas.

While the model is running, you can access a node and it's data using the code below

  1. treenode Node = Model.find("AStarNavigator>stats/extraData/4");
  2. return getsdtvalue(Node, "totalTraversals");

astar-data.fsm


astar-data.fsm (66.3 KiB)
· 5
5 |100000

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