Stability of superconducting cables with twisted stacked YBCO coated conductors