Moist static energy

From Glossary of Meteorology

moist static energy

A thermodynamic variable (analogous to equivalent potential temperature) calculated by hypothetically lifting air adiabatically to the top of the atmosphere and allowing all water vapor present in the air to condense and release latent heat:

where g is gravitational acceleration, Lv is the latent heat of vaporization, Cp is the specific heat at constant pressure for air, T is absolute temperature, z is height above some reference level (either the local surface at z = 0 or the height where the ambient pressure is 100 kPa), and r is the water vapor mixing ratio in the air.
Compare dry static energy, liquid water static energy, saturation static energy.