Recent improvements in solar observations have greatly progressed the study of sungrazing comets. They can now be imaged along the entirety of their perihelion passage through the solar atmosphere, revealing details of their composition and structure not measurable through previous observations in the less volatile region of the orbit further from the solar surface. Such comets are also unique probes of the solar atmosphere. The debris deposited by sungrazers is rapidly ionized and subsequently influenced by the ambient magnetic field. Measuring the spectral signature of the deposited material highlights the topology of the magnetic field and can reveal plasma parameters such as the electron temperature and density. Recovering these variables from the observable data requires a model of the interaction of the cometary species with the atmosphere through which they pass. The present paper offers such a model by considering the time-dependent chemistry of sublimated cometary species as they interact with the solar radiation field and coronal plasma. We expand on a previous simplified model by considering the fully time-dependent solutions of the emitting species' densities. To compare with observations, we consider a spherically symmetric expansion of the sublimated material into the corona and convert the time-dependent ion densities to radial profiles. Using emissivities from the CHIANTI database and plasma parameters derived from a magnetohydrodynamic simulation leads to a spatially dependent emission spectrum that can be directly compared with observations. We find our simulated spectra to be consistent with observation.