Energy analysis of phase change localization in monocrystalline shape memory alloy