-
Notifications
You must be signed in to change notification settings - Fork 45
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
Updated Grid RE and Emissions #628
base: develop
Are you sure you want to change the base?
Conversation
@@ -597,7 +598,7 @@ HTTP.register!(ROUTER, "POST", "/erp", erp) | |||
HTTP.register!(ROUTER, "POST", "/ghpghx", ghpghx) | |||
HTTP.register!(ROUTER, "GET", "/chp_defaults", chp_defaults) | |||
HTTP.register!(ROUTER, "GET", "/avert_emissions_profile", avert_emissions_profile) | |||
HTTP.register!(ROUTER, "GET", "/cambium_emissions_profile", cambium_emissions_profile) |
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.
What's the reason for changing this url? Would be better to avoid changing if not necessary
null=True, blank=True, | ||
help_text=( | ||
"Electricity consumption (incl. electric heating/cooling loads) that is derived from on-site renewable resource generation." | ||
"Calculated as total annual RE electric generation, minus storage losses and curtailment, with the user selecting whether exported renewable generation is included). " | ||
) | ||
) | ||
renewable_electricity_fraction = models.FloatField( |
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.
did you want to remove that from the help text before merging?
onsite_and_grid_renewable_electricity_fraction_of_elec_load_bau = models.FloatField( | ||
null=True, blank=True, | ||
help_text=( | ||
"Calculation is the same as onsite_renewable_electricity_fraction_of_elec_load, but additionally includes the renewable energy" |
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.
maybe these help texts should reference the bau versions instead, i.e. onsite_renewable_electricity_fraction_of_elec_load_bau here and onsite_renewable_energy_fraction_of_total_load_bau below
@@ -145,7 +145,8 @@ | |||
"emissions_factor_CO2_decrease_fraction": 0.01174, | |||
"emissions_factor_NOx_decrease_fraction": 0.01174, | |||
"emissions_factor_SO2_decrease_fraction": 0.01174, | |||
"emissions_factor_PM25_decrease_fraction": 0.01174 | |||
"emissions_factor_PM25_decrease_fraction": 0.01174, |
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.
add other new inputs (renewable_energy_fraction_series and include_grid_renewable_fraction_in_RE_constraints) to this post too?
@@ -53,7 +53,12 @@ | |||
"tess_ghx_minimum_timesteps_per_hour": 1, | |||
"max_sizing_iterations": 10, | |||
"init_sizing_factor_ft_per_peak_ton": 300.0, | |||
"heat_pump_configuration": "WWHP" | |||
"heat_pump_configuration": "WWHP", |
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.
what does this ghp stuff have to do with this PR?
validators=[ | ||
MinValueValidator(2023), | ||
MinValueValidator(2025), |
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.
Should we really not allow users to give a past year for this? What if we want to model a system that already exists to validate or something?
Inputs and outputs from:
Added
Changed