A one-dimensional model has been developed reproducing the basic thermodynamic and biogeochemical processes in lakes. Inter alia, the model simulates the fluxes of greenhouse gases - methane and carbon dioxide - into the atmosphere. Within the framework of the model, a parameterization of internal gravitational oscillations in lakes — seiches — was proposed. The model was tested using observational data on lakes in Finland, Germany, Russia, USA, Japan.