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

Merged
merged 144 commits into from
Feb 19, 2025
Merged

Add Grid Renewable Energy Fraction #426

merged 144 commits into from
Feb 19, 2025

Conversation

adfarth
Copy link
Collaborator

@adfarth adfarth commented Jul 26, 2024

Added

  • Add the following inputs to account for the clean or renewable energy fraction of grid-purchased electricity:
    • ElectricUtility cambium_cef_metric to utilize clean energy data from NREL's Cambium database
    • ElectricUtility renewable_energy_fraction_series to supply a custom grid clean or renewable energy scalar or series
    • Site include_grid_renewable_fraction_in_RE_constraints - to allow user to choose whether to include grid RE in min max constraints
  • Add input option optimize_soc_init_fraction (defaults to false) to ElectricStorage, which makes the optimization choose the inital SOC (equal to final SOC) instead of using soc_init_fraction. The initial SOC is also constrained to equal the final SOC, which eliminates the "free energy" issue. We currently do not fix SOC when soc_init_fraction is used because this has caused infeasibility.
  • Add the following outputs:
    • ElectricUtility annual_renewable_electricity_supplied_kwh
    • Site onsite_and_grid_renewable_electricity_fraction_of_elec_load
    • Site onsite_and_grid_renewable_energy_fraction_of_total_load
    • ElectricLoad annual_electric_load_with_thermal_conversions_kwh which calculates end-use electrical load after including electric consumption by heaters and chillers

Changed

  • Change name of the following inputs:
    • ElectricUtility input cambium_metric_col changed to cambium_co2_metric
  • Change name of the following outputs:
    • ElectricUtility cambium_emissions_region changed to cambium_region
    • Site annual_renewable_electricity_kwh changed to annual_onsite_renewable_electricity_kwh
    • Site renewable_electricity_fraction changed to onsite_renewable_electricity_fraction_of_elec_load
    • Site total_renewable_energy_fraction changed to onsite_renewable_energy_fraction_of_total_load
  • Changed name of function (also available as endpoint through REopt API) from cambium_emissions_profile to cambium_profile
  • Update AVERT emissions data to v4.3, which uses Regional Data Files for year 2023 for CONUS. For Alaska and Hawaii (regions AKGD, HIMS, HIOA), updated eGRID data to eGRID2022 datafile, adjusted to CO2e values. Emissions profiles are saved in data/emissions/AVERT_Data.
  • Update Cambium API call for CO2e emissions within CONUS to Cambium 2023 dataset. This includes updates to the default values and valid options for the following ElectricUtility inputs: cambium_scenario, cambium_location_type, and cambium_start_year
  • Update EMISSIONS_DECREASE_DEFAULTS from 0.02163 to 0.0459 based on Cambium
  • Update the Manifest.toml of REopt.jl using Julia v1.11.2 (Note, the only reason we include the Manifest.toml file in the REopt package's repo is because we're using an unregistered package GhpGhx.jl. Typically, packages only include the Project.toml file and not the Manifest.toml file.)
  • Make compat section of Project.toml file for Julia be the generic "1" instead of listing minor versions

Fixed

  • Make ElectricTariff export_rate_beyond_net_metering_limit and wholesale_rate with sub-hour time step work
  • Update the expression m[:AnnualEleckWh] to include electrified thermal loads
  • Update expressions m[AnnualREHeatkWh] and AnnualHeatkWh so that only non-electrified thermal loads are included and storage losses are proportional to the contribution of fuel-burning technologies to charging storage

@adfarth adfarth self-assigned this Jul 26, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
pypapus added 3 commits July 31, 2024 01:24

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was signed with the committer’s verified signature.
ilario-pierbattista Ilario Pierbattista

Verified

This commit was signed with the committer’s verified signature.
ilario-pierbattista Ilario Pierbattista
pypapus and others added 15 commits August 2, 2024 15:29

Verified

This commit was signed with the committer’s verified signature.
ilario-pierbattista Ilario Pierbattista
… grid electricity serving the load and charging the batteries.
…entage of load
…electricity serving the load and the batteries
…age when true
…idRE-dev
…n_profile() into one function
adfarth and others added 24 commits February 5, 2025 14:34
Reconcile total site load
@adfarth adfarth merged commit 608c4e9 into develop Feb 19, 2025
2 checks passed
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.

None yet

4 participants