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

update Cambium and AVERT attempt two #569

Merged
merged 4 commits into from
Mar 13, 2024
Merged

update Cambium and AVERT attempt two #569

merged 4 commits into from
Mar 13, 2024

Conversation

adfarth
Copy link
Collaborator

@adfarth adfarth commented Mar 13, 2024

This is version 2 of this PR, as the first one included conflicting migration files that could not be easily resolved.

Please check if the PR fulfills these requirements

  • CHANGELOG.md is updated
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)

Changed

  • Update to REopt.jl v0.41.0

  • Updated default fuel emissions factors from CO2 to CO2-equivalent (CO2e) values. In reoptjl/models.py, updated GeneratorInputs : emissions_factor_lb_CO2_per_gal from 22.51 to 22.58. And FUEL_DEFAULTS: emissions_factor_lb_CO2_per_mmbtu => Dict(
    "natural_gas"=>116.9 to 117.03,
    "landfill_bio_gas"=>114,8 to 115.38,
    "propane"=>138.6 to 139.16,
    "diesel_oil"=>163.1 to 163.61
    )

  • Changed default source for CO2 grid emissions values to NREL's Cambium 2022 Database (by default: CO2e, long-run marginal emissions rates levelized (averaged) over the analysis period, assuming start year 2024). Added new emissions inputs in ElectricUtilityInputs. Include option for user to use AVERT data for CO2 using co2_from_avert boolian.

  • Update electric_utility emissions_region to avert_emissions_region and distance_to_emissions_region_meters to distance_to_avert_emissions_region_meters.

Added

  • Added endpoint v3/cambium_emissions_profile to urls.py, views.py, http.jl to obtain Cambium emissions profile. Mainly for use in web tool.
  • Added fuel_renewable_energy_fraction input to ExistingBoilerInputs

Fixed

  • added missing wind outage outputs to list of multi dimentional outputs to transpose in process_results()

@adfarth adfarth changed the title all cambium changes except migrations and manifest update Cambium and AVERT attempt two Mar 13, 2024
@adfarth adfarth marked this pull request as ready for review March 13, 2024 17:48
@adfarth
Copy link
Collaborator Author

adfarth commented Mar 13, 2024

Merging with verbal approval from Bill.

@adfarth adfarth merged commit 25afabc into develop Mar 13, 2024
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

1 participant