eGon100RE

Module containing code dealing with crossbording gas pipelines for eGon100RE

In this module the crossbordering pipelines for H2 and CH4, exclusively between Germany and its neighbouring countries, in eGon100RE are defined and inserted in the database.

Dependecies (pipeline)

  • dataset:PypsaEurSec, GasNodesandPipes, HydrogenBusEtrago,

    ElectricalNeighbours

Resulting tables

  • grid.egon_etrago_link is completed
calculate_crossbordering_gas_grid_capacities_eGon100RE(cap_DE, DE_pipe_capacities_list)[source]

Attribute gas crossbordering grid capacities for eGon100RE

This function attributes to each crossbordering pipeline (H2 and CH4) between Germany and its neighbouring countries its capacity.

Parameters:
  • cap_DE (pandas.DataFrame) – List of the H2 and CH4 exchange capacity for each neighbouring country of Germany.
  • DE_pipe_capacities_list (pandas.DataFrame) – List of the crossbordering for H2 and CH4 pipelines between Germany and its neighbouring countries in eGon100RE, with geometry (geom and topo) but no capacity.
Returns:

Crossbordering_pipe_capacities_list (pandas.DataFrame) – List of the crossbordering H2 and CH4 pipelines between Germany and its neighbouring countries in eGon100RE.

define_DE_crossbording_pipes_geom_eGon100RE(scn_name='eGon100RE')[source]

Define the missing crossbordering gas pipelines in eGon100RE

This function defines the crossbordering pipelines (for H2 and CH4) between Germany and its neighbouring countries. These pipelines are defined as links and there are copied from the corresponding CH4 crossbering pipelines from eGon2035.

Parameters:scn_name (str) – Name of the scenario
Returns:gas_pipelines_list_DE (pandas.DataFrame) – List of the crossbordering H2 and CH4 pipelines between Germany and its neighbouring countries in eGon100RE, with geometry (geom and topo) but no capacity.
insert_gas_neigbours_eGon100RE()[source]

Insert missing gas crossbordering grid capacities for eGon100RE

This function insert the crossbordering pipelines for H2 and CH4, exclusively between Germany and its neighbouring countries, for eGon100RE in the database by executing the following steps:

  • call of the the function define_DE_crossbording_pipes_geom_eGon100RE(), that defines the crossbordering pipelines (H2 and CH4) between Germany and its neighbouring countries
  • call of the the function read_DE_crossbordering_cap_from_pes(), that calculates the crossbordering total exchange capactities for H2 and CH4 between Germany and its neighbouring countries based on the pypsa-eur-sec results
  • call of the the function calculate_crossbordering_gas_grid_capacities_eGon100RE(), that attributes to each crossbordering pipeline (H2 and CH4) between Germany and its neighbouring countries its capacity
  • insertion of the H2 and CH4 pipelines between Germany and its neighbouring countries in the database with function insert_gas_grid_capacities()
Returns:None
read_DE_crossbordering_cap_from_pes()[source]

Read gas pipelines crossbordering capacities from pes run

This function calculates the crossbordering total exchange capactities for H2 and CH4 between Germany and its neighbouring countries based on the pypsa-eur-sec results.

Returns:DE_pipe_capacities_list (pandas.DataFrame) – List of the H2 and CH4 exchange capacity for each neighbouring country of Germany.