A method to compute reactive power margins with respect to voltage collapse | Synapse