Work Accomplished:
- Did some testing of a LSTM neural network architecture for time-series energy consumption prediction
- Tracked self-consumption metrics for solar utilization, peak reduction and cost savings % according to a baseline.
- The original cost is based on the predicted load with original device schedule. The optimized cost uses the new schedules with shifted loads
Mock backend for schedules : (I need to parse the results of optimization algo and figure out whats a good way to put that into device schedules). This is what the frontend should look like
Current display of predicted vs optimzied power. Need to scale this up accordingly once the power sensors are connected to Home Assistant and download the data from there.
Progress: I would say I am a little behind because a) the power sensor data is not logged in, need to do the integration of the backend with Home Assistant to feed that data, look at transience to analyze average power consumption b) The grid pricing data is fed in through Nordpool which has an integration with Home Assistant, but for now I am training the LSTM by downloading a csv from Home Assistant rather than having it dynamically via an API (API calls are expensive)
Challenges and Next Steps:
- Improve load shifting algorithm with better device priority handling [figure out a way to parse info about optimized loads from an aggregate to a device level]
- Also right now, all devices have the same priority. Need to assign weights based on device priorities (like running a fridge vs fan, fridge is way more important)
-
Use these weights in the objective function to favor high-priority loads when minimizing cost or peak demand.
-
Add detailed logging for performance metrics to validate optimization results
- Integration between HA and backend would be just creating a docker container and adding that to HA vs API requests