CO2 limits miscount CCS and DAC: regional limits sum all atmosphere stores, the national limit ignores removals

Aperta
#896 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
54/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
databases

Direzione di ricerca

Start with workflow/scripts/opts/policy.py at add_regional_co2limit and workflow/scripts/prepare_network.py at add_co2limit; trace how regional atmosphere stores and the national Co2L constraint count emissions and removals. The issue proposes a test with one CCS plant and one DAC in each of two regions. Done means each tonne is counted once in the region where it is emitted or removed, and DAC removals affect the national cap.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug
Version Checks
  • This bug exists on the develop branch of PyPSA-USA.
The Issue

In electricity-only studies with co2: storage: true, neither CO2 limit accounts for CCS and DAC correctly. This is from reading the code; it has not been reproduced in a solved run.

Regional limits (REM). add_regional_co2limit adds the final level of every Store with "atmosphere" in its name to the left-hand side of each region's limit:

co2_atm = n.stores.loc[["atmosphere" in name for name in n.stores.index]]

The stores are not filtered by region. With dac: granularity: node or state, the vented CO2 of CCS plants and the removals of DAC and BECCS in every region are added to every region's limit. A removal in Texas relaxes the RGGI cap, and CCS venting in Texas tightens it.

The generator term of the same constraint misses the CCS plants altogether, because they sit on buses without region attributes (see the linked issue on regional constraints). Their vented CO2 enters only through the unfiltered atmosphere sum.

National limit (Co2L). add_co2limit is a PyPSA GlobalConstraint on the carrier attribute co2_emissions. It counts CCS generators through their carrier, which is right, but the atmosphere stores have the carrier co2 with zero emissions, so DAC removals are never credited. Under a national cap, DAC has no value.

Suggested Fix

Count each tonne once, in the region where it is emitted or removed: filter the atmosphere stores by the region of their node or state (and reject granularity: nation together with regional limits), and add the atmosphere stores to the national limit in place of the carrier term for CCS plants. A test with one CCS plant and one DAC in each of two regions would pin this down.

Lingua principale
Python
Stelle
154
Fork
58
Merge medio
3g 9h
PR unite (30g)
51

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di PyPSA/pypsa-usa

Tutte le issue di PyPSA/pypsa-usa

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.