Luminescent material

Hello,
I would like to simulate luminescent material and its spectrum characteristics, how can I do it?
Can it be possible by writing codes and developing components?