The energy and baryon densities in heavy-ion collisions are estimated by an
alytically solving a (1 + 1)-dimensional hydrodynamical model with source t
erms. In particular, a competition between the energy and baryon sources an
d the expansion of the system is discussed in detail.