Implementation of a mathematical model for the photochemical kinetics of a solid form active pharmaceutical ingredient.