-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Adding Mechanistic Performance and Loss Factors Models to pvlibMerge remote-tracking branch 'refs/remotes/pvlib/master' #1024
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1024 +/- ##
=========================================
Coverage ? 95.61%
=========================================
Files ? 67
Lines ? 9037
Branches ? 0
=========================================
Hits ? 8641
Misses ? 396
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Hi @steve-ransome , Great job opening the PR. I've linked it to the original issue in the description above by using the issue number (925). Make sure to go through the rest of the items in the checklist. Here are a couple of other items that will help move this PR:
I suggest you find someone in your timezone who you can have a chat / screen share with. Someone who has contributed to pvlib before like maybe @adriesse ? Good luck! |
Hi @steve-ransome and @mikofski , I don't think I'm the best person to the git/github mechanics, but before trying to please the various bots I would maybe first try to figure out how to integrate a little more into the pvlib structure. Ideally there would be some low-level model-related functions without graphics or user interaction, and then you could perhaps put the latter into a Jupyter Notebook? Not speaking as an expert here either because I rarely use Jupyter myself. Anyway, it's good to get the ball rolling. Anton |
Thanks @mikofski and @adriesse for the help and advice. The mlfm code explained in https://pvpmc.sandia.gov/download/7879/ was almost "self contained" in that it went from Most of the calculations, file handling and graphics are as python library functions in mlfm_lib.py rather than in the Jupyter notebook. These can be used independently such as the data normalisation routine e.g.
In the Jupyter notenook the only operator inputs are
Sensible defaults are given to some options (e.g. xaxis of graphs, irradiance or tmodule, yaxis scaling) and the user is shown how to alter those if they want. The measurement data input, model curve fitting and power prediction side are most similar to the tmy_to_power tutorial so I can look at that approach to show how to use these lib functions, this table shows some of the similarity and maybe how best to get the mlfm code being compared and used
Any thoughts as to this approach? |
Sorry, I didn't see the notebook previously as it is not listed as part of the PR. I wonder if it can be made viewable from the browser, like some others are? It seems to make sense to go with the tutorial approach. Then the most important thing will be defining the low-level core functions. Reading your own file format is probably better placed within the tutorial portion, for example. |
6f51bd9
to
9aed6b7
Compare
docs/sphinx/source/api.rst
for API changes.docs/sphinx/source/whatsnew
for all changes. Includes link to the GitHub Issue with:issue:`num`
or this Pull Request with:pull:`num`
. Includes contributor name and/or GitHub username (link with:ghuser:`user`
).