Usage of the yield curve in numerical simulations