An integrated project for the management of renewable energy sources in rural areas