E(λ)=Eproteinbox+Ewaterbox+EligandA+EligandB+(1-λ)(Eproteinbox:A+Ewaterbox:B)+(λ)(Eproteinbox:B+Ewaterbox:A)