Numerical study of Kα emission from partially ionized chlorine