How is Zwift calculating speed

Pair your trainer as power and read this: How Does Zwift Determine My Speed?