GithubHelp home page GithubHelp logo

ocean's Introduction

OCEAN for Multi-Resolution Network Modeling:

Open-source tool for creating Cell-based (microscopic) and mEsoscopic and mAcro Networks

Development Support:

Ph.D. Student: Jiawei (Jay) Lu ([email protected])

Dr. Xuesong (Simon) Zhou ([email protected])

School of Sustainable Engineering and the Built Environment

Arizona State University

Overview of work flow

Step 1: Obtain macroscopic network data

Use the OSM2GMNS tool to convert map.osm file in OSM format into a network file in GMNS format, and the output includes node.csv and link.csv files. The OSM2GMNS tool also generates important information such as the mapping between “model nodes” and “main signal nodes”, which is recorded in file complex_intersection.csv and segment.csv.

As shown above, ensure the following files are located in the “consolidated” folder:

node.csv (required),

link.csv(required),

complex_intersection.csv(optional),

segment.csv(optional).

Step 2: Obtain the OCEAN python code

Go to the github website of OCEAN,

https://github.com/asu-trans-ai-lab/Ocean/tree/master/ocean

download the source codes insides the “ocean” folder, and open main.py file.

Step 3: Configure network-related parameters

Check and configure parameter values in the python code of main.py.

Descriptions of parameters in the code

working_directory File directory of node.csv and link.csv
coordinate_type Type of coordinate system, m: meter, ll: latlon, f: feet
geometry_source File source of geometry information, n: none, l: link file, g: geometry file
unit_of_length Minimum unit of link length, m: meter, km:kilometer, mi: mile, f: feet
segment_unit length unit for segment data, m: meter, km:kilometer, mi: mile, f: feet
speed_unit unit of traveling speed, mph: mile per hour, kph: kilometer per hour
link_type_list List of allowed link types
connector_type link type of connectors in macroscopic network, -1 if no connector
The following parameters have default values
min_link_length meter, links shorter than that will be removed, > 2 * length_of_cut[0]
comb_links remove 2-degree nodes
auto_connection generate movement connections for intersections without predefined movement info
connector_geometry_for_output 1: with lane offset; 2: no lane offset
length_of_cell Length of a cell when generating microscopic networks from macro network
length_of_cut Information of offset, e.g, 2:8.0 cut 8 meters if the original macro link has 2 lanes, etc
cells_in_queue_area for signalized intersections
width_of_lane Width of each lane

Step 4: Execute OCEAN and generate networks

Go to the github website of OCEAN, https://github.com/asu-trans-ai-lab/Ocean/tree/master/ocean/test/asu_dataset**,** download a test data set or use your own dataset.

Run the OCEAN program to generate three sets of file corresponding to macroscopic, mesoscopic, and microscopic network in the folders shown below. Each folder should have at least node.csv and link.csv files.

Step 5: Visualize networks in NeXTA

You can open and visualize the traffic network project (node.csv in three folds) in NEXTA .

Use menu as shown below, then set the window layout to show three levels of networks, through menu items “tile vertically” and “Synchronized Display” .

The potential next step is to manage OD zone structure and in the NeXTA tool and perform traffic assignment and simulation using DTALite for transportation network simulation and analysis.

ocean's People

Contributors

xzhou99 avatar jiawlu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.