In this article the methodology for the determination of the theoretical gamma spectrum originated by applying DGNAA (delayed gamma neutron analysis activation) techniques for the elemental analysis of ash from thermal power plants is exposed. This is a study must be prior to the experimentation in order to define the parameters of the test to obtain the optimal conditions for the detection of each element present in the sample.