An Extension of the Wilson Equation to Partially Miscible Systems