pvfactors.viewfactors.aoimethods.AOIMethods

class pvfactors.viewfactors.aoimethods.AOIMethods(faoi_fn_front, faoi_fn_back, n_integral_sections=300)[source]

Class containing methods related to calculating AOI losses for OrderedPVArray objects.

__init__(faoi_fn_front, faoi_fn_back, n_integral_sections=300)[source]

Instantiate class with faoi function and number of sections to use to calculate integrals of view factors with faoi losses

Parameters
  • faoi_fn_front (function) – Function which takes a list (or numpy array) of incidence angles measured from the surface horizontal (with values from 0 to 180 deg) and returns the fAOI values for the front side of PV rows

  • faoi_fn_back (function) – Function which takes a list (or numpy array) of incidence angles measured from the surface horizontal (with values from 0 to 180 deg) and returns the fAOI values for the back side of PV rows

  • n_integral_sections (int, optional) – Number of integral divisions of the 0 to 180 deg interval to use for the fAOI loss integral (default = 300)

Methods

__init__(faoi_fn_front, faoi_fn_back[, ...])

Instantiate class with faoi function and number of sections to use to calculate integrals of view factors with faoi losses

fit(n_timestamps)

Fit the AOI methods to timeseries inputs: create all the necessary integration attributes.

rho_from_faoi_fn(is_back)

Calculate global average reflectivity from faoi function for either side of the PV row (requires calculating view factors)

vf_aoi_pvrow_to_gnd(ts_pvrows, ts_ground, ...)

Calculate the view factors between timeseries PV row and ground surfaces while accounting for non-diffuse AOI losses, and assign it to the passed view factor aoi matrix using the surface indices.

vf_aoi_pvrow_to_pvrow(ts_pvrows, ...)

Calculate the view factors between timeseries PV row surfaces while accounting for AOI losses, and assign values to the passed view factor matrix using the surface indices.

vf_aoi_pvrow_to_sky(ts_pvrows, ts_ground, ...)

Calculate the view factors between timeseries PV row surface and sky while accounting for AOI losses, and assign values to the passed view factor matrix using the surface indices.