Commit 4854af0
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
| 313 | + | |
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
321 | | - | |
| 321 | + | |
322 | 322 | | |
323 | 323 | | |
324 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
| |||
0 commit comments