I am a system integrator with experience in PLC controls. I have a basic understanding of air washers and their sensors, but I don't know what PID loops are needed or what feedback is used to control the elements. For example, what is monitored to control the temperature of the chilled water...
DON1 had the right idea but to restate:
Error = Input - Setpoint (or Setpoint - Input)
ErrorTotal = ErrorTotal + Error (once per integral timeframe)
ErrorNew = Error - LastError (once per derivative timeframe)
LastError = Error (once per derivative timeframe)
P = Error * Pgain
I = ErrorTotal...