What are the primary variables affecting solar energy production.