Thermomechanical Modeling of Stress Relaxation in Shape Memory Alloy Wires