Imperfect CSI vs. Hardware impairment

What is the difference between imperfect CSI and hardware impairments and how could simulate each in wireless communication?