TrafficPLANit / PLANit

see www.goPLANit.org
Other
0 stars 0 forks source link

It appears generation path strings (based on node ids) results in missing commas between nodes, but only sometimes #44

Open MarkRaadsen opened 3 years ago

MarkRaadsen commented 3 years ago

reported by Wen from the MetroScan project. Try to reproduce and fix

MarkRaadsen commented 3 years ago

as per Wen's email (21/1/2021): Just letting you know for Planit, there is an “,” error for the path.csv file. The id in the path column is node ids(anode,bnode from the network input file). Many nodes are not separated correctly by “,”. That’s why cause some nodes couldn’t get the cost/flow in the link.csv file. For example, 23243,“2779125584”,48095 couldn’t find 27791-25584 result in the link.csv file, but from”23243” to “27791” could get result and “25584” to “48095” could get result. For column A, no Downstem Node 25584 connected to 27791 23243-27791 25584-48095

I could spilt the 23243,“2779125584”,48095 to 23243,27791,25584,48095 now and think about a way to deal with the 27791 to 25584. (may just use the average of 23243-27791 and 25584-48095)

Just letting you know the “,” error in the code, since Gary is not working for us, probably the error couldn’t be easily fixed.

error1

image