In https://peerj.com/preprints/3190.pdf section 4.3
SHFs simulate the errors we would have made had we used this forecasting method at those points in the past.
The meaning I could understand is change "had" to "when", like
SHFs simulate the errors we would have made when we used this forecasting method at those points in the past.
I can't understand what is this "had" used for.