OK, you’re the filter guy. Design a filter that attaches to the shunt to eliminate the ripple.
Edit
Frequency is 120 hz and input to adc is high impedance.
Well.... I did control circuits on industrial water filters, so it is not quite the same.....
I have thought a bit about what it would take to build a filter but not tried to put pencil to paper.
The best place to fix the problem is in the inverter.... but that is not an option. The next best place is to rebuild the meter to ignore the ripple, but that is not feasible either. That leaves two approaches
1) Filter out the ripple (Next best thing to fixing the inverter). The problem with this approach is that we are dealing with very large currents so the components for the filter will have to be large. The two 'simple' filters is a capacitor in parallel and/or an inductor in series. With the current we are dealing with, an inductor would have to be massive, so that is out. A very large electrolytic capacitor might help but I have not tried to figure out what 'very large' means. (Note: all inverters already have big banks of capacitors....)
2) Filter the ripple out of the signal between the shunt and the meter (Next best thing to fixing the meter). The current and voltages on this signal are very small, so building a filter might be a bit easier to do. However, if the load changes quickly, the filter would tend to 'hide' the changes. Consequently, you would want to be careful not to over-do it with the filter. (You would want a low pass filter that only targets the ripple frequency and above.) The other issue is that if the filter introduces any voltage drop between the shunt and the meter, the meter would constantly read low. (With something like Chargery where you can calibrate the system you
might be able to compensate for this)
I'll ponder on this some, but it is going to require dusting off my college training in filter design from a *long* time ago. Consequently, I am not sure I will do it.