Formulation, computation and improvement of steady state security margins in power systems. Part I: Theoretical framework | Publicación