return sp and edf in the simulation