Numerical Investigations of Transverse Gradient Undulator Based on Novel Light Sources