Dear ema
1° COD in range 20 - 40 mg/l typically stands for a TOC of 5 - 10 mg/l. This is -/+ the lower limit for reliable TOC-concentration measurement. Wheater or not a TOC-analyser is able to do the job in your application, depends mainly on the rest of the waste water. Check with a supplier of TOC-analysers.
However, I understand that your application is mainly fast detection of peak loads (e.g. in order to close the normal discharge and to activate an emergency buffer tank or activate the emergency discharge to the city sewer system). Normally this is not a problem.
(Also : it is a good idea to check if the peak loads can be detected also by a shift in pH or conductivity; this leads to a solution which is much cheaper).
2° Design of emergency buffer tank.
Everything depends on the origin of the peak loads. So first step is anyhow to gather some facts and figures about origin, frequency, and composition of the peak loads.
- If the origin is well known, then generaly a solution that avoids or buffers the peak loads at the place where they are formed is much cheaper.
- If the origin is not known, then design is based on frequency and composition of the peak loads. Design of the buffer tank is based on the volume that must be contained, not on the actual COD-load. In the US, design guidelines for storm water systems could be an inspiration.