The 1000 is unnecessary in this case.It was the "1000" in the pulse def and the fact the X axis starts at 0 that seemed odd.
It was just a carry-over from the op's sim where he included it for some unknown reason.
The X-axis starts at 0 at the "Time to Start Saving Data" time.