the control action u[k] sets the boost converter switch conduction time, defined in (17). The adder in (20) can be implemented using a variable that accumulates the error sum for each sample. In (21) the variable S is used to accumulate the error sum.