prameshk / traffic-assignment Goto Github PK
View Code? Open in Web Editor NEWThis program solves the user equilibrium and stochastic user equilibrium for the city network
This program solves the user equilibrium and stochastic user equilibrium for the city network
hello i've been trying to use your code for a project to find user-equilibrium answers from a network i downloaded from osmnx using pyrosm but your code gives the following error:
Traceback (most recent call last):
File "C:\Users\Mohammad\PycharmProjects\importing network\ta.py", line 409, in
assignment("deterministic", "FW", accuracy = 0.001, maxIter=1000)
File "C:\Users\Mohammad\PycharmProjects\importing network\ta.py", line 366, in assignment
SPTT, x_bar = loadAON()
File "C:\Users\Mohammad\PycharmProjects\importing network\ta.py", line 232, in loadAON
SPTT = SPTT + nodeSet[s].label * dem
KeyError: '5414342274.0'
can you help me find out what is the problem and how should i fix it ?
thanks
i wonder how do i create a tntp file, use what software, transcad? or just using txt file and name the suffix with .tntp?
and also, when running datapreparation with tntps download from [bstabler TransportationNetworks], it reports an error:
`element_no, element_value = element.split(":") # get our pair
28 # beware, these two are now most likely padded strings!
29 # that's why we'll strip them from whitespace and convert to integer/float
ValueError: not enough values to unpack (expected 2, got 1)
`
Sorry to bother you!
I find a problem about traffic assignment by fw algorithm:
The program will not throw any errors when there is no feasible path between the start and end nodes. May you please check out this problem?
Thanks!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.