The opportunities of distributed generation