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

Add Grid Renewable Energy Fraction #426

Draft
wants to merge 33 commits into
base: develop
Choose a base branch
from
Draft

Add Grid Renewable Energy Fraction #426

wants to merge 33 commits into from

Conversation

adfarth
Copy link
Collaborator

@adfarth adfarth commented Jul 26, 2024

TODOs:

  • Add a testset in runtests.jl that tests several scenarios against expected total RE fractions, and tests edge cases (ideas: with and without existing PV, with no credit for RE exports vs. with, with vs. without battery)
  • Allow users to apply an annual % increase to the clean_energy_fraction_series ?
  • Conditionally show this warning (only if an RE constraint is added @warn "No emissions reduction constraints added, as BAU emissions have not been calculated."

Nice to haves:

  • Combine cambium_emissions_profile() and cambium_clean_energy_fraction_profile() into one function that can be used for both emissions and clean energy fraction (just to reduce the amount of code)

@adfarth adfarth self-assigned this Jul 26, 2024
.gitignore Outdated Show resolved Hide resolved
src/core/electric_utility.jl Outdated Show resolved Hide resolved
src/core/electric_utility.jl Outdated Show resolved Hide resolved
src/core/electric_utility.jl Outdated Show resolved Hide resolved
src/core/electric_utility.jl Outdated Show resolved Hide resolved
src/core/electric_utility.jl Outdated Show resolved Hide resolved
src/core/reopt.jl Outdated Show resolved Hide resolved
src/core/scenario.jl Outdated Show resolved Hide resolved
src/core/scenario.jl Outdated Show resolved Hide resolved
src/core/bau_inputs.jl Outdated Show resolved Hide resolved
m[:AnnualEleckWh] = @expression(m,p.hours_per_time_step * (
# input electric load
sum(p.s.electric_load.loads_kw[ts] for ts in p.time_steps_with_grid)
+ sum(p.s.electric_load.critical_loads_kw[ts] for ts in p.time_steps_without_grid)
# tech electric loads
# tech electric loads #TODO: Uncomment?
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zolanaj is this something we could uncomment, or is it still a WIP?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants