perceived_safety_choices

The model that has been uploaded to this repository aspires to describe routing behavior of micro-mobility modes, e.g., e-bikes and e-scooters, in relationship with traditional modes, e.g., private car and walking.

https://github.com/panosgjuras/perceived_safety_choices

Science Score: 57.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 8 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (12.1%) to scientific vocabulary

Keywords

choice-modeling micromobility spatial-analysis transportation-planning
Last synced: 6 months ago · JSON representation ·

Repository

The model that has been uploaded to this repository aspires to describe routing behavior of micro-mobility modes, e.g., e-bikes and e-scooters, in relationship with traditional modes, e.g., private car and walking.

Basic Info
  • Host: GitHub
  • Owner: panosgjuras
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 211 MB
Statistics
  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Topics
choice-modeling micromobility spatial-analysis transportation-planning
Created over 3 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

The PERCEIVED SAFETY CHOICES model

While safety seems to be a significant factor when choosing to use these new modes, this model utilizes the notion of perceived safety to model travel behavior in inner urban areas. Therefore, the developed model is built on the hypothesis that perceived safety affects travel behavior of micro-mobility services users and is related to road environment. It combines ordinal logistic regression model, which predict perceived safety in different road environments using a 7-point Likert Scale, with discrete choice or simulation models which simulate the mode/route choices. The input variable is the road network which consists of links and nodes. The conceptual model of the Perceivedsafetychoices is presented below:

The different functions of the model are parametric to take into account variations in "tastes" among individuals by proposing advance modeling techniques. All the parametric can be calibrated by collecting data related to safety perceptions considering various road environments with mixed traffic conditions and first/last mile mode/route choices in each urban area that are used. The repository contains example datasets and default models that can be used.

Based on this concept, the Perceivedsafetychoices proposes some tools in order to investigate the overall impact of perceived safety on travel behavior, transport equity and transport system sustainability. There is a continuous development of these tools by the NTUA research team and external partners who still commit.

The Perceivedsafetychoices repository contains: - Psafechoice: contains tools to import a shapefile with the links and nodes, estimate traffic parameters and perceived safety per link, export csv and xml files for further analysis and a routing model based on Value-of-Safety and new algorithms that define the shortest, fastest and safest path per transport mode. - empirical: contains advance modeling techniques based on PandasBiogeme and Rchoice package to compute first/last mile route/mode choice models.

The jupyter notebook of scenario_athens gives analytical guidelines how some of the developed functions can be used. It considers an example scenario developed in Athens, Greece.

Lastly, Perceivedsafetychoices creates a path to combine agent-based transport modeling and MATSim with spatial analysis and GIS tools. The contribution in MATSim framework have been developed and can be found: Psafe module. In essence, it is an updated version of Bicycle Module following a more universal approach fully based on perceived safety parameter and covering all first/last mile modes. A randomized marginal utility for the perceived safety parameter is applied in this model. The model is firstly tested using the experimental scenario in Athens.

To install the PsafeChoices package (ONLY) please type: bash pip install git+https://github.com/panosgjuras/Perceived_safety_choices Requirements are contained in the: requirement.txt. It may require the creation of a new virtual environment as the tools can be used using python 3.10.

The research findings obtained using the tools in this package are documented in the following published papers:

Karakitsou, E., Tzouras, P.G., Chatiziioannou, I., Kepaptsoglou, K., 2025. A first investigation of perceived safety patterns in Athens, Greece. Transportation Research Procedia 90, 210–217. https://doi.org/10.1016/j.trpro.2025.06.060

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]

Tzouras, P.G., Pastia, V., Kaparias, I., Kepaptsoglou, K., 2024. Exploring the effect of perceived safety in first/last mile mode choices. Transportation. [https://doi.org/10.1007/s11116-024-10487-4]

Tzouras, P.G., Mitropoulos, L., Koliou, K., Stavropoulou, E., Karolemeas, C., Antoniou, E., Karaloulis, A., Mitropoulos, K., Vlahogianni, E.I., Kepaptsoglou, K., 2023. Describing Micro-Mobility First/Last-Mile Routing Behavior in Urban Road Networks through a Novel Modeling Approach. Sustainability 15, 3095. [https://doi.org/10.3390/su15043095]

Owner

  • Login: panosgjuras
  • Kind: user
  • Location: Athens
  • Company: National Techical University of Athens

Citation (CITATION.cff)

cff-version: 1.0.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Tzouras
    given-names: Panagiotis G.
    orcid: 
title: "The Perceived Safety Choice"
version: 1.0.2
url: "https://github.com/panosgjuras/Perceived_safety_choices"
date-released: 2025-06-26

GitHub Events

Total
  • Delete event: 1
  • Public event: 1
  • Push event: 41
  • Pull request event: 5
  • Create event: 2
Last Year
  • Delete event: 1
  • Public event: 1
  • Push event: 41
  • Pull request event: 5
  • Create event: 2

Dependencies

requirements.txt pypi
  • biogeme ==3.2.10
  • dijkstra ==0.2.1
  • lxml ==4.9.1
  • numpy ==1.23.3
  • pandas ==1.5.0
  • pyshp ==2.3.1
setup.py pypi
  • biogeme >=3.2.10
  • dijkstra >=0.2.1
  • lxml >=4.9.1
  • numpy >=1.23.3
  • pandas >=1.5.0
  • pyshp >=2.3.1