ac_K, ac_Kxi automatic calculation