Distributed Renewable resources Exploitation in electric grids through Advanced heterarchical Management