Statistical and Machine Learning Techniques for Predicting Solar Power Generation in a Microgrid.