Engine RPM should not affect the compass calibration but engine RPM could vary Generator or Alternator output current (generator more than alternator). In a Cherokee Flite Liner, with the compass mounted in the panel at the left side, alternator output current very definitely affected the compass. Easy to demonstrate by flipping the alternator field switch on and off.