Efficient management of the power sector in developing countries