The gravitational potential system owing to the payload mass is given by the following equation. The system's total potential energy (
V
) is, then, the sum of the potential energies over all the links and the energy due to the payload.