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:

insert_H2_buses_from_CH4_grid(gdf, carrier, target, scn_name)[source]

Insert the H2 buses based on CH4 grid into the database.

At each CH4 location, in other words at each intersection of the CH4 grid, a H2 bus is created.

Parameters:
  • gdf (geopandas.GeoDataFrame) – GeoDataFrame containing the empty bus data.
  • carrier (str) – Name of the carrier.
  • target (dict) – Target schema and table information.
  • scn_name (str) – Name of the scenario.
insert_H2_buses_from_saltcavern(gdf, carrier, sources, target, scn_name)[source]

Insert the H2 buses based 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 (dict) – Sources schema and table information.
  • target (dict) – Target schema and table information.
  • scn_name (str) – Name of the scenario.
insert_hydrogen_buses(scenario='eGon2035')[source]

Insert hydrogen buses into the database (in etrago table)

Hydrogen buses are inserted into the database using the functions:
Parameters:scenario (str, optional) – Name of the scenario, the default is ‘eGon2035’.
insert_hydrogen_buses_eGon100RE()[source]

Copy H2 buses from the eGon2035 to the eGon100RE scenario.