Lifting only the difference
At steady speed the motor supplies P = (car + load minus counterweight) x g x v. This model uses a 1,200 kg car, a 1,000 kg rated load and a 1,650 kg counterweight (car plus 45 percent of rated load). A positive imbalance means the car side is heavier.
This simplified version ignores acceleration, rope weight, friction and motor efficiency, all of which add some power in practice. The animation runs at half speed and cycles the car up and down.
When the counterweight is heavier
A lightly loaded car going up, or a heavily loaded car going down, means gravity is doing the work. The motor then acts as a brake, and regenerative drives feed that energy back into the building's electrical system instead of wasting it as heat.