Transformer ratio error estimation