Real-time dynamic multilevel optimization for Demand-side Load management | Synapse