affinity conversion model