-
Notifications
You must be signed in to change notification settings - Fork 21
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
base: develop
Are you sure you want to change the base?
Conversation
… grid electricity serving the load and charging the batteries.
…electricity serving the load and the batteries
…n_profile() into one function
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? |
There was a problem hiding this comment.
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?
@@ -356,7 +356,7 @@ function get_depreciation_schedule(p::REoptInputs, tech::Union{AbstractTech,Abst | |||
|
|||
federal_itc_fraction = 0.0 | |||
try | |||
federal_itc_fraction = tech.federal_itc_fraction | |||
federal_itc_fraction = tech.federal_itc_fraction # TODO: also check for total_itc_fraction as storage does not use federal_itc_fraction? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Bill-Becker this doesn't need to be part of this PR, but it looks like you updated this function to include storage. However, the storage itc input has a different name, so the warning below will always appear for storage and it looks like itc will be set to 0 in determining the storage depreciation schedule?
TODOs:
@warn "No emissions reduction constraints added, as BAU emissions have not been calculated."
Nice to haves:
cambium_emissions_profile()
andcambium_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)