@@ -114,6 +114,7 @@ def __init__(self, latitude, longitude, tz='UTC', altitude=0,
114
114
surface_tilt = 0 , surface_azimuth = 180 ,
115
115
albedo = None , surface_type = None ,
116
116
module = None , module_parameters = None ,
117
+ series_modules = None , parallel_modules = None ,
117
118
inverter = None , inverter_parameters = None ,
118
119
racking_model = None ,
119
120
** kwargs ):
@@ -135,6 +136,9 @@ def __init__(self, latitude, longitude, tz='UTC', altitude=0,
135
136
self .module = module
136
137
self .module_parameters = module_parameters
137
138
139
+ self .series_modules = series_modules
140
+ self .parallel_modules = parallel_modules
141
+
138
142
self .inverter = inverter
139
143
self .inverter_parameters = inverter_parameters
140
144
@@ -194,7 +198,7 @@ def get_irradiance(self, solar_zenith, solar_azimuth, dni, ghi, dhi,
194
198
# defaults to kwargs, falls back to attributes. complicated.
195
199
# harder to support?
196
200
def ashraeiam (self , ** kwargs ):
197
- """Wrapper around the ashraeiam function.
201
+ """Wrapper around the :func:` ashraeiam` function.
198
202
199
203
Parameters
200
204
----------
@@ -210,7 +214,7 @@ def ashraeiam(self, **kwargs):
210
214
211
215
# thin wrappers of other pvsystem functions
212
216
def physicaliam (self , aoi ):
213
- """Wrapper around the physicaliam function.
217
+ """Wrapper around the :func:` physicaliam` function.
214
218
215
219
Parameters
216
220
----------
@@ -226,7 +230,7 @@ def physicaliam(self, aoi):
226
230
def calcparams_desoto (self , poa_global , temp_cell , alpha_isc ,
227
231
module_parameters ,
228
232
EgRef , dEgdT , M = 1 , irrad_ref = 1000 , temp_ref = 25 ):
229
- """Wrapper around the calcparams_desoto function.
233
+ """Wrapper around the :func:` calcparams_desoto` function.
230
234
231
235
Parameters
232
236
----------
@@ -243,7 +247,7 @@ def calcparams_desoto(self, poa_global, temp_cell, alpha_isc,
243
247
244
248
def sapm (self , module , poa_direct , poa_diffuse ,
245
249
temp_cell , airmass_absolute , aoi ):
246
- """Wrapper around the sapm function.
250
+ """Wrapper around the :func:` sapm` function.
247
251
248
252
Parameters
249
253
----------
@@ -259,7 +263,7 @@ def sapm(self, module, poa_direct, poa_diffuse,
259
263
260
264
# model now specified by self.racking_model
261
265
def sapm_celltemp (self , irrad , wind , temp ):
262
- """Wrapper around the sapm_celltemp function.
266
+ """Wrapper around the :func:` sapm_celltemp` function.
263
267
264
268
Parameters
265
269
----------
@@ -274,7 +278,7 @@ def sapm_celltemp(self, irrad, wind, temp):
274
278
275
279
def singlediode (self , photocurrent , saturation_current ,
276
280
resistance_series , resistance_shunt , nNsVth ):
277
- """Wrapper around the singlediode function.
281
+ """Wrapper around the :func:` singlediode` function.
278
282
279
283
Parameters
280
284
----------
@@ -291,7 +295,7 @@ def singlediode(self, photocurrent, saturation_current,
291
295
292
296
def i_from_v (self , resistance_shunt , resistance_series , nNsVth , voltage ,
293
297
saturation_current , photocurrent ):
294
- """Wrapper around the i_from_v function.
298
+ """Wrapper around the :func:` i_from_v` function.
295
299
296
300
Parameters
297
301
----------
@@ -307,7 +311,7 @@ def i_from_v(self, resistance_shunt, resistance_series, nNsVth, voltage,
307
311
308
312
# inverter now specified by self.inverter_parameters
309
313
def snlinverter (self , v_dc , p_dc ):
310
- """Wrapper around the snlinverter function.
314
+ """Wrapper around the :func:` snlinverter` function.
311
315
312
316
Parameters
313
317
----------
0 commit comments