Solar energy storage and on-site consumption