Smart distributed energy monitoring for industrial applications