Hi
Is it possible to get the name of the (assigned) matrix as the filed name for volume numbers in the final assigned results ? Like for example truck, car, bike etc instead of v1_1, v2_1 .
Thank you
Please clarify your question in terms of what you mean by "name of the assigned matrix"? If you mean "name of the link attributes storing the assigned volumes", then the resulting link attributes from the Highway assignment program are created using the convention you reported (v#_1, where # is the vehicle class). To rename them, the easiest way could be just to use a subsequent Network program where you specify the new link names. for example:
car = li.1.v1_1
truck = li.1.v2_1
Does you answer mean same as:
li.car = li.1.v1_1
li.truck = li.1.v2_1
To Clarify on your question:
When importing matrices from a csv (in my case), we can name the matrix table. These matrix tables are then used inside ILOOP when declaring PATHLOAD as VOL[1] = MI.1.1 for example. This MI.1.1 already has a name of car, truck when I imported them from csv. So I wonder if it is possible to use these names as resulting link attributes from the highway assignment program.
Thank you.
li. is the syntax that stands for "input link". Therefore you should not use it as prefix for the new (output) attribute name. Within the linkmerge phase in Network you can specify the new attribute name directly as:
This was explained also here https://communities.bentley.com/products/mobility-simulation-analytics/f/cube-forum/229278/editing-edit-link-attributes-using-filter
Please also have a look at this training material, since it covers the basics of the Network program: citilabs.teachable.com/.../cube-voyager-scripting-introduction
Answer Verified By: Ram B