sunpeek.components.iam_methods.IAM_Method#

class sunpeek.components.iam_methods.IAM_Method(**kwargs)#

Bases: Base, AttrSetterMixin

Methods

__init__(**kwargs)

A simple constructor that allows initialization from kwargs.

add_component_attr(name[, unit, minimum, ...])

all_subclasses([c])

define_component_attrs()

get_component_attribute(name)

get_default_unit(name)

Return default unit of a class attribute defined as ComponentParam.

get_iam(aoi, azimuth_diff)

Determines the IAM for given incidence angles aoi [degrees] and difference between solar and collector azimuth angle [degrees].

register_callback(callback_type, func)

set_component_attribute(name, value, array_type)

classmethod get_default_unit(name)#

Return default unit of a class attribute defined as ComponentParam.

Return type:

str

abstract get_iam(aoi, azimuth_diff)#

Determines the IAM for given incidence angles aoi [degrees] and difference between solar and collector azimuth angle [degrees].

Parameters:
  • aoi (pd.Series) – The angle of incidence (AOI) between the module normal vector and the sun-beam vector, as pint (unit aware) pandas Series. Angles of NaN will result in NaN.

  • azimuth_diff (pd.Series) – The difference between solar and collector azimuth angle, as pint (unit aware) pandas Series.