I know the heat map in the A* module, but it works with the AStarNavigator.When I use the AGV module, I can't draw the heat map in the model. How do I learn to do it? Please give me some suggestions ,thanks very much.
I know the heat map in the A* module, but it works with the AStarNavigator.When I use the AGV module, I can't draw the heat map in the model. How do I learn to do it? Please give me some suggestions ,thanks very much.
Heat map feature is not supported in AGV module. It is only supported in A* navigator.
I know it. My mean is that I want to find a method to do it, but I'm completely at a loss the know what to do. Thanks all the same, please forgive my poor English.
Thank you!
Hi @Arno Chan,
I searched FlexSim's command reference and FlexScript's API reference and it appears that there is no method that can directly access the heat map.
Perhaps you start a search in the old community forum. It won’t be easy to use an old module for an actual version. But if you need it, you can try it. And there isn’t a guarantee that it will work with another module together. Otherwise you can install an older version of a FlexSim Version to collect additional data and combine it with data of a current model version.
You could technically do this, but it's going to be a big project and possibly beyond your programming skills (depending on your comfort level with coding).
First, you'll want to learn how to draw the heat map visuals. FlexSim provides several different ways to draw things in the 3D view like the draw commands ( like drawrectangle() ) and the mesh commands.
Second, you need to get the data you want the heat map to display. That might be the number of times an object's used a particular path. You'll probably have to use triggers to store the data somewhere.
Finally, you need to determine what to draw based off what the data you gathered is. For example, draw a red line under the path when more than 50 objects cross the path.
If you're still interested in doing this feel free to ask separate questions about specific aspects of what you're trying to do, like "How do I draw a red square?".
Attached is a model showing the principle when just tracking the centre locations of travelers.
To add it to your model:
Some configuration is possible through label values:
It would still benefit from further refinement of the footprint and customisation of color map.
Update: Version with ColorPalette below:
Is there a way to put a different path color for each operator present in the model?
How can I adapt this to a model in milimeters? I've tried to use this, but tiles are so small that they are almost invisible. I've applied a factor in On Draw Trigger code, but it only change the visual size, but tiles kept really small.
Thanks in advance!
I think my mistake is making the divperunit an integer in the updateMap code (label).
Change it to a double and set the resolution to 0.001 and it should work without draw code modifications:
HeatMapAnything2_millimetres.fsm
A resolution of 0.002 will give 4 tiles per square metre.
17 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