Skip to content

Commit d1bbad1

Browse files
authored
refactor ModelChain, add pvwatts, singlediode, aoi, and more options (#194)
* implement dc_model, ac_model kwargs with property decorators * use public instead of private methods * clean up * whitespace * pep8 * add aoi, spectral, temp model controls. add pvwatts. needs more tests * add losses and a few tests * implement log lambertw calculation in v_from_i * add test * more robust * get realistic singlediode test working * add note to whatsnew * add issue note to test * add tests for user supplied functions * more tests * add decorators * update whatsnew
1 parent 1f73af6 commit d1bbad1

File tree

4 files changed

+548
-51
lines changed

4 files changed

+548
-51
lines changed

docs/sphinx/source/package_overview.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,10 @@ objects to accomplish our system modeling goal:
200200
@savefig modelchain-energies.png width=6in
201201
plt.ylabel('Yearly energy yield (W hr)')
202202
203+
See Will Holmgren's
204+
`ModelChain gist <https://gist.github.com/wholmgren/3fabacd3003c2a549b420b5e79f55e95>`_
205+
for more discussion about new features in ModelChain.
206+
203207

204208
Object oriented (LocalizedPVSystem)
205209
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docs/sphinx/source/whatsnew/v0.4.0.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ Enhancements
5454
* pvsystem.singlediode can now calculate IV curves if a user supplies
5555
an ivcurve_pnts keyword argument. (:issue:`83`)
5656
* Includes SAM data files in the distribution. (:issue:`52`)
57+
* ModelChain now implements SAPM, PVWatts, Single Diode and user-defined
58+
modeling options. See Will Holmgren's
59+
`ModelChain refactor gist <https://gist.github.com/wholmgren/3fabacd3003c2a549b420b5e79f55e95>`_
60+
for more discussion about new features in ModelChain.
61+
(:issue:`143`, :issue:`194`)
5762

5863

5964
Bug fixes

0 commit comments

Comments
 (0)