Aims. To understand the roles of infall and protostellar evolution on the
envelopes of massive young stellar objects (YSOs).
Methods. The chemical evolution of gas and dust is traced, including infall
and realistic source evolution. The temperatures are determined
self-consistently. Both ad/desorption of ices using recent laboratory
temperature-programmed-desorption measurements are included.
Results. The observed water abundance jump near 100 K is reproduced by an
evaporation front which moves outward as the luminosity increases. Ion-molecule
reactions produce water below 100 K. The age of the source is constrained to t
\~ 8 +/- 4 x 10^4 yrs since YSO formation. It is shown that the chemical
age-dating of hot cores at ~ few x 10^3 - 10^4 yr and the disappearance of hot
cores on a timescale of ~ 10^5 yr is a natural consequence of infall in a
dynamic envelope and protostellar evolution. Dynamical structures of ~ 350AU
such as disks should contain most of the complex second generation species. The
assumed order of desorption kinetics does not affect these results.Comment: Accepted by A&A Letters; 4 pages, 5 figure