Skip to main content

Simulate Transit Distance After Pedestrianization (STDAP)

Supply and Demand based pedestrianization, moving bus-stops accordingly

This package simulates the effects of pedestrianization upon the average distance to transit stops in Dutch cities. Pedestrianization can be performed based on the population and the number of interesting destinations nearby. Bus stops can be moved by either moving them to the nearest valid location, or by completely redesigning the bus-network. This package is build to be capable of large scale simulations in a reasonable time frame. Simulations can be run from the provided gui, or in Python code directly.

Features

  • Highly scalable simulations
  • Great visualization of results
  • Highly configurable

Getting started

The package can be used to simulate pedestrianization in the following way:

from STDAP.core.main_class import Simulator
sim = Simulator(datasets)
city_options = sim.get_cities()
sim.choose_city(city_name)
### Run a single pedestrianization for detailed results.
sim.Sim_trans_dist_single(percentage, options)
### Simulate for a range of pedestrianization percentages for fast results.
sim.Sim_trans_dist_single(start, stop, count, options)

Datasets can be downloaded from the Dutch Central Bureau of Statistics (CBS).

The dashboard gui can be started with the following code:

from STDAP.gui.dashboard import show_dashboard
show_dashboard()

A more detailed manual is available on the GitHub page (see Project links).

Configuration

The package is designed to be highly configurable. This can be done easily with the settings class.

from STDAP.config.settings import get_settings 
settings = get_settings()
settings.parameter = value

Configurable parameters and their default values can be obtained with the describe method:

print(settings.describe())

Metadata

Release files for STDAP 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for STDAP 1.0.4
File Size Uploaded
stdap-1.0.4.tar.gz 35.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for STDAP 1.0.4
File Interpreter ABI Platform
stdap-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 73.0 kB

Release files / stdap-1.0.4.tar.gz

Download URL stdap-1.0.4.tar.gz
Size 35.4 kB
Tags Source
SHA-256 checksum
How to use checksums
91c05cf8be3c1d489d73771fbe0fbb1fbd86410a731a7e883cb8839569a7b2ec
BLAKE2b-256 checksum
How to use checksums
fa056ebef4ee9807b86df7e7d25a4b59b84a8accc55cc524179e4b23353c5a0e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release files / stdap-1.0.4-py3-none-any.whl

Download URL stdap-1.0.4-py3-none-any.whl
Size 37.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
603823af9fd50c4af8c65754121d12df9565868a86b56aa219fb85fa94dbb724
BLAKE2b-256 checksum
How to use checksums
f95a598e5f9df701a09c66df0de6134a26c47d681061686a1a26e08c98cff098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page