The Psafe Module extends the scoring function of MATSim so that perceived safety rates are considered. As can be seen in Equation below, travel disutility now depends on time, distance (i.e., cost), and safety. The beta coefficient (
The MATSim Psafe Module repository contains:
- Psafe package: includes all the classes to extend the MATSim scoring so that perceived safety is considered.
- ScenarioAthens run package: contains the public class to run simulation experiments using the ScenarioAthens.
- ScenarioAthens: some toy scenarios developed for the city center of Athens for further experimentation.
The Module can be utilized for research and education purposes. A Getting Started document will be prepared soon.
Overall, perceived safety is an attribute of the links incuded in the network. The calculation of scores can be performed based on the tools uploaded in Perceived_Safety_Choices repository (a new version will be online soon).
To incorporate perceived safety, a threshold level is established, where safety ratings below the threshold decrease trip utility and vice versa. Perceived safety values are then multiplied by the ratio of the distance of each link to the distance threshold (
where:
It is Maven project; all dependencies are included in the pom.xml file. MATSim is a major dependency that should be installed.
The tools contained in this repository were developed within various research project of Laboratory of Transportation Engineering of National Technical University of Athens.
When referencing the contrib, please use the following papers:
Tzouras, P.G., Mitropoulos, L., Karolemeas, C., Stravropoulou, E., Vlahogianni, E.I., Kepaptsoglou, K., 2024. Agent-based simulation model of micro-mobility trips in heterogeneous and perceived unsafe road environments. Journal of Cycling and Micromobility Research 2, 100042. [https://doi.org/10.1016/j.jcmr.2024.100042]