A model-based smart meters time series decomposition approach for demand flexibility characterization of SMEs and households | Synapse