Quick question,
If I'm using Heat Maps, you can see the color differences.
How do I translate those colors to numbers?
Is there a table I can look up or am I missing something?
Thanks
All the data found for the heatmap is found in the tree under the "extraData" node
@Joshua S Is this also applicable for FleXSim healthcare? Also, I sue version 21-2 and do not see this information.
I am trying to look at the total traversals per grid. How do I get the extradata into a table? I am not able to access the total traversals per grid.
The nodes are of the "Simple Data Type". You can use the command "getsdtvalue()" to read data from them. Although be aware that the developers do not guarantee compatability for future versions as the data format inside the node might change.
https://docs.flexsim.com/en/21.1/Reference/CodingInFlexSim/CommandReference/Commands.html
Here's an example code that sums up the traversals per grid and writes them to "GlobalTable1".
treenode extraData = Model.find("AStarNavigator>stats/extraData"); Table tab = Table("GlobalTable1"); // Reset Table tab.setSize(1, 1); tab[1][1] = 0; // Count traversals per grid for(int index = 1; index <= extraData.subnodes.length; index++) { int grid = getsdtvalue(extraData.subnodes[index], "Grid"); double traversals = getsdtvalue(extraData.subnodes[index], "totalTraversals"); while(tab.numRows < grid) { tab.addRow(); tab[tab.numRows][1] = 0; } tab[grid][1] += traversals; }
10 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