Energy Management for Smart Cities: The Importance of Stabilizers