Optimization of electric demand response based on users’ preferences | Synapse