basic simulation for potential calculation