Operating and planning issues of distribution grids containing diffuse generation