@@ -313,21 +313,22 @@ def beam_component(surface_tilt, surface_azimuth,
313313 return beam
314314
315315
316- # ToDo: how to best structure this function? wholmgren 2014-11-03
317316def total_irrad (surface_tilt , surface_azimuth ,
318317 apparent_zenith , azimuth ,
319318 dni , ghi , dhi , dni_extra = None , airmass = None ,
320319 albedo = .25 , surface_type = None ,
321320 model = 'isotropic' ,
322321 model_perez = 'allsitescomposite1990' , ** kwargs ):
323- '''
322+ r"""
324323 Determine diffuse irradiance from the sky on a
325324 tilted surface.
326325
327326 .. math::
328327
329328 I_{tot} = I_{beam} + I_{sky} + I_{ground}
330329
330+ See the transposition function documentation for details.
331+
331332 Parameters
332333 ----------
333334 surface_tilt : float or Series.
@@ -359,15 +360,10 @@ def total_irrad(surface_tilt, surface_azimuth,
359360
360361 Returns
361362 -------
362- DataFrame with columns ``'poa_global', 'poa_direct',
363- 'poa_sky_diffuse', 'poa_ground_diffuse'``.
364-
365- References
366- ----------
367- [1] Loutzenhiser P.G. et. al. "Empirical validation of models to compute
368- solar irradiance on inclined surfaces for building energy simulation"
369- 2007, Solar Energy vol. 81. pp. 254-267
370- '''
363+ irradiance: DataFrame
364+ Contains columns ``'poa_global', 'poa_direct',
365+ 'poa_sky_diffuse', 'poa_ground_diffuse'``.
366+ """
371367
372368 pvl_logger .debug ('planeofarray.total_irrad()' )
373369
@@ -415,7 +411,7 @@ def total_irrad(surface_tilt, surface_azimuth,
415411
416412# ToDo: keep this or not? wholmgren, 2014-11-03
417413def globalinplane (aoi , dni , poa_sky_diffuse , poa_ground_diffuse ):
418- '''
414+ r '''
419415 Determine the three components on in-plane irradiance
420416
421417 Combines in-plane irradaince compoents from the chosen diffuse translation,
0 commit comments