From Centralized Power Generation to a Distributed model