Comparative study on equivalent models calculating magnetic force between permanent magnets