How errors should be manipulated for a PID control system in which control two parameters and as a result it takes two errors to calculate the input signal for the system?
Integral of Time-weighted Absolute Error (ITAE) can be used as a cost function for tuning PID, however, the question here is how to combine errors of two measured parameters to calculate PID output.