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

Plot functions for Cortes et al #12

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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 cortes_et_al_2023/plots/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Plots

This folder contains all files needed to reproduce the figures from the manuscript text.
Here are descriptions of all the files.

- `formatted_raw_data.csv`: .csv file containing raw data about each LMP signal including signal statistics, hydrogen price, natural gas price, and optimal annual profit results.
- `ies_model_library.py`: Contains objects for each system concept with their surrogate equations. The parent class contains a function to replicate marginal cost plots from the manuscript.
- `iessolution.py`: Contains code to save model solutions as an object and use the data to create plots and .csv files. This file contains code to plot histograms of the LMP signals as well as plots of the dispatch schedules for individual model solutions.
- `plot_signal_comparisons.py`: Contains functions needed to plot comparisons between all cases. This includes Figure's 3-5 from the main text of the manuscript.
- `linear_regression.py`: Contains functions needed to perform linear regression and generate plots (parity plots, feature correlation).
- 'plot_paper_figures.py`: A script that reproduces each figure from the main text and SI of the manuscript. All images are saved in the 'figures' folder and saved as their figure number.
- `plot_examples.ipynb`: Notebook containing examples of each plot and details on how to generate them.
306 changes: 306 additions & 0 deletions cortes_et_al_2023/plots/formatted_raw_data.csv

Large diffs are not rendered by default.

1,386 changes: 1,386 additions & 0 deletions cortes_et_al_2023/plots/ies_model_library.py

Large diffs are not rendered by default.

1,155 changes: 1,155 additions & 0 deletions cortes_et_al_2023/plots/iessolution.py

Large diffs are not rendered by default.

Loading