Cell voltage calculation during titration