copy of compare by petersimscale | SimScale