def adsorption(CGF, CGRA, CET, cg, epsl, KdF, KdR, KI):
    """
    Adsorption equilibrium of enzyme between facile and recalcitrant glucan,
    and accounting for inhibition by glucose (and other sugars if present)

    """
    CEGF = CET/(1 + KdF/KdR*CGRA/CGF + epsl*KdF/CGF*(1 + cg/KI))
    CEGR = CET/(1 + KdR/KdF*CGF/CGRA + epsl*KdR/CGRA*(1 + cg/KI))
    return CEGF, CEGR