Skip to content

Commit 4854af0

Browse files
refac: only use power sector emissions for B2 and B4 indicators in CBA (#709)
* refac: use power emissions only in B2 and B4 indicators * feat: change sign of `B2a_co2_variation` to negative * feat: flip sign of b4 indicators * docs: add #709 to doc/release_notes * docs: add #709 to doc/index * refac: remove functions * refac: move `factors_by_fuel` outside of loops * refac: calculate electricity producing assets once inside of main instead of once per indicator * docs: update docstrings for functions * refac: condense calculate_power_sector_co2_emissions; update mocksnakemake for debugging * refac: create generalized function to calculate ac energy balance * refac: change b4 indicator calculation to use `get_ac_energy_balance()` * chore: update comments * refac: remove `groupby_time="sum"` Co-authored-by: lisazeyen <35347358+lisazeyen@users.noreply.github.com> --------- Co-authored-by: lisazeyen <35347358+lisazeyen@users.noreply.github.com>
1 parent 7bbee74 commit 4854af0

3 files changed

Lines changed: 321 additions & 71 deletions

File tree

doc/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,15 +310,15 @@ While multiple TYNDP features are already introduced to the Open-TYNDP model, th
310310
- ✅
311311
* -
312312
- B2: CO₂ Variation with societal costs
313-
- `#348 <https://github.com/open-energy-transition/open-tyndp/pull/348>`__
313+
- `#348 <https://github.com/open-energy-transition/open-tyndp/pull/348>`__, `#709 <https://github.com/open-energy-transition/open-tyndp/pull/709>`__
314314
- ✅
315315
* -
316316
- B3: DRES Integration (curtailment reduction)
317317
- `#350 <https://github.com/open-energy-transition/open-tyndp/pull/350>`__
318318
- ✅
319319
* -
320320
- B4: Non-CO₂ Emissions (NOx, SOx, PM2.5/10, NMVOC, NH₃)
321-
- `#398 <https://github.com/open-energy-transition/open-tyndp/pull/398>`__
321+
- `#398 <https://github.com/open-energy-transition/open-tyndp/pull/398>`__, `#709 <https://github.com/open-energy-transition/open-tyndp/pull/709>`__
322322
- ✅
323323
* -
324324
- B5: Grid Losses, B6: Adequacy, B7: Flexibility, B8: Stability, B9: Reserves reduction

doc/release_notes.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ Upcoming Open-TYNDP Release
2525

2626
* Update pixi task names and definitions to align between SB and CBA workflows (https://github.com/open-energy-transition/open-tyndp/pull/735).
2727

28+
* Use only electricity-sourced emissions for and and change signs of B2 and B4 indicators (https://github.com/open-energy-transition/open-tyndp/pull/709).
29+
2830
**Bugfixes and Compatibility**
2931

3032
**Documentation**

0 commit comments

Comments
 (0)