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 color and label dictionaries to include default values for curtailments #366

Merged
merged 2 commits into from
Jan 6, 2021
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
12 changes: 12 additions & 0 deletions powersimdata/network/usa_tamu/constants/plants.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"other": "xkcd:melon",
"storage": "xkcd:orange",
"wind_offshore": "xkcd:teal",
"solar_curtailment": "xkcd:amber",
"wind_curtailment": "xkcd:green",
"wind_offshore_curtailment": "xkcd:teal",
}

type2label = {
Expand All @@ -26,6 +29,15 @@
"biomass": "Biomass",
"other": "Other",
"storage": "Storage",
"solar_curtailment": "Solar Curtailment",
"wind_curtailment": "Wind Curtailment",
"wind_offshore_curtailment": "Offshore Wind Curtailment",
}

type2hatchcolor = {
"solar_curtailment": "xkcd:grey",
"wind_curtailment": "xkcd:grey",
"wind_offshore_curtailment": "xkcd:grey",
}

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