Cloudy is a large-scale spectral synthesis code designed to simulate fully physical conditions within an astronomical plasma and then predict the emitted spectrum. The code is freely available and is widely used in the analysis and interpretation of emission-line spectra.
You can obtain the citation for your version of Cloudy by running the code and including the command PRINT CITATION in the input stream.