Systems model of carbon transformations in soil subsidence