while the engine supplies constant power P