Build Sector Coupled Network#

Rule build_sectors#

Generic module to add a new energy network.

Reads in the sector wildcard and will call corresponding scripts. In the future, it would be good to integrate this logic into snakemake

Rule build_natural_gas#

Module for adding the gas sector.

Description

This module will add a state level copperplate natural gas network to the model. Specifically, it will do the following

  • Adds state level natural gas buses

  • Converts exisitng OCGT and CCGT generators to links

  • Creates capacity constrained pipelines between state gas buses (links)

  • Creates capacity constraind natural gas processing facilites (generators)

  • Creates capacity and energy constrainted underground gas storage facilities

  • Creates energy constrained linepack storage (storage units)

  • Creates capacity constrained pipelines to states neighbouring the interconnect

  • Creates capacity and energy constrained import/exports to international connections

  • Adds import/export historical natural gas prices

Relevant Settings

sector:
  natural_gas:
    allow_imports_exports: true # only true implemented
    cyclic_storage: false

Inputs

  • n: pypsa.Network:
    • Network to add the natural gas network to. Note, the electrical network represntation should be done by this point.

  • year: int,
    • Year to extract natural gas data for. Must be between 2009 and 2022

  • api: str,
  • interconnect: str = “western”,
    • Name of interconnect. Must be in (“eastern”, “western”, “texas”, “usa”)

  • county_path: str
    • data/counties/cb_2020_us_county_500k.shp: County shapes in the USA

  • pipelines_path: str
    • EIA-StatetoStateCapacity_Jan2023.xlsx : State to state pipeline capacity from EIA

  • pipeline_shape_path: str:
    • pipelines.geojson at a National level

Outputs

  • pypsa.Network

Rule build_population_layout#

Builds mapping between cutout grid cells and population (total, urban, rural).

Relevant Settings

scope:

Inputs

  • data/counties/cb_2020_us_county_500k.shp: County shapes in the USA

  • data/population/DECENNIALDHC2020.P1-Data.csv: Population per county in the USA,

  • data/urbanization/DECENNIALDHC2020.H2-Data.csv: Urbanization rate per county in the USA

  • cutouts/" + CDIR + "{interconnect}_{cutout}.nc: : confer :ref:cutout

Outputs

  • resources/pop_layout_total.nc: total population by grid cell

  • resources/pop_layout_urban.nc: urban population by grid cell

  • resources/pop_layout_rural.nc: rural population by grid cell

Rule build_heat_demands#

Build heat demand time series using heating degree day (HDD) approximation.

Rule build_temperature_profiles#

Build time series for air and soil temperatures per clustered model region.