Looking for help calculating daily solar PV insolation

  • Thread starter Thread starter StevenMa
  • Start date Start date
  • Tags Tags
    Solar
Click For Summary
SUMMARY

Steve seeks to develop a Python program for a Raspberry Pi that calculates and displays daily peak solar insolation, allowing users to optimize energy usage for devices like dishwashers. The program will incorporate location coordinates, roof pitch angle, and compass orientation to determine the optimal time for energy consumption. He emphasizes the need for mathematical calculations to accurately predict insolation peaks, despite challenges in programming and mathematics. Resources such as pvoutput.org and NOAA's solar data are mentioned as references for enhancing the program's accuracy.

PREREQUISITES
  • Basic understanding of Python programming
  • Familiarity with Raspberry Pi hardware
  • Knowledge of solar insolation concepts
  • Understanding of geographical coordinates and their application in solar calculations
NEXT STEPS
  • Research mathematical models for calculating solar insolation peaks
  • Explore Python libraries for solar energy calculations, such as pvlib
  • Learn about integrating weather forecast data into solar calculations
  • Investigate GPIO programming on Raspberry Pi for controlling devices based on solar data
USEFUL FOR

Individuals interested in renewable energy solutions, hobbyist programmers, and anyone looking to optimize energy consumption using solar power data.

StevenMa
Messages
2
Reaction score
1
I would like to write a simple (as possible) programme in Python for a Raspberry Pi that will calculate & display for each day the peak solar insolation +/- say 1 hour to display this 2 hour time window and a green LED or similar visual or audible indicator that now is a good time to run the dishwasher, kettle etc. to take advantage of the excess energy that would normally flow back into the mains electricity grid.

I have found solutions to switch on & off, for example, water heaters when excess energy is available but not devices such as the dishwasher which, when started, one doesn't really want to turn off just because the sun is behind a cloud. Typically, we set a delay on our dishwasher before we go out in the morning based on the insolation peak shown in pvoutput.org

The calculation will include the property location Lat/Lon co-ordinates, roof pitch angle and compass orientation of the roof in degrees.

What I've had difficulty finding help with is the mathematical calculation. I'm not a natural mathematician or programmer but I am probably determined enough to work it through with some help.

Thank you in anticipation of your help.

Regards, Steve
 
Engineering news on Phys.org
Thank you for your reply. Yes, that is a large part of it but, regardless of the weather, I still wish to compute the peak insolation time for each day. i.e. The time in the day when the sun is focused most directly on the solar panels.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
2K
Replies
9
Views
10K