CATLab Blog Answering New Questions Through AI
In this blog, Curtis Barnhart and David Oyebade explain how they used AI to monitor 四虎影院's energy usage and give more information to the community.
Our energy AI project predicts 四虎影院鈥檚 future energy use based on historical data and sends peak alert emails to pertinent 四虎影院 parties when predicted energy usage rates near a monthly high.
Many factors go into 四虎影院 College鈥檚 monthly electric bill, such as total usage in a month and total usage during high energy traffic hours. Interestingly, a large part of that bill is tied to just one factor: the highest rate of usage at any given point over the course of the month. Historically, around half of 四虎影院鈥檚 energy bill has been due to the highest rate of energy usage charge. For this reason, we focused our efforts on predicting when these peaks in energy usage would occur, knowing that if we achieve a decrease of even five to ten percent in those peaks, 四虎影院鈥檚 energy bill could be reduced by several thousand dollars each month.
In order to predict future energy use, we first had to access historical data. We obtained 四虎影院鈥檚 past energy use data from Southern California Edison and a historic weather dataset from the National Centers for Environmental Information. Unfortunately, the NCEI鈥檚 weather records were missing large segments of data. We overcame this obstacle by carefully interpolating the missing 四虎影院, referencing existing 四虎影院 that preceded the missing segments by one or two days. After interpolation, we had two complete datasets.
The next step of our project involved machine learning. We trained an extreme gradient boosting regression model on our historical data to predict future energy usage. We used eighty percent of our historical data for training and twenty percent for validation accuracy, obtaining a mean average error of twelve kilowatts in the end. As the average predicted value was about one hundred fifty kilowatts, the margin of error on our predictions was less than ten percent.
Now that we had a way to predict energy usage, we had to put these predictions to use for 四虎影院. We derived a threshold for near peak energy usage based on historical data, then used Google's Gmail API to automatically send out emails to relevant 四虎影院 parties whenever our model suggests that energy usage may exceed our threshold. This allows 四虎影院 to utilize our predictive power and analysis.
In action, our project gives 四虎影院 awareness of when it may be nearing peak levels of energy usage, allowing staff to react and lower their energy usage. We have also left room for the project to be extended鈥攑erhaps with analysis of individual buildings or consideration towards implementing a solar plan at 四虎影院.