Skip to content

Commit

Permalink
Minor edits to MSW
Browse files Browse the repository at this point in the history
  • Loading branch information
millingermarkus committed Jul 4, 2024
1 parent c81d208 commit fbacb76
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/config.default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,6 @@ biomass:
- Secondary Forestry residues - woodchips
- Sawdust
- Residues from landscape care
- Municipal waste
not included:
- Sugar from sugar beet
- Rape seed
Expand All @@ -379,6 +378,8 @@ biomass:
biogas:
- Manure solid, liquid
- Sludge
municipal solid waste:
- Municipal waste

# docs in https://pypsa-eur.readthedocs.io/en/latest/configuration.html#solar-thermal
solar_thermal:
Expand Down Expand Up @@ -1017,6 +1018,7 @@ plotting:
biogas: '#e3d37d'
biomass: '#baa741'
solid biomass: '#baa741'
municipal solid waste: '#91ba41'
solid biomass transport: '#baa741'
solid biomass for industry: '#7a6d26'
solid biomass for industry CC: '#47411c'
Expand Down
12 changes: 12 additions & 0 deletions scripts/prepare_sector_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def define_spatial(nodes, options):
# biomass

spatial.biomass = SimpleNamespace()
spatial.msw = SimpleNamespace()

if options.get("biomass_spatial", options["biomass_transport"]):
spatial.biomass.nodes = nodes + " solid biomass"
Expand Down Expand Up @@ -3110,6 +3111,17 @@ def add_industry(n, costs):
efficiency3=process_co2_per_naphtha,
)

if options.get("biomass",True):
n.madd(
"Link",
spatial.msw.locations,
bus0=spatial.msw.nodes,
bus1=non_sequestered_hvc_locations,
carrier="municipal solid waste",
p_nom_extendable=True,
efficiency=1.,
)

n.madd(
"Link",
spatial.oil.demand_locations,
Expand Down

0 comments on commit fbacb76

Please sign in to comment.