@@ -163,13 +163,15 @@ object describes the modeling chain used to calculate PV output at that
163
163
Location. This can be a useful paradigm if you prefer to think about the
164
164
PV system and its location as separate concepts or if you develop your
165
165
own ModelChain subclasses. It can also be helpful if you make extensive
166
- use of Location-specific methods for other calculations.
166
+ use of Location-specific methods for other calculations. pvlib-python
167
+ also includes a :py:class: `~pvlib.tracking.SingleAxisTracker ` class that
168
+ is a subclass of :py:class: `~pvlib.pvsystem.PVSystem `.
167
169
168
170
The following code demonstrates how to use
169
171
:py:class: `~pvlib.location.Location `,
170
172
:py:class: `~pvlib.pvsystem.PVSystem `, and
171
- :py:class: `~pvlib.modelchain.ModelChain `
172
- objects to accomplish our system modeling goal:
173
+ :py:class: `~pvlib.modelchain.ModelChain ` objects to accomplish our
174
+ system modeling goal:
173
175
174
176
.. ipython :: python
175
177
@@ -209,13 +211,30 @@ Object oriented (LocalizedPVSystem)
209
211
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
210
212
211
213
The second object oriented paradigm uses a model where a
212
- :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` represents a
213
- PV system at a particular place on the planet. This can be a useful
214
- paradigm if you're thinking about a power plant that already exists.
214
+ :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` represents a PV system at
215
+ a particular place on the planet. This can be a useful paradigm if
216
+ you're thinking about a power plant that already exists.
217
+
218
+ The :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` inherits from both
219
+ :py:class: `~pvlib.pvsystem.PVSystem ` and
220
+ :py:class: `~pvlib.location.Location `, while the
221
+ :py:class: `~pvlib.tracking.LocalizedSingleAxisTracker ` inherits from
222
+ :py:class: `~pvlib.tracking.SingleAxisTracker ` (itself a subclass of
223
+ :py:class: `~pvlib.pvsystem.PVSystem `) and
224
+ :py:class: `~pvlib.location.Location `. The
225
+ :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` and
226
+ :py:class: `~pvlib.tracking.LocalizedSingleAxisTracker ` classes may
227
+ contain bugs due to the relative difficulty of implementing multiple
228
+ inheritance. The :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` and
229
+ :py:class: `~pvlib.tracking.LocalizedSingleAxisTracker ` may be deprecated
230
+ in a future release. We recommend that most modeling workflows implement
231
+ :py:class: `~pvlib.location.Location `,
232
+ :py:class: `~pvlib.pvsystem.PVSystem `, and
233
+ :py:class: `~pvlib.modelchain.ModelChain `.
215
234
216
235
The following code demonstrates how to use a
217
- :py:class: `~pvlib.pvsystem.LocalizedPVSystem `
218
- object to accomplish our modeling goal:
236
+ :py:class: `~pvlib.pvsystem.LocalizedPVSystem ` object to accomplish our
237
+ modeling goal:
219
238
220
239
.. ipython :: python
221
240
0 commit comments