Skip to content

A PTV Vissim integrated Python script that outputs a CSV file containing the parking lot occupancy per unit of time as defined by the user.

License

Notifications You must be signed in to change notification settings

jaredbest/output-ptv-vissim-parking-lot-occupancy-to-csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Output PTV Vissim Parking Lot Occupancy

Description

This repo contains a PTV Vissim integrated Python script that outputs a CSV file containing the parking lot occupancy per unit of time as defined by the user.

Note: A separate CSV file is output for each parking lot in the network.

Dependencies: To use this script, you must have Python installed as well as the pandas package.


Supported PTV Vissim versions

  • PTV Vissim 2020.00-xx
  • PTV Vissim 11.00-xx

Instructions

  1. With a network open in PTV Vissim, open the Scripts list.

  2. Create an entry in the Scripts list with the following attributes:

    • fromTime="0"
    • funcName="initialize"
    • name=""
    • no="1"
    • period="1"
    • runType="AFTSIMSTART"
    • scope="SIMULATIONRUN"
    • scriptFile="output-parking-lot-occupancy.py"
    • toTime="INF"
  3. Create another entry in the Scripts list with the following attributes:

    • fromTime="0"
    • funcName="main"
    • name=""
    • no="2"
    • period="10"
    • runType="ATTMSTEPSTART"
    • scope="SIMULATIONRUN"
    • scriptFile="output-parking-lot-occupancy.py"
    • toTime="INF"
  4. Run a simulation. Once the simulation has started, a CSV file is created for each parking lot in the network and results are written every second.

About

A PTV Vissim integrated Python script that outputs a CSV file containing the parking lot occupancy per unit of time as defined by the user.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages