heavy_duty_transport

Main module for preparation of model data (static and timeseries) for heavy duty transport.

Contents of this module

  • Creation of DB tables

  • Download and preprocessing of vehicle registration data from BAST

  • Calculation of hydrogen demand based on a Voronoi distribution of counted truck traffic among NUTS 3 regions.

  • Writing results to DB

  • Mapping demand to H2 buses and writing to DB

class HeavyDutyTransport(dependencies)[source]

Bases: egon.data.datasets.Dataset

Class for preparation of static and timeseries data for heavy duty transport.

For more information see data documentation on Heavy-duty transport.

Dependencies
Resulting tables

Configuration

The config of this dataset can be found in datasets.yml in section mobility_hgv.

name: str = 'HeavyDutyTransport'
version: str = '0.0.2'
create_tables()[source]

Drops existing demand.egon_heavy_duty_transport_voronoi is extended table and creates new one.

download_hgv_data()[source]

Downloads BAST data.

The data is downloaded to file specified in datasets.yml in section mobility_hgv/original_data/sources/BAST/file.