Originally Posted by
rm -rf
Zwift does it, using the known power curves for various bike trainers. The only (small) variable here is how much power is lost with tire flex. Otherwise, it's strictly how fast the trainer is spinning, measured using rear wheel revolutions per minute.
No wind resistance or gravity effects at all.
For instance, Kurt has this power vs speed chart. 400 watts at 25 mph, for example.

Which is why this works on a trainer but not on the road.