Combining State-Based Clustering and Dynamic Time Warping for the Analysis of Photovoltaic–Building Energy Interactions | Synapse