A Kohn–Sham system at zero temperature