Seol mar théacs é seo: Convex optimization of power systems