With a knee replacement, is the limitation more of a strength issue or pedaling frequency issue?
Depending on the challenge, there are some different ways you can make it easier pedaling for your knee.
Personally, I prefer a hub-driven electric bike over pedal-assist-type electric bike.
My last electric conversion was capable of 40+mph and nearly 30 mile range on battery power.