The modes of release of available potential energy in the atmosphere