Smart grid communication infrastructure comparison-for distributed control of distributed energy resources using internet of things devices