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 constants to plant module #273

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions powersimdata/network/usa_tamu/constants/plants.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,28 @@
}

label2type = {value: key for key, value in type2label.items()}

renewable_resources = {"solar", "wind", "wind_offshore"}
carbon_resources = {"coal", "ng", "dfo"}
clean_resources = renewable_resources | {"geothermal", "hydro", "nuclear"}
all_resources = carbon_resources | {"other"} | clean_resources


# MWh to metric tons of CO2
# Source: IPCC Special Report on Renewable Energy Sources and Climate Change
# Mitigation (2011), Annex II: Methodology, Table A.II.4, 50th percentile
# http://www.ipcc-wg3.de/report/IPCC_SRREN_Annex_II.pdf
carbon_per_mwh = {
"coal": 1001,
"dfo": 840,
"ng": 469,
}

# MMBTu of fuel per hour to metric tons of CO2 per hour
# Source: https://www.epa.gov/energy/greenhouse-gases-equivalencies-calculator-calculations-and-references
# = (Heat rate MMBTu/h) * (kg C/mmbtu) * (mass ratio CO2/C) / (kg to tonnes)
carbon_per_mmbtu = {
"coal": 26.05,
"dfo": 20.31,
"ng": 14.46,
}