The purpose of this law is to set the policies and establish the legal groundwork for the generation of electric energy from renewable sources by users of the distribution grid for their own consumption, with the eventual injection of surpluses into the grid. Also, to providers ensure the free access to the grid. 
The law declared the distributed generation of electricity from renewables aiming to self-consumption and putative injection of surplus in the grid as national public interest. The law created the 'user-generator' actor.