Specifically, I wish to write a simple 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.
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.
Did I come to the right place?
Thank you in anticipation of your help.
Regards, Steve