@staticmethod
def calc_speakman_co2(nd, no, kd, ko, pop_avg_rdil):
    """Calculate CO2 production in mol/hr using the equation of Speakman eqn 17.41 (1997)
                from dilution spaces and isotope turnover rates.
           :param nd: deuterium dilution space in mol
           :param no: oxygen dilution space in mol
           :param kd: deuterium turnover rate in 1/hr
           :param ko: oxygen turnover rate in 1/hr
           :return co2prod: co2 production rate in mol/hr
        """
    n = (no + nd / pop_avg_rdil) / 2
    co2_prod = n / 2.078 * (ko - kd * pop_avg_rdil
        ) - 0.0062 * n * kd * pop_avg_rdil
    return co2_prod
