Phase-variable modelling of the TCR compensator