Simulation of some dynamical aspects of the photophysics of dye molecules encapsulated in a dendrimer