Bragg Grating full device simulation with EME