Comments (2)
UE is the prerequisite to conduct DTA for both Path4GMNS and DTALite.
pg.perform_network_assignment_DTALite(mode=2, column_gen_num, column_update_num) is actually calling DTALite embedded in Path4GMNS. DTALite only supports an integrated run of UE + DTA. In other words, you cannot bypass the UE process and directly run DTA using your own agent.csv.
However, this specific running mode is supported by the simulation module in Path4GMNS. You can directly call pg.perform_simple_simulation(network) to perform DTA based on your own agent.csv. The full sample code is listed below.
import path4gmns as pg
network = pg.read_network()
pg.read_zones(network)
pg.load_demand(network)
pg.perform_simple_simulation(network)
print('complete dynamic simulation.\n')
print('writing agent trajectories')
pg.output_agent_trajectory(network)
You can even continue the UE process starting from your own agent.csv. Details can be found here.
As this "issue" is more toward a question or a discussion, in the future you may want to consider discussions, which is a more proper place. If you have further questions w.r.t. your original question, you can reopen this thread.
from path4gmns.
from path4gmns.
Related Issues (20)
- A question about DemandPeriod class HOT 1
- A question about agent counting HOT 1
- Removing Links HOT 1
- testing "Perform Path-Based UE Traffic Assignment using the Python Column-Generation Module" HOT 2
- Issue for Find Shortest Paths for All Individual Agents HOT 2
- Issue in perform Path-Based UE Traffic Assignment HOT 1
- Units of some parameters are unclear HOT 1
- Some zones are missed HOT 2
- Distance for some OD pairs is "N/A" HOT 2
- documentation for function: network.find_shortest_path HOT 2
- Problem with travel time HOT 2
- KeyError: (0,0,0) in setup_spnetwork() HOT 5
- the output result doesn't seem change for different demand files HOT 6
- read user defined agent types in allowed_uses HOT 1
- tutorial.ipynb will not run HOT 5
- tutorial.ipynb HOT 1
- Travel Time in Agent File HOT 2
- A suggestion about assertion statement HOT 1
- A typo in colgen.py HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from path4gmns.