Distributed generation is the electricity generation system in which the electricity is being produced from many small power sources connected to the electrical grid. Distributed generation allows the collection of energy from many scattered sources to improve the security of an electricity supply.