This document presents a thesis analyzing the stability margin of superconducting cables for the High Luminosity Large Hadron Collider (HiLumi-LHC) project at CERN. It uses both zero-dimensional and one-dimensional numerical models to simulate the electro-thermal behavior of Nb3Sn cables during a quench induced by beam losses. The results show the quench energy for the Nb3Sn inner triplet quadrupole magnet is significantly different than for the existing NbTi magnets. Comparisons with NbTi cables highlight differences in quench performance between impregnated Nb3Sn cables and non-impregnated NbTi cables in their typical operating conditions.