I'm trying to estimate the power consumption of an in-wheel electric motor. I used the formula
$$P = T\cdot\omega + K_m\cdot T^2$$
where T is the torque, ω is the motor angular velocity and \$K_m\$ is a constant who takes into account power electronics and motor copper losses. I plotted the power over time.
Is this the right way to calculate the power consumption? How can I treat this topic in a not too detailed but exhaustive way?
All the best.