Synthetic Solar is a Python module for generating synthetic sequences of hourly solar irradiances.
import synth_solar
import matplotlib.pyplot as plt
# Mean monthly clearness indices and latitude for Sydney, Australia
Ktm = [0.49, 0.48, 0.50, 0.51, 0.51, 0.54, 0.54, 0.57, 0.56, 0.54, 0.51, 0.51]
lat = -34.8
# Generate sequence of synthetic hourly solar irradiances
G0 = synth_solar.Aguiar_hourly_G0(Ktm, lat)
# Print global horizontal irradiation (GHI) in kWh/m2/yr
print(sum(G0))
# Plot synthetic solar sequence
plt.plot(G0)
plt.show()
Running the above routine generates sequences with GHI typically in the range of 1550 - 1700 kWh/m2/yr, which is in line with the long-term solar irradiation in the greater Sydney area (e.g. based on satellite data such as SolarGIS).
- R. Aguiar and M. Collares-Pereira, "A simple procedure for the generation of sequences of daily radiation values using Markov transition matrices", Solar Energy, vol. 40, 269-279, 1988
- R. Aguiar and M. Collares-Pereira, "TAG: A time-dependent, autoregressive Gaussian model for generating synthetic hourly radiation", Solar Energy, vol. 49, 167-174, 1992
- A. Luque, S. Hegedus, “Handbook of Photovoltaic Science and Engineering”, Wiley, 2003
- Julius Susanto - http://github.com/susantoj
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.