Calculating power required to drive a supercharger