Solar and shore power together
I have a houseboot with 8 solar panels. During summer we are entirely self-sufficient from a power point of view. In the winter we run on shore power in a Harbor. This means we get all the expensive electricity from the harbor and do not use the sun unless the requested power exceeds the 10A set as maximum input.