Jupyter notebook and Python code for post processing of PCWG-Share-03
Python 3; specific libraries are listed in requirements.txt
- Excel files from the PCWG analysis tool (to be converted to
pkl
files in the code) - pdm_example.xls: input file for plotting a power deviation matrix as an example
demo
notebook: generates plots in the manuscript, and
additional plots for referencepcwg03_config
: lists strings/constants used in other code that are not supposed to change frequentlydata_file_path
- requires user input, the file path containing the Excel files generated from the PCWG analysis toolsave_fig
- requires user input, determines whether the code outputs figures as png/pdf files or not
pcwg03_convert_df
: converts data in Excel file into Pandas data framespcwg03_energy_fraction
: calculates energy fractions from data counts and error valuespcwg03_initialize
: sets up the analysis environmentpcwg03_plot
: contains all the plotting functionspcwg03_read_data
: reads in Excel datapcwg03_slice_df
: contains all the data analysis and statistics functions
Follow the demo
Jupyter notebook
- Joseph C. Y. Lee, NREL
- Peter Stuart, RES
- Andrew Clifton, Stuttgart Wind Energy
- M. Jason Fields, NREL
- Jordan Perr-Sauer, NREL
- Lindy Williams, NREL
- Lee Cameron, RES
- Taylor Geer, DNV GL
- Paul Housley, SSE plc