Contribution to the development of radiative transfer models for high spectral resolution observations in the infrared