Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move calcualtion of CCS emission factors to build cost data #446

Open
trevorb1 opened this issue Oct 17, 2024 · 0 comments
Open

Move calcualtion of CCS emission factors to build cost data #446

trevorb1 opened this issue Oct 17, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@trevorb1
Copy link
Collaborator

Feature Request

The sector coupling side relies on using emission factor data from the costs.csv file. Having the calculation of emission factor CCS techs in add_extra_components.py means the calculation of emission factors is repeated in sector side.

It would probably make sense to do the calculation of CCS emission factors in build_cost_data to allow for downstream use.

if any("CCS" in carrier for carrier in carriers):
ccs_carriers = [carrier for carrier in carriers if "CCS" in carrier]
for ccs_carrier in ccs_carriers:
base_carrier = ccs_carrier.split("-")[0]
base_emissions = n.carriers.loc[base_carrier, "co2_emissions"]
ccs_level = int(ccs_carrier.split("-")[1].replace("CCS", ""))
ccs_emissions = (1 - ccs_level / 100) * base_emissions
n.carriers.loc[ccs_carrier, "co2_emissions"] = ccs_emissions

Suggested Solution

No response

Additional Info

Relates to issue #407

@trevorb1 trevorb1 added enhancement New feature or request good first issue Good for newcomers labels Oct 17, 2024
This was referenced Oct 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant