Low COD removal, what is the best for use as RO system feed?

H everybody.

We want to reduce COD from 50 to 10 ppm. Also the feed consisting of 12 ppm Oil should be removed. The effluent must be of quality to use as RO system feed.

Which ways may be best for this treatment?

Thank u all.