3000W PV / 24V = 125A
Midnight 150 @ 28.7V (for 24V system) = 2350 to 2700W, 94A max
Those are reasonably matched. With PV strings of a couple orientations you can reduce peak to where no clipping occurs.
How large a battery? If lithium with 0.5C charge limit, 94A / 0.5 = 188 Ah minimum.
Thing is, if battery temperature is cold, max current without damage is reduced. In that case you could be better off setting a lower charge current.
If you use all Victron equipment instead of a Midnight charge controller, then with battery shunt and the right other Victron monitoring and control equipment, the Victron charge controller can deliver all available current when inverter needs it, but throttle back when not needed, so battery charge current is limited to desired rate.