I'm implementing the CVA/DVA for some interest rates derivatives, with the short rate following a Hull-White model (one factor). Once I have calibrated the model and I get the results with the simulation, a quite interesting question arose.
For instance, say an IRS: Which is the known interest rate used to compute the accrued interest?
Does anyone know how to compute it?