Skip to content
Load, manipulate and create PTV VISSIM v8.x / v5.x networks using Python.
Branch: master
Clone or download
Latest commit 51e2fcc Sep 30, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
vissim_v5 added support for VISSIM v8x Jul 8, 2016
vissim_v8 merged Sep 29, 2018
.gitignore update Jul 8, 2016
LICENSE Initial commit Jul 14, 2015
MANIFEST.in Issue #1: setup_v8.py fix Feb 24, 2017
README.md markdown update Oct 20, 2017
setup_v8.py Issue #1: setup_v8.py fix Feb 24, 2017

README.md

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')
You can’t perform that action at this time.