Do we have a formula for giving the deviations of the pressures from ideal, straightforwardly in terms of the heat of solution? Such as, the partial pressure

P_{i} of a constituent present in the molar fractional amount X_{i}

being given by

P_{i} = X_{i}P^{*}_{i}K

P^{*}_{i} being the partial pressure over the pure consituent, and K being a correction that is a function of the heat of solution only and is the same for all constituents, or is it more complicated than that? (For the moment I have ignored problems in the gas phase that would be occasioned by deviations of the vapor from ideal gas behavior, this approximation being acceptable if we are for the moment assuming low vapor pressures)