Saving pedestrian record to a file or database
|
Note: You will need the add-on module Viswalk. |
The pedestrian record outputs the attribute values for each pedestrian in one row per time step. You can restrict the evaluation to pedestrian classes and individual pedestrians. Pedestrian areas and inputs must defined for the network and OD matrices for the dynamic assignment (Modeling construction elements), (Modeling pedestrian inputs), (Pedestrian OD matrices). In areas where pedestrians are to be recorded, the Pedestrian record active option must be selected (Attributes of areas).
If under Links, you selected the attribute Is pedestrian area and now want to save the link data to the Pedestrian record, select Vehicle record active (Attributes of links).
You can output the following data and data formats:
Output |
ASCII file |
MDB file |
Attribute file from attribute list |
---|---|---|---|
Aggregated data |
- |
- | |
Raw data |
*.pp |
- |
- |
|
Tip: You can show many output attributes of the Pedestrian record in parallel, also during the simulation, as a result list Pedestrians in network. |
1. From the Evaluation menu, choose > Configuration > Direct Output tab.
2. In the Pedestrian record 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 Pedestrian record window opens.
5. Make the desired changes:
Element | Description |
---|---|
Resolution | Simulation resolution of time steps |
Filters |
|
Attribute selection | The Pedestrians in Network: Select Attributes window opens. You can select attributes for the evaluation (Selecting attributes and subattributes for columns of a list). |
6. Confirm with OK.
7. Start the simulation (Running a simulation).
A *.pp file is saved.
Result of pedestrian record
A pedestrian record *.pp may contain the following data:
Element |
Description |
---|---|
File |
Path and name of network file |
Comment |
Comment on simulation |
Date |
Time of evaluation |
PTV Vissim |
Version number, service pack number, build number |
Table | Pedestrians In Network |
Column names |
Column headers and units |
Data block |
One row each with the number of the pedestrian for each simulation step and the attribute values The columns correspond to the sequence of the attributes in the selection. |
|
Notes:
|
Your selection of attributes determines which attribute values are included. You may also display these result attributes in the Pedestrians In Network list. For example, the following attributes may be included:
Attribute |
Definition |
---|---|
Current walking behavior |
Walking behavior of the pedestrian type When the walking behavior is area-based, it refers to the walking behavior of the area. |
Current destination number |
Number of construction element which is the destination |
Current destination type |
Type of construction element which is the destination |
Width |
Width of the pedestrian |
Level |
Number of level |
Pedestrian type |
Number of pedestrian type |
Distance traveled (total) |
Total distance traveled so far |
Time in network (total) |
The total time a pedestrian is in the network [s]. |
Speed |
Speed at the end of the time step |
Height |
Size of pedestrian [m] |
Construction element number |
Number of construction element |
Construction element type |
Type of construction element |
Length |
Height of pedestrian [m] |
Number |
Pedestrian number |
Start time |
Network entry time [simulation second ss,f], where f (fraction) is a two-digit number |
Start time (time of day) | Start time as time of day [hh:mm:ss,f], where f (fraction) is a two-digit number |
Simulation time (time of day) |
Simulation time as time of day [hh:mm:ss,f], where f (fraction) is a two-digit number |
Simulation second |
Simulation time in seconds [ss,f], where f (fraction) is a two-digit number |
Static route number |
Number of static pedestrian route |
Static routing decision number |
Number of static pedestrian routing decision |
Partial route number |
Number of pedestrian route (partial) |
Partial routing decision number |
Number of pedestrian partial routing decision |
Remaining distance |
Remaining distance (short length) to the next internal destination. If the next destination or intermediate destination is at the current level of the pedestrian, this is the distance to this destination or intermediate destination. If the next destination or intermediate destination is at another level, the value specifies the distance to the foot of the targeted stairways. |
Previous destination number |
Number of construction element that was the previous destination |
Distance to queue start |
Direct distance (short length) to the start of the current queue |
Queuing area number |
Number of the area in which the current queue is located. 0 = pedestrian is not in a queue |
Coordinates rear |
Coordinates (x), (y), (z) of the rear edge of the pedestrian at the end of the time step |
Coordinates front |
Coordinates (x), (y), (z) of the front edge of the pedestrian at the end of the time step |
Desired speed |
Desired speed [km/h] |
Time gains |
Time gain [s]: Total time gain is determined based on the time delay. The total time gain is determined only if the pedestrian is faster than desired. |
Time delays |
Time delay [s]: Total time delay is determined from the "time lost" per time step. This is determined from the difference between actual speed and desired speed if the pedestrian is slower than desired. Delays through using a detour are not taken into account in the delay. |
Public transport state |
Is the pedestrian waiting, is he alighting from the PT vehicle or walking towards it:
Instead of the attribute PT status, use the attribute Motion state, which allows you to record more motion states of pedestrians. You can continue to use existing data with the attribute PT status. |
Motion state | MotionState: The current motion state of a pedestrian shows for how long the pedestrian does a certain activity (Showing pedestrians in the network in a list). |
Pedestrian record example: file *.pp
$VISION
* File: C:\Users\Public\Documents\PTV Vision\PTV Vissim 2022\
Examples Training\Pedestrians\RiMEA\Rimea 0.inpx
* Comment:
* Date: 03.01.2023 12:23:33
* Application: PTV Vissim 2022.00-00* [238187]
*
* Table: Pedestrians In Network
*
*
* SIMSEC: SimSec, simulation second (simulation time [s]) [s]
* NO: No., Number (Unique number of the pedestrian)
* CONSTRELTYPE: ConstrElType, Construction element type
(Type of construction element, on which the pedestrian is located)
* CONSTRELNO: ConstrElNo, Construction element number
(Number of construction element, on which the pedestrian is located)
*
* SimSec;No;ConstrElType;ConstrElNo
* Simulation second;number;type of construction element;
Construction element number
*
$PEDESTRIAN:SIMSEC;NO;CONSTRELTYPE;CONSTRELNO
15.60;1;Area;1
15.70;1;Area;1
15.80;1;Area;1
15.90;1;Area;1
16.00;1;Area;1
16.10;1;Area;1
16.20;1;Area;1
16.30;1;Area;1
… …
Superordinate topic:
Configuring evaluations for direct output
Information on editing:
Using the Direct output function to save evaluation results to files