Developed a two-dimensional mathematical model of simultaneous heat and moisture transfer processes during the natural storage and drying of heterogeneous agricultural products in open areas. The mathematical model includes time-space variability of temperature and humidity, internal heat and moisture release, heat and moisture exchange with the environment, and also solar radiation. Based on an implicit finitedifference scheme with the second order in time and space variables, we developed an effective numerical solution for solving the problem. For studying and predicting the processes of heat and moisture transfer, software was created and experiments were done on raw cotton, making it possible to identify temperature and humidity changes at arbitrary points on the highhumidity raw cotton. Keywords: mathematical model, moisture transfer, heat transfer, heterogeneous porous media, finite-difference scheme, cotton