30m to the CT ought to be no issue (does the inverter manual have a distance limit?) using 4 cores of the Cat-6 per side, although I'd probably use a 2-core flex (maybe 1.0 or 1.5mm2) rather than the Cat-6, keep it reasonably separated from the power cables.
What you have drawn should function...