Skip to content
/ vissim Public
forked from brianhuey/vissim

Load, manipulate and create PTV VISSIM v8.x / v5.x networks using Python.

License

Notifications You must be signed in to change notification settings

yyan162/vissim

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#VISSIM Tools

##VISSIM v8.x (/vissim_v8)

###Current VISSIM objects supported:

  • VISSIM network attributes and parameters
  • Vehicle Inputs
  • Links
  • Static Route Decisions

###Current methods supported:

  • Import data from .INPX file
  • Export data to .INPX file
  • Get object attributes
  • Set object attributes
  • Create objects
  • Remove objects

###Install:

python setup_v8.py install

###Usage:

import vissim_v8 as vissim
v = vissim.Vissim('vissim_v8/example/Busmall.inpx')
links = v.Links

Access VISSIM object data:

# Will output data for link 2
links[2]

Create new VISSIM objects:

# Create link from coord 0,0 to 10,15
coords = {'points3D': [(0,0,0), (10,15,0)]}
links.createLink(**coords)

Export VISSIM model to new file:

v.export('example_new.inpx')

##VISSIM v5.x (/vissim_v5)

###Current VISSIM objects supported:

  • Vehicle Inputs
  • Links
  • Connectors
  • Route Decisions

###Current methods supported:

  • Import data from .INP file
  • Export data to .INP file
  • Get object attributes
  • Set object attributes
  • Create objects

###Install:

python setup.py install

###Usage:

import vissim_v5 as vissim

links = vissim.Links('example.inp')
# Create link from coord 0,0 to 10,15
links.create((0,0), (10,15))
# Export loaded link data and new link
links.export('example_new.inp')

About

Load, manipulate and create PTV VISSIM v8.x / v5.x networks using Python.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%