bus

The central module containing all code dealing with the hydrogen buses

In this module, the functions allowing to create the H2 buses in Germany for eTraGo are to be found. The H2 buses in the neighbouring countries (only present in eGon100RE) are defined in pypsaeursec. In both scenarios, there are two types of H2 buses in Germany:

  • H2 buses: defined in insert_H2_buses_from_CH4_grid(), these buses are located at the places than the CH4 buses.

  • H2_saltcavern buses: defined in insert_H2_buses_from_saltcavern(), these buses are located at the intersection of AC buses and potential for H2 saltcavern.

insert_H2_buses_from_saltcavern(gdf, carrier, sources, targets, scn_name)[source]

Insert the H2 buses based on saltcavern locations into the database.

These buses are located at the intersection of AC buses and potential for H2 saltcavern.

Parameters:
  • gdf (geopandas.GeoDataFrame) – GeoDataFrame containing the empty bus data.

  • carrier (str) – Name of the carrier.

  • sources (DatasetSources) – Sources schema and table information.

  • targets (DatasetTargets) – Target schema and table information.

  • scn_name (str) – Name of the scenario.

Returns:

None

insert_hydrogen_buses(scn_name)[source]

Insert hydrogen buses into the database. Location of H2_buses are based on grid nodes of Wasserstoffkernnetz published by FNB-GAS and the location of saltcaverns in germany.

Parameters:

scn_name (str) – Name of scenario