pvcompare.perosi.perosi.calculate_smarts_parameters

pvcompare.perosi.perosi.calculate_smarts_parameters(year, lat, lon, number_hours, cell_type, surface_tilt, surface_azimuth, atmos_data, WLMN=350, WLMX=1200)[source]

calculates the short current density Jsc for each timestep.

For each timestep the spectrum is calculated using SMARTS. After that the short current density is calculated by multiplying the number of photons on the tilted surface by the EQE of the given cell. A dataframe is returned with ghi, temperature, wind_speed and the Jsc for each time step

Parameters
  • year (int) – year of interest

  • lat (str) – latitude ending with a “.”, e.g. “45.”

  • lon (int) – longitude

  • number_hours (int) – number of hours until simulation stops. For one year enter 8760.

  • cell_type (list) – list of cells for which the Jsc should be calculated.

  • atmos_data (pandas.DataFrame) – with datetimeindex and columns for ‘temp_air’ and ‘wind_speed’ and ‘ghi’

  • WLMN (int) – minimum wavelength of the spectrum. By default this is 280 nm.

  • WLMX (int) – maximum wavelength of the spectrum. By default this is 1200 nm.

Returns

including ghi, temperature, wind_speed, Jsc for each cell_type

Return type

pandas.DataFrame