Price-based control of electrical power systems