I'm new to PVLib and to PV simulation in general so sorry if the question is too naive :)
I'm using procedural code provided here: https://pvlib-python.readthedocs.io/en/stable/introtutorial.html to estimate DC/AC output for a given technology set (module, inverter) and a given (lat,long,altitude). My region of interest is Georgia
(country).
The calculation of annual energy for a given location (lat,long,alt) uses ac.sum() like it's show below (see original code in https://pvlib-python.readthedocs.io/en/stable/introtutorial.html):
...
dc = pvlib.pvsystem.sapm(effective_irradiance, cell_temperature, module)
ac = pvlib.inverter.sandia(dc['v_mp'], dc['p_mp'], inverter)
annual_energy = ac.sum()
energies[name] = annual_energy
...
1) Is this really annual energy production? The weather set has data from 2009-2015 so wouldn't sum() yield the total energy for all these years?
2) Is there any TMY dataset that provides more than 10 years? Currently, PVGIS is returning 7 years (2009-1015)?
3) Is the AC output for a single module and single inverter? If so, how can I add more modules and inverters to the system using procedural code (OO code provides Arrays and Mounts)? I tried setting parameters modules_per_string
and strings_per_inverter
for the system but it did not affect the output.
Example:
system = {
'module': [my-module-name],
'inverter': [my-inverter-name],
'surface_azimuth': 180,
'modules_per_string': 5,
'strings_per_inverter': 2,
'albedo': 0.3
}
Thank you!