Realization and Implementation of Peak Energy Management