Saving incident data to a file
Incident data can reveal modeling errors in the Vissim network, such as incorrectly configured conflict areas.
As part of this evaluation, you can export incident data to OpenSCENARIO XML *.XOSC files.
Ensure that the simulation parameters specify at least 10 time steps per simulation second for simulation resolution. This enables Vissim to detect collisions occurring within a single time step.
You can output the following data and data formats:
|
Output |
Text file |
Database file |
Attribute file from attribute list |
|---|---|---|---|
|
Aggregated data |
- |
- |
- |
|
Raw data |
*.inc |
- |
- |
Defining evaluation of the incident results
1. On the Evaluation menu, click > Configuration > Direct Output tab.
2. In the Incidents row, select the option Write to file.
3. You can change the time if you wish (Using the Direct output function to save evaluation results to files).
4. Click the More button.
The Detection of incidents window opens.
5. Make the desired changes:
| Element | Description | ||
|---|---|---|---|
|
The threshold values apply both to the Incidents direct output and to the logging of incidents in the Vehicle network performance.
|
|||
|
OpenSCENARIO |
Export incidents:
The file name of each *.XOSC file exported is based on the following structure: <IncidentType>_start<SSSS.SSS>_veh<Id1>_veh<Id2>_simRun<run>.xosc Example: Collision_start237.400_veh12_veh38_simRun1.xosc The Start time start<SSSS.SSS> of the incident is given in seconds. The *.XOSC files are saved in theOpenSCENARIO folder in the working directory of the open *.INPX file. For incidents involving two vehicles, Vissim exports a *.XOSC file for each vehicle. No incident data can be exported for vehicles from the mesoscopic simulation. |
6. Confirm with OK.
7. Start the simulation (Running a simulation).
A *.inc file (Incidents protocol) is saved as a text file separated by semicolons. If the file was created based on the simulation of a scenario, the file name contains the name of the scenario.
Result of incidents evaluation
The *.inc file containing incident data may include the following:
|
Element |
Description |
|---|---|
|
File |
Path and name of network file |
|
Comment |
Optional comment from the simulation parameters |
|
Date |
Time of evaluation |
|
PTV Vissim |
Version number, service pack number, build number |
|
Data block |
Each row contains data for an incident and the two involved vehicles (1 and 2), separated by ';’.
|
|
|
Note: An Automotive license is required to export the attributes marked with an A. |
*.inc file with data on incidents - sample file in Microsoft Excel™ via the menu Data > Option From Text/CSV opened. Make sure that the option Unable to recognize data types is selected for the Data type detection attribute.
If this option is selected, incident data are exported between vehicles in OpenSCENARIO XML 
