-
Notifications
You must be signed in to change notification settings - Fork 76
Modelchain pytests #196
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
Merged
Merged
Modelchain pytests #196
Changes from 34 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
438e2f0
Initial instance of pytests for system_analysis. coverage: 70% for t…
cdeline b82cc53
Merge remote-tracking branch 'remotes/origin/model_chains' into model…
cdeline 24474c9
Merge branch 'model_chains' into modelchain_pytests
cdeline aa844d6
Merge branch 'master' into development
mdeceglie 1c01ac3
Merge remote-tracking branch 'remotes/origin/model_chains' into model…
cdeline 8fb2889
rename system_analysis.py to analysis.py. Rename class to RdAnalysis.…
cdeline c2c37d6
Allow temp_model_params to either be string or dict with 'a','b', 'de…
cdeline 4d84869
update calc_cell_temperature for pvlib > 0.6.3, use energy_normalized…
cdeline 33fd244
Notebook example running
cdeline 8b9b029
Remove empty cells from notebook
cdeline 0ef396b
Rename system_analysis_test.py. test_sensor_analysis working
cdeline b68b809
clearsky test functional
cdeline 927ad13
Warn if temp coefficient not passed into normalize_with_Pvwatts inste…
cdeline 4ae5c00
SRR soiling analysis pytest
cdeline a9211d8
Add tables=3.6.1 to requirements.txt to allow clearsky analysis
cdeline 632b222
add tables to setup.py since it appears to be a required pvlib for th…
cdeline 498b8f1
Test fixture attempt - Failing (analysis_test.test_srr_soiling_fixture)
cdeline 17f208a
Coverage increase to 83%. Figured out test fixtures kinda
cdeline 2840311
Test coverage 93%
cdeline 9bc0e99
Test coverage 95%. Include tests for some error messages
cdeline d7677fa
Add RdAnalysis notebook for pvdaq4 system
cdeline 5552f29
Sphinx API updates
cdeline 243d2e8
Updated SRR example for pvdaq4
cdeline 63e7fa9
Add nameplate rating as input to runRdAnalysis()
cdeline d0f40bb
Update pvdaq4 examples to run on the synthetic soiling * power data.
cdeline ce1bf2d
notebook font change on one documentation block
cdeline feac3c0
add max_timedelta=15T to pvdaq4 notebook example interpolation
cdeline b4f0bed
Merge remote-tracking branch 'remotes/origin/development' into modelc…
cdeline f896bc6
Sphinx release notes for 2.1.0 updated
cdeline 0380aeb
Change pvlib version check with exception handling per @kanderson-nre…
cdeline dc6d77f
Update sphinx references, including :meth: update and specific analys…
cdeline 9ad5225
remove unused lines in analysis_test.py
cdeline 7205658
Make test1 and test2 consistent in test_clearsky_analysis_fixture by …
cdeline 073d1ea
Squashed commit of the following:
cdeline 55f7b9a
Update docs/sphinx/source/changelog/v2.1.0.rst
cdeline File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| RdTools Change Log | ||
| ================== | ||
|
|
||
| .. include:: changelog/v2.1.0.rst | ||
| .. include:: changelog/v2.0.0b0.rst | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| ************************** | ||
| v2.1.0 (October XX, 2020) | ||
| ************************** | ||
|
|
||
| API Changes | ||
| ----------- | ||
| * Add :py:class:`~rdtools.analysis.RdAnalysis` class for single-line analysis. (:pull:`117`). | ||
|
|
||
|
|
||
| Enhancements | ||
| ------------ | ||
| * Add new :py:mod:`~rdtools.analysis` module to focus on single-line analysis workflow | ||
| (:pull:`117`). | ||
| * Add :py:class:`~rdtools.analysis.RdAnalysis` class for single-line analysis. | ||
| Degradataion analysis is run by :py:meth:`~rdtools.analysis.RdAnalysis.sensor_analysis` | ||
cdeline marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| and :py:meth:`~rdtools.analysis.RdAnalysis.clearsky_analysis`. Soiling analysis | ||
| is run by including 'srr_soiling' option when calling | ||
| :py:meth:`~rdtools.analysis.RdAnalysis.sensor_analysis` (:pull:`117`). | ||
|
|
||
|
|
||
| Bug fixes | ||
| --------- | ||
|
|
||
|
|
||
| Testing | ||
| ------- | ||
| * Complete testing for functions and plotting of :py:mod:`~rdtools.analysis` module (:pull:`196`). | ||
|
|
||
|
|
||
| Documentation | ||
| ------------- | ||
| * :py:class:`~rdtools.analysis.RdAnalysis` docstrings (:pull:`117`). | ||
|
|
||
|
|
||
| Requirements | ||
| ------------ | ||
| * tables=3.6.1 now added to requirements.txt and setup.py (:pull:`196`). | ||
|
|
||
| Example Updates | ||
| --------------- | ||
| * New example notebook based on PVDAQ system #4 for the new :py:class:`~rdtools.analysis.RdAnalysis` | ||
| analysis workflow (:pull:`196`). | ||
| * Update the standard PVDAQ system #4 workbook to match best practice, including | ||
| `pvlib.get_total_irradiance()` and `max_timedelta = '15T'` in rdtools.interpolate (:pull:`196`). | ||
| * Update the standard PVDAQ system #4 workbook to include a single `soiling * ac_power` | ||
| analysis (:pull:`196`). | ||
|
|
||
|
|
||
| Contributors | ||
| ------------ | ||
| * Mike Deceglie (:ghuser:`mdeceglie`) | ||
| * Kevin Anderson (:ghuser:`kanderso-nrel`) | ||
| * Chris Deline (:ghuser:`cdeline`) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.