Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version

PVPolyfit

A one-lined function call for a high-resolution regression on PV Output

Overview

PVPolyfit provides a purely mathematical approach towards regression on a physical solar field. With PVPolyfit, you can regress on DC Power using only Irradiance and Ambient Temperature. Further research will need to be conducted to find other applications of this algorithm.

The PVPolyfit algorithm is:

  • FAST - simulating months of data in minutes

  • ROBUST - working on a vast variety of datasets and levels - module, string, inverter

  • MALLEABLE - allowing any number of covariates

  • ACCURATE - generating one percent error or less

  • USER FRIENDLY - requiring only one line of code

Getting it

To download PVPolyfit, either fork this github repo or simply call the following command in your command prompt.

$ pip install PVPolyfit

Using it

Simply, call the following function located in PVPolyit.core

>>> from PVPolyfit.core import pvpolyfit
>>> modelled_Y, days_rmses = pvpolyfit(train_df, test_df, Y_tag, xs, I_tag, ghi_tag, cs_tag, 
	      highest_num_clusters, highest_degree, kernel_type, Y_high_filter, min_count_per_day, 
              plot_graph = True, graph_type = 'regression', print_info = True)

Reference example/example.py for a demonstration and explanation on a small amount of provided data.

Performance

Each color corresponds with a cluster, also known as a type of day.

PVPolyfit regression

Acknowledgements

Emblems

About

A high-resolution multiple non-linear regression algorithm used to analyze PV output with a few inputs

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages