Lähetä tietue sähköpostilla: Generalized chemical model for plasmas with application to the ionization potential depression