A Smart Grid Approach to Distribution Management Systems (DMS) for Electric Networks