Questions tagged [ptv-vissim]

PTV Vissim is a micro- and mesoscopic multi-modal traffic flow simulation package developed by PTV GmbH. Use this tag for questions about its use from its programmatic APIs (COM scripts, Driver Model API, Driving Simulator API, Signal Controller API, Emissions API).

PTV Vissim (derived from the German "Verkehr In Städten - SIMulationsmodell") is a commercial traffic flow simulation package developed by PTV AG ("Planung Transport Verkehr"). It allows multi-modal modelling of traffic for vehicles, public transport, cycles and pedestrians, while supporting interactions between them. PTV Vissim employs microscopic models, i.e. every entity is explicitly simulated: For vehicles, public transport and cycles so-called car-following models are used, which were originally developed by Rainer Wiedemann. It additionally supports a simpler but faster "mesoscopic" model. For pedestrians the Social Force Model by Dirk Helbing is employed.

The software can be controlled by means of scripts. They can be written in any language supporting , e.g. , or . They allow to programmatically change the underlying traffic network and influence a running simulation.

Moreover, PTV Vissim allows to use custom car-following models in the simulation via the Driver Model and the Driving Simulator APIs. It additionally contains APIs to develop custom signal controllers and emission calculation models. These APIs are -APIs.

PTV Vissim including the graphical interface is available for , its simulation kernel additionally for .

12 questions
1
vote
0 answers

Generating text file based on two tables - R

I am trying to create a text file based on two tables. The text file should look like this for each interstage: $INTERSTAGE ISt name : St1->St12 ISt description : Source: Stage sequence plan ISt Description: INTERSTAGE_number …
1
vote
1 answer

Deleting previous results from Data Collection Results tab

I ran my PTV Vissim simulation a few times to see if it works. I noticed that the Data Collection Results tab collected all the data from these runs. How can I delete these previous data? Edit: I think I was able to figure it out: 1) you have to…
1
vote
0 answers

Questions about VISSIM COM interface GetQueued method

I'm using Python to communicate with the VISSIM traffic simulation software using its COM interface. I'm trying to access the GetQueued information of one of my link while running a simulation. import win32com.client as com vissim_com =…
tracer
  • 11
  • 2
1
vote
1 answer

I'm not able to print node evaluation results in python. My results are visible in VISSIM but can't access them through API COM

I'm writing a program and need to get the following Node results:- ["fuel consumption, Emissions CO, NOx, VOC"] as shown in image. I just need to print these results in Python. My results are visible in VISSIM but can't access them through COM. I…
1
vote
0 answers

PTV Vissim - How do you begin a simulation with cars already parked in a ParkingLot?

I'd like to start a simulation with cars already parked in a ParkingLot. How to simulate this in Vissim?
atreeon
  • 21,799
  • 13
  • 85
  • 104
1
vote
1 answer

PTV Vissim: How to increase the ParkDur(0) duration for the Parking Lot

How to increase the ParkDur(0) duration by longer than the max dropdown value of 30s. In my list I only have 0.5s, 0.9s, 5s+-, 20s+-, 30s+-, 2s, 1.5s, 0.6s
atreeon
  • 21,799
  • 13
  • 85
  • 104
1
vote
1 answer

Jacob Error: Can't get object clsid from progid

I'm trying to run Vissim 8 (student version) using java and to do that I'm using jacob. Now I'm not sure what I'm doing wrong because I'm new to jacob. This is the code I'm trying to run: import com.jacob.activeX.ActiveXComponent; import…
Nino Korent
  • 31
  • 1
  • 7
0
votes
1 answer

Is there a way is VISSIM-COM to change the values of two driving behavior parameters using Python?

I am new to VISSIM-COM and am trying to calibrate a model in VISSIM using COM through coding in Python. I could do all the steps using COM-help from VISSIM. However, when I reached the point of setting the hyperparameters of the driving behavior, I…
Mustafa
  • 1
  • 1
0
votes
0 answers

PTV Vissim - change route

can you help me to write a script to change the route of the vehicle class based on condition? I want to change the route of a certain vehicles after number of labs at route to another routes
0
votes
0 answers

VISSIM com interface plotting simulation value in real time and converting it in a data frame appending the value

I am using PTV VISSIM COM to measure different attributes like speed, vehicle count, etc. Part of my code is as below End_of_simulation = 60 # simulation second [s] resolution = 10 # Number of steps in a…
Jewel_R
  • 126
  • 2
  • 17
0
votes
0 answers

vissim com with python interface

I am using vissim com and trying to integrate python. After I load, the simulation in vissim starts. But when I add a link and give other commands GetMultiAttValues etc (last 3 commands of code given ), it doesn't change anything and does not give…
Jewel221
  • 11
  • 2
0
votes
0 answers

PTV Vissim - is there a way to change the colour of static 3d objects?

Looking through the list of static 3d objects (v3d files) they are all white. When you play the simulation, moving 3d objects are automatically coloured. Is there a simple way to change the colour of the static 3d objects in Vissim?
atreeon
  • 21,799
  • 13
  • 85
  • 104