PTV, one of the market leader in software solutions for traffic and transportation planning, regularly organises the so-called Innovation Days. The aim of those events is to provide the users of their software products a forum to broaden and share their transportation knowledge and modelling expertise.
We took the opportunity to present our software pipeline to create Virtual Reality application using Vissim at the PTV Innovation Day in Singapore on the 22th of July 2016. The slide of our presentation titled Using Vissim for Virtual Reality Applications to Evaluate Active Mobility Solutions can be found here. It was great to see and hear that the presentation was well received as Alastair Evanson, Solution Director at PTV Vissim & Vistro at PTV Group, noted:
“The use of PTV Vissim in their project Engaging Active Mobility, which models and visualises streetscape designs to understand people’s preferences to cycle infrastructure, is just the sort of innovative application that we at PTV like to see our software being used for. The audience at the event found it a very interesting subject and PTV look forward to further co-ordinating on the topic to enhance the application of PTV Vissim in allowing people to ‘experience’ proposed designs through interacting with micro-simulation models in virtual/ augmented reality.”
Click here to access the slides of the presentation.
With this blog post, we also would like to summarise the other interesting presentations at the event and share the respective slides.
The growing importance of multimodal traffic simulations
As transport and urban planners around the world consider cycling as an important mode of transport in the urban mobility mix, there is also a growing interest in software tools to support the planning of cycling infrastructure. While macroscopic transport demand models are commonly used to estimate future travel demand and loadings on a network level, microscopic traffic simulation software packages are a widely used for traffic engineering, e.g. to evaluate the performance of different street and intersection designs or traffic signal plans. While those models originally have been developed to model motorised individual traffic and public transport, more recently researchers and practitioners started to adapt those model to also feature active transport modes.
Limits of current microsimulation tools
The current traffic microsimulation software packages such as PTV Vissim, Caliper Transmodeller, Sumo or TSS Aimsun offer great possibilities to model complex but realistic multi-modal traffic situations and some of them also offer remarkable 3d visualisation features to communicate different planning scenarios to a non-technical audience. However, when it comes to the representation of cycling and shared space situations, there are also quite a few limitations.
Heather Twaddle, a researcher at TU Munich an here colleagues recently reviewed existing approaches (Twaddle et al. 2014) for modelling cycling behaviour in traffic microsimulations. While some of the existing software packages allow to model cyclists using the same behaviour models as for motor vehicle traffic, simply adapting the parameters of the vehicle behaviour models to reflect the lower speeds of bicycles does not work for all conditions. Since there exist several unique characteristics that are difficult or impossible to represent with such models, researchers have investigated in adapting car following models, cellular automata and the social force model to better fit the behaviour of cyclist.
However, for our research project that investigates our street design impacts the propensity for cycling, we are also interested in the simulation of mixed traffic conditions on shared spaces or sidewalks that include both space for pedestrians and cyclists.
While simulating two traffic flows (whatever if pedestrians, bicycles or cars) crossing with a sufficient angle can be easily modelled by specifying a conflict area (Figure 1) or a priority rule, the correct representation of interactions lengthwise (with an angle equal to 0 or 180) is very challenging.
To explore what can already be achieved by adapting the behavioural parameters of Vissim’s standard simulation models, we have done some tests. The basis for all tested scenarios is the same: we want to simulate pedestrians and bicycles sharing a narrow path of about 3m width (about 5m for scenario 3). The number of pedestrians and cyclists is proportional to the lane width and therefore the density is the same in all scenarios.
Pedestrians as small vehicles
In Vissim, there exist the possibility to simulate a pedestrian as a car. The advantage is, that pedestrians are recognized by cars and therefore, interactions are automatically generated. Logically, pedestrians behave also like a vehicle. They follow and overtake each other along defined lanes, which of course is not very realistic.
Figure 2 shows an extreme case, where two links with one lane each are created. If no rules are applied, pedestrians would just walk in middle of the lane, making an overtaking for cyclists difficult. Thus, the driving behaviour should be adapted such as pedestrians prefer to walk on the left. As a result, the observable behaviour resembles to a highway, where slow cars are driving on the sides (pedestrians) and fast cars are overtaking in the middle (bicycles).
Of course we were not satisfied with this setting. In Scenario 2, we tried to improve the driving behaviours, creating 2 links with 2 lanes each and assigning pedestrians and bicycles randomly to a lane (Figure 3). In addition, a possibility to overtake on the opposite lane was implemented and the width of the lanes reduced to the minimum, just enough that pedestrians and bicycle do not touch each other while overtaking. However, as a result bicycles are jammed behind slower pedestrians very frequently.
In Scenario 3 with two links and 6 lanes (3D perspective of a cyclist), the number of lanes were augmented to 6 (3 for each direction) in order to allow more flexibility and, therefore, reduce jam (Figure 4). All in all, this setting creates the most realistic interaction between bicycles and pedestrians if pedestrians are simulated in the car-following model.
However, when modelling pedestrians as (tiny) vehicles, there always remains one issue: Because of the infrastructure constraints, the flows are segregated in two directions. This do not correspond to the reality, why we tried another approach.
Having said that, scenario 3 could also be simulated as two 2.5m cycle lanes with free overtaking. The problem in this case is that pedestrians behave very strange and conduct nervous overtaking actions.
Bicycles as big pedestrians
In order to avoid the very mechanical and automated behaviour of pedestrians, we were thinking about inverting the rules: let’s simulate the bicycles as pedestrians!
To this end, the work is done with PTV Viswalk, an add-on module of PTV Vissim. PTV Viswalk is mainly used for modelling railway stations, capacity planning, safety concepts or evacuation analysis and is based on the idea of the social force model.
For this scenario, we just adapted the behavioural parameters of those pedestrians that represent cyclists and used a bicycle 3D model for their visual representation. As Figure 5 shows, the pedestrians are walking more randomly on the assigned surface and there are no clear (directional) flows observable.
We adapted the behavioural parameters of pedestrians and bicycles as follows:
Tau: The greater this value, the lower is the acceleration strength and therefore, the time to reach the desired speed is increased. Tau should be lower for pedestrians than for cyclists.
React to n: It is important that the number of considered n is low for bicycles. This yields to a smoother trajectory of the cyclists.
VD: Increasing VD for pedestrians provoke a greater reject effect from the cyclists (and other pedestrians).
Noise: In order to avoid a deadlock between two cyclists, this value should be greater than the default value (1.2).
Grid size: Since we do not have to deal with surfaces, but with narrow on long paths, the grid size has only a moderate influence.
Even if the bidirectional flows are much more realistic than with the strategy ‘pedestrians as little cars’, the main issue with this approach remains the very late reaction of pedestrians or bicycles to other agents. In reality, especially cyclists would react much earlier if another cyclist is approaching in opposite direction. Instead, the reaction occurs very late, only few meters before the collision (Figure 6). Hence, the cyclists should have a main force influencing the pedestrians and other bicycles much further ahead.
An adaptation of the 3D Model of bicycles is also needed, because the legs of the cyclists are always moving at constant (fast) speed, even if they stop, making them look like a nervous insect.
Last but not least, the bicycles cannot be simulated anymore with car traffic (e. g. bicycle lane in parts on sidewalks and road). This restriction leads to problems, especially if you plan to simulate a whole network, where a cycle lane merges in a shared space.
We have also a youtube video resuming the main aspects of this article.
Since possibilities to simulate a proper interaction between pedestrians and bicycles on a narrow path in Vissim are limited, further research work is needed. One of the most promising approach is shown by a group of researcher s around Prof. Dr. Martin Fellendorf from the Graz University of Technology in Austria. They propose to extend the Social Force model to vehicles in order to model shared including all vehicle and pedestrian types. The so called Social Force based Vehicle Model was presented at the Transport Research Board Conference in 2012. The methodology, explained in this paper, features a multiple model architecture including an Infrastructure Model (shared spaces without spatial separation), Operational Model (Social Force Model with added vehicle dynamics) and Tactical Model (conflict detection and handling using game theory).
Liang, Mao & Xu proposed in 2012 the psychological-physical force model, an adaption of the social force model which represents the cyclists as ellipses and utilizes two regimes, free flow traffic and congested traffic, to model bicycle traffic. While the model generated realistic results for traffic flow on separated cycling lane, the model has not been tested for mixed traffic conditions.
Bani Anvari and her colleagues presented in 2015 the development of new three-layered mathematical model for heterogeneous agents (vehicles and pedestrians) in a shared space environment with single surface pavements, no lane discipline and identical priority for all road users.
Another, more straightforward approach to model shared spaces was proposed by traffic engineer Stuart Gibb in 2015. He only focussed on the interactions between pedestrians and cars. The innovative idea is to replace the cars with groups of closely-packed dummy pedestrians, so that the real pedestrians recognise the vehicles and walk around them instead of simply cross them. In order to recognise precisely where the vehicle stands and replace it with dummies, a fine-meshed grid must be created. In addition, priority rules, links, detectors, pedestrian areas and pedestrian routes have to be built. Kindly, he shared his code that directly implements this approach through Vissim’s COM interface in this report.
Implementing a new behavioural model as the magic bullet?
As already mentioned, a realistic simulation of pedestrians and bicycles interactions on narrow paths is challenging to reproduce using out-of-the-box Vissim, and probably in all other traffic microsimulation tools.
Our tests were of course quite basic as they only tested how Vissim can be configured to simulate mixed traffic conditions between pedestrians and cyclists without actually changing exsting behavioural models. But it became clear that the results or not very satisfying and that there is a need for implementing a new behavioural model to simulate traffic on paths that are shared among pedestrians and cyclists, but also shared space situations in general.
Therefore, we also join the race to develop models and code for simulating such situations. This will ultimately allow us to combine it with parametric 3D models and create interactive Virtual Reality scenarios of shared urban. We are looking forward to work on this quest, stay tuned!