I would start with the simplest possibilities. Check the pre-filters for fouling, check the feed pump performance and flow restrictions before suspecting the membranes.
A gradual reduction in output is often caused by filter issues or membrane fouling rather than a major component failure. If the unit has sat idle for a long period without pickling then issues arise.
If it is DC powered check that voltage is correct, check connections are clean and tight