In the most simplistic terms, the controller calculates the P, I, and D actions and multiplies each parameter by the error or E, which is equal to SP-PV in direct acting, as discussed previously. Then, all parameter calculations are added up to produce the Control Variable.