At all in one he has access only to charge current, (panels, generator, input) and battery current (battery port) he has no access to load current, some variants transfer power directly from generator to load via a 400vdc bus, and battery has a bidirectional insulated converter as PIP5048 for example, and others as well, he can not measure any current al lo voltage on load branch.
In such inverters battery acts as hi voltage virtual battery, he can measure generator current ,and load current on 400vdc bus at modulator`s input.
The battery node is on this 400vdc bus.
Using diodes on 24 and 48 v bus result in significant losses due to hi current, it needs large diodes with appropriate heat sinks.