A digital twin based approach to smart lighting design