Skip to content

Commit 38fc142

Browse files
Temperature model parameter translation code (#1463)
* First commit to gather feedback on class design. * Changed set_*/get_* pattern to use_*/to_* * Add generic_linear() as a separate module temperature function and adjustments to doc strings. * Add tests. * Minor test edits. * One more test to achieve 100% coverage (hopefully). * Some formatting, docstring development. * Try to update sphynx. * Try sphynx again. * Docstrings nearing completion. * Docstrings complete. * One more small name change. * Fix problems identified in reviews. * Update whatsnew. Co-authored-by: Kevin Anderson <[email protected]>
1 parent 543d97a commit 38fc142

File tree

4 files changed

+512
-1
lines changed

4 files changed

+512
-1
lines changed

docs/sphinx/source/reference/pv_modeling.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ PV temperature models
4545
temperature.noct_sam
4646
temperature.prilliman
4747
pvsystem.PVSystem.get_cell_temperature
48+
temperature.generic_linear
49+
temperature.GenericLinearModel
4850

4951
Temperature Model Parameters
5052
^^^^^^^^^^^^^^^^^^^^^^^^^^^^

docs/sphinx/source/whatsnew/v0.9.3.rst

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ Deprecations
99

1010
Enhancements
1111
~~~~~~~~~~~~
12+
* New class and function translate module temperature model parameters
13+
:py:func:`~pvlib.temperature.GenericLinearModel`
14+
:py:func:`~pvlib.temperature.generic_linear`
15+
(:issue:`1442`, :pull:`1463`)
1216
* Low resolution altitude lookup map
1317
:py:func:`~pvlib.location.lookup_altitude`
1418
(:issue:`1516`, :pull:`1518`)
@@ -48,7 +52,9 @@ Contributors
4852
* Anton Driesse (:ghuser:`adriesse`)
4953
* Cliff Hansen (:ghuser:`cwhanse`)
5054
* Kevin Anderson (:ghuser:`kanderso-nrel`)
55+
* Mark Mikofski (:ghuser:`mikofski`)
56+
* Will Holmgren (:ghuser:`wholmgren`)
5157
* Mark Campanelli (:ghuser:`markcampanelli`)
5258
* Adam R. Jensen (:ghuser:`AdamRJensen`)
5359
* Abhishek Parikh (:ghuser:`abhisheksparikh`)
54-
* Taos Transue (:ghuser:`reepoi`)
60+
* Taos Transue (:ghuser:`reepoi`)

0 commit comments

Comments
 (0)