Skip to content

susantoj/synthetic-solar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Synthetic Solar

Synthetic Solar is a Python module for generating synthetic sequences of hourly solar irradiances.

Example

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()

screenshot of sample output

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).

References

Credits

License

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.

About

Generate synthetic solar radiation sequences (Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages