FDTD modeling of a SIW based sensor for THz diagnostics