@@ -216,12 +216,9 @@ def get_orientation(strategy, **kwargs):
216
216
217
217
class ModelChain (object ):
218
218
"""
219
- An experimental class that represents all of the modeling steps
220
- necessary for calculating power or energy for a PV system at a given
221
- location using the SAPM.
222
-
223
- CEC module specifications and the single diode model are not yet
224
- supported.
219
+ The ModelChain class to provides a standardized, high-level
220
+ interface for all of the modeling steps necessary for calculating PV
221
+ power from a time series of weather inputs.
225
222
226
223
Parameters
227
224
----------
@@ -233,7 +230,7 @@ class ModelChain(object):
233
230
A :py:class:`~pvlib.location.Location` object that represents
234
231
the physical location at which to evaluate the model.
235
232
236
- orientation_strategy : None or str, default 'south_at_latitude_tilt'
233
+ orientation_strategy : None or str, default None
237
234
The strategy for aligning the modules. If not None, sets the
238
235
``surface_azimuth`` and ``surface_tilt`` properties of the
239
236
``system``. Allowed strategies include 'flat',
@@ -260,9 +257,9 @@ class ModelChain(object):
260
257
ac_model: None, str, or function, default None
261
258
If None, the model will be inferred from the contents of
262
259
system.inverter_parameters and system.module_parameters. Valid
263
- strings are 'snlinverter', 'adrinverter' (not implemented),
264
- 'pvwatts'. The ModelChain instance will be passed as the first
265
- argument to a user-defined function.
260
+ strings are 'snlinverter', 'adrinverter', 'pvwatts'. The
261
+ ModelChain instance will be passed as the first argument to a
262
+ user-defined function.
266
263
267
264
aoi_model: None, str, or function, default None
268
265
If None, the model will be inferred from the contents of
@@ -274,8 +271,7 @@ class ModelChain(object):
274
271
If None, the model will be inferred from the contents of
275
272
system.module_parameters. Valid strings are 'sapm',
276
273
'first_solar', 'no_loss'. The ModelChain instance will be passed
277
- as the first argument to a user-defined
278
- function.
274
+ as the first argument to a user-defined function.
279
275
280
276
temp_model: str or function, default 'sapm'
281
277
Valid strings are 'sapm'. The ModelChain instance will be passed
@@ -301,9 +297,7 @@ def __init__(self, system, location,
301
297
airmass_model = 'kastenyoung1989' ,
302
298
dc_model = None , ac_model = None , aoi_model = None ,
303
299
spectral_model = None , temp_model = 'sapm' ,
304
- losses_model = 'no_loss' ,
305
- name = None ,
306
- ** kwargs ):
300
+ losses_model = 'no_loss' , name = None , ** kwargs ):
307
301
308
302
self .name = name
309
303
self .system = system
0 commit comments