Calculating Solid-Fluid interaction energy

Dear all,

Greetings of the day!
I have computed P.E. of my system (solid+liquid) and individual P.E., i.e. of solid phase and liquid phase. So can I calculate Solid-fluid interaction energy by simply subtracting P.E. of liquid and solid phase from P.E. of whole system?

Thanking you in advance,