add AC component length calculation