Numerical model for quench propagation in composite HTS tapes