Optimization in Electrical Power