optimizing solar resources