Electronically compensated current transformer modelling