pvdeg.spectral.poa_irradiance_fixed#
- pvdeg.spectral.poa_irradiance_fixed(weather_df: DataFrame, meta: dict, sol_position=None, surface_tilt=None, surface_azimuth=None, dni_extra=None, airmass=None, albedo=0.25, surface_type=None, model='isotropic', model_perez='allsitescomposite1990') DataFrame[source]#
Calculate plane-of-array (POA) irradiance using pvlib.irradiance.get_total_irradiance for a fixed tilt system.
- Parameters:
weather_df (pd.DataFrame) – The file path to the NSRDB file.
meta (dict) – The geographical location ID in the NSRDB file.
sol_position (pd.DataFrame, optional) – pvlib.solarposition.get_solarposition Dataframe. If none is given, it will be calculated.
dni_extra (pd.Series, optional) – Extra-terrestrial direct normal irradiance. If None, it will be calculated.
airmass (pd.Series, optional) – Airmass values. If None, it will be calculated.
albedo (float, optional) – Ground reflectance. Default is 0.25.
surface_type (str, optional) – Type of surface for albedo calculation. If None, a default value will be used.
sky_model (str, optional) – Sky diffuse model to use. Default is isotropic. Options: ‘isotropic’, ‘klucher’, ‘haydavies’, ‘reindl’, ‘king’, ‘perez’.
model_perez (str, optional) – Perez model to use for diffuse irradiance. Default is allsitescomposite1990. Only used when sky_model is ‘perez’.
surface_tilt (float, optional) – Tilt angle of the modules (degrees).
surface_azimuth (float, optional) – Azimuth angle of the modules (degrees).
- Returns:
poa (pd.DataFrame) – DataFrame containing the calculated plane-of-array irradiance components with columns: ‘poa_global’, ‘poa_direct’, ‘poa_diffuse’, ‘poa_sky_diffuse’, ‘poa_ground_diffuse’. [W/m2]
Notes
This function uses pvlib to calculate the plane-of-array irradiance based on the provided weather data and mounting configuration for fixed tilt systems. See the pvlib documentation for further information on the parameters.