RCD sensitivity Victron AC In from Generator

Good day everyone . The 30ma rcd sometimes trips when the generator is running and charging the batteries via the multis .

It’s located between the generator and the ac input on the victron

The generator is located about 40 meters away outdoors .

Should I go 100 or 300ma .type ac sufficient ?

Thank you