I am running tests on a stepper motor used as a generator. The stepper motor is directly coupled to a motor, which I can control with an ECS. In the ESC's software, I can choose to drive the motor with constant speed or constant current, whereas I use constant current, which I think will put a constant mechanical power (torque vs rpm) at the input of the generator. My goal is to get as much power across the load as possible for a given power input. I will try to explain my understanding of the system:
The circuit equivalent of the generator is (considering one phase only)
where Rm=1.8ohm, Lm=2.5mH, and I have measured the voltage constant Ke to 39 V/kRPM (RMS). Let's assume that the input mechanical power is 10W, and that the generator speed is 1000 RPM. Let's also ignore Lm for simplicity. As the input power is 10W, I would think that the total power dissipated by the circuit is 10W as well. Then I would think that an infinite load resistance would assure that all of the input power is dissipated by the load, and not by the source. Is this correct? I assume there are some practical limitations here.
Bonus question: How can I simulate a voltage source with constant power with SPICE/LTspice?

