I am using the VMD plugin QwikMD to do MD simulations of my protein-protein complexes. Hereafter I am using the NAMD2 analysis to calculate my total energy of the system along with all of the other energies. I want to find out whether my reasoning is correct: If I have protein A, B and the complex AB, would it be correct to take the interaction energy as the average total energy of each separate simulation and have Binding energy = energyAB - energyA - energyB? I am also doing a simulation in the presence of metal and without metal where binding energy would be BE = MetalBound - MetalFree. Is this the correct approach for a simple estimate of binding energy?