In case of the model created network node and I want to export distance in form of From to Chart ( Distance between Node to Node) , I am not sure that Flexim can do it or not?
In case of the model created network node and I want to export distance in form of From to Chart ( Distance between Node to Node) , I am not sure that Flexim can do it or not?
You can use the "getnetworkdistance" command to write the distances between the nodes to a global table. Then you export the global table through the excel import/export interface.
In the attached model I added all network nodes to a group in order to know how many there are and to have an easy ways of referencing them. The following code is written in the reset trigger of the "NodeDistances" global table and fills in the data into the table on each reset.
/**Custom Code*/ Table current = param(1); //Table node current.setSize(Group("NetworkNodes").length, Group("NetworkNodes").length); for(int i = 1; i <= Group("NetworkNodes").length; i++) { current.setRowHeader(i, Group("NetworkNodes")[i].name); current.setColHeader(i, Group("NetworkNodes")[i].name); for(int j = 1; j <= Group("NetworkNodes").length; j++) { current[i][j] = getnetworkdistance(rankfromnetnode(Group("NetworkNodes")[i]), rankfrom netnode(Group("NetworkNodes")[j])); } }
7 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