If you know the parameters of your first order ( td,tm,km) then you can write
In the case where td=0 or small, we normally set tg=tm or whatever you want (tg>6*tre). It depends on what control value you want at t=0