Methods and systems are disclosed to determine total hydrocarbons from fluid-carrying fluids and solids from a geological formation during downhole operations. Gas extraction at a well site occurs through a gas extractor at a set pressure, detected temperature, detected density, and controlled volume rate. The quantities of various components of interest are determined from samples of fluid influent and effluent from the wellbore by solving a system of equations of state using a group contribution equilibrium model. Knowing approximate chemical compositions of the liquid fluid and solid phases before contamination with formation materials, with the detection of the gas phase and description of the solid phase from the geological formation, allows for determination of total detectable hydrocarbons from geological formations at the surface, and their concentrations to be expressed as mole or mass fraction for materials coming from a wellbore while downhole operations.
展开▼