Skip to content

Conversation

@GregoryKimball
Copy link
Collaborator

This request adds a jupyter notebook and a "docs" folder to the repository. PVLIB uses a similar structure to provide tutorials to the functionality.

@GregoryKimball
Copy link
Collaborator Author

This pull request may address issue #10
[Provide usage examples #10 ]

Added comments, updated plots for readability and changed the
downsampling method in step 1
@mdeceglie mdeceglie requested a review from abshinn April 20, 2017 22:44
@mdeceglie
Copy link
Collaborator

@GregoryKimball I made a few minor changes, please take a look and make sure they look good to you.

@mdeceglie
Copy link
Collaborator

This is a great start to illustrate the workflow. Let's make sure to keep it updated as we build out the tools.

@GregoryKimball
Copy link
Collaborator Author

GregoryKimball commented Apr 20, 2017

Thank you for improving the notebook.

I added a centering step so that the data is initially centered around 1 before the analysis begins. I recommend doing the centering step between filtering and analysis to prevent outliers from off-centering the data.

@mdeceglie
Copy link
Collaborator

Thanks for illustrating the centering step. I suggest it might be more general and readable to use DataFrame.rolling().median()

@GregoryKimball
Copy link
Collaborator Author

GregoryKimball commented Apr 21, 2017

I did some experimenting with DataFrame.rolling(), but for sites with seasonality in the performance metric (i.e. a lot of them), I think the DataFrame.resample('12M).median().max() may be more appropriate.

@cdeline
Copy link
Collaborator

cdeline commented May 19, 2017

I reviewed this branch, and really like it. I think it's important to get some usage examples up quickly, and this is a great start. The fact that the Kyocera system isn't a clean dataset may lead to issues - e.g. -8% per year degradation rates, but hopefully this will be resolved as we improve the filtering.

I did include a few additional plots to visualize what the output of the YoY and OLS regression looks like.
image

image

@mdeceglie
Copy link
Collaborator

The data from the BP system (12) system may make for a cleaner example: http://dkasolarcentre.com.au/source/alice-springs/dka-m5-b-phase

@cdeline
Copy link
Collaborator

cdeline commented May 19, 2017

Good suggestion Mike - I like system 12 very much!

@dirkjordan
Copy link
Collaborator

We could also consider one of the NREL systems that nobody cares about anymore like the ASE.

@GregoryKimball
Copy link
Collaborator Author

Thank you Chris and Mike for adding the new BP system. I made some updates to the metadata and filter to make sure this site runs OK.

Ready to merge?

@cdeline
Copy link
Collaborator

cdeline commented May 22, 2017 via email

@mdeceglie
Copy link
Collaborator

I will update the example to work with the newly merged versions of the degradation functions.

mdeceglie and others added 2 commits May 24, 2017 16:47
Merge master into ipynb_example
Also updated the ols step to handle the degradation function output
format
@mdeceglie
Copy link
Collaborator

mdeceglie commented May 25, 2017

The previous version was using ambient as cell temperature leading to significant seasonality. I updated the normalization step to model cell temperature based on POA irradiance. But there are still remaining problems:

-OLS is not a good idea with 15 minute data, there are a lot of low data points that cause a highly suspect fit
-The new version of YOY won't accept anything more frequent than daily.

The solution to both these problems is to aggregate with an irradiance weighted sum daily. I'll keep working on this in the example.

@mdeceglie mdeceglie merged commit c09cf20 into master May 26, 2017
@mdeceglie mdeceglie deleted the ipynb_example branch May 26, 2017 19:57
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.

5 participants