pvcompare.perosi.perosi.create_timeseries¶
- pvcompare.perosi.perosi.create_timeseries(lat, lon, surface_azimuth, surface_tilt, atmos_data, year, cell_type, number_hours)[source]¶
Calculates a timeseries for each cell type in list cell_type.
The spectrum is calculated with calculate_smarts_parameters(). After that the specific cell parameters are loaded. Finally the p_mp of each timestep
is calculated by the pvlib.singlediode() fuction.
- 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. Allowed values: ‘Korte_pero’, ‘Korte_si’, ‘Chen_si’, ‘Chen_pero’
surface_azimuth (int) – surface azimuth
surface_tilt (int) – surface tilt
atmos_data (pandas.DataFrame) – with datetimeindex and columns for ‘temp_air’ and ‘wind_speed’ and ‘ghi’
- Returns
maximum power point of each time step for each cell type
- Return type