Study shows relationship between renewable energy and climate variability