Renewable Energy and Local Regulations