... The documents Tom posted seem similar to the paper that say fuzzy logic is better than a PID. Nothing is said as to why the PID failed. I can guess why. ...
First, I agree with you that fuzzy logic is a scam. I've never used it.
You don't have to guess why PID failed - I stated clearly that the issue is tuning.
1) The operators and engineers working with these systems are not controls experts, and their tuning skills will not match yours.
2) Because of the huge load changes and changes in mass transfer characteristics the tuning that provides stable and responsive control at midnight won't do the job at 8:00 AM and neither will do the job at noon.
Your concern about wastewater flow is a red herring. Oxygen demand from the organic load and the mass transfer characteristics of oxygen into the mixed liquor determine the relationship between airflow rate, the manipulated variable, and dissolved oxygen concentration, the controlled variable.
I've done feed-forward control, based on a process model. (See the attached paper) To make it work you need to have continuous real-time info on both the load and the oxygen transfer characteristics. This data isn't available in most plants, and the instrumentation I invented to provide it is too expensive for most of the market.
With all due respect, most temperature and motion control tasks are comparatively simple with regard to the number of variables of influence. Here is a
partial list of the factors that influence process response when controlling airflow to maintain a desirable dissolved oxygen concentration:
Actual O2 concentration (higher actual dissolved oxygen decreases O2 transfer efficiency)
Mixed liquor suspended solids (amount of microorganisms) concentration
Wastewater Temperature (higher temperature both increases biological activity and decreases O2 transfer efficiency)
Air Temperature (affects air density)
Oxygen transfer efficiency of aeration device (varies non-linearly with airflow through the diffusers)
Surfactants and dissolved solids in the mixed liquor (affects oxygen transfer efficiency)
Organic load (higher load, of course, means more O2 demand)
Characteristics of load - simple vs. complex organics, amount of ammonia vs. organic compounds vs. H2S, etc. (each compound has a different O2 demand, and some compounds have specific organism requirements with differing metabolic rates)
Hydraulic residence time (at last we get to influent flow, which is what neophytes tend to fixate on, erroneously)
Each of these factors will vary continuously in the typical treatment plant, with 2:1 ratios on a good day and 4:1 or 5:1 common occurrences.
I won't argue with your elegant mathematics, and frankly, I'm not competent to do so.
To tell the truth I don't care about control theory. I will only state that for over forty years I have observed that consistently PID controls are not successful and the rude, crude inelegant methods I espouse are. You may be right in stating that is a result of ignorance on my part, and of the industry as a whole. I don't care.