Electrical Optimal Power Flow Applications of Optimization: with applied case studies