I got a problem when writing a MD code. When I run a NVT MD simulation, the total energy keeps going up and leads to abnormal termination. I found that it 's the reciprical space part of energy in Ewald Sum that keeps increasing. This part of energy should be potive, right? What should I check for error? Thanks!