I have experienced that first attempt effect too, especially in my pitiful college running career.
To do this right you need to know your splits (speed, time or power) from a strong effort. You can use HR, but you need a good database and a pretty clear idea of your acute training load on he day of the attempt. Then your strategy is simply to match the early splits and beat the late ones.