A model for steady-state luminescence of localized-state ensemble