So what's wrong with avoiding all the technology, and just run your generator???
If you have a crew onboard you can indeed run a generator all day long........if you want.
But since we are with just 2 onboard and I don't want to sleep with a generator running, I have to switch it off, even if the boat needs power. Yes, the generator will shut itself down if anything goes wrong, however if a raw water hose ruptures or if something electrical goes wrong, I won't be there, simply because I am asleep.
So my rule is no running machines or engines when we are both asleep.
And then of course there is the noise and pollution. I don't want to sit in an anchorage and have to listen to the generator all day long. I also don't want exhaust fumes polluting the water where we want to swim.
And lastly there are the cost of running a generator or taking shore power in a marina. Having to run the generator for us means running it 12 hours a day for roughly 270 - 300 days a year. At 3 ltrs per hour that would be close to 10.000 liters of fuel each year at a cost of about 13.000 - 15.000 euro.
Plugging into shore power in the Med will cost you about 1 euro per Kwh nowadays, so if your boat needs 20 Kwh per day that will be a 600 euro electricity bill each month.
Solar costs me the cost of the panels (nowadays about 100 euro a piece) and the cost of the MPPT controllers (about 160 euro a piece and I have 5 of them. So the panels and the MPPT controllers did cost me a total of around 2000 euro. I then had a frame made of stainless steel and that doubles as a davits system for the dinghy. That frame cost 5000 euro, so in total I paid 7000 euro to have 3.2 Kwp in solar on my boat.
And because of that solar I hardly use the generator anymore, I don't need shore power, so I am saving myself, each year, around 15.000 euro. In other words those panels pay themselves back in half a season.
That is the reason why I invested in solar. It is quiet, it does not pollute, I can charge my battery of my electric outboard and it provides free electricity. The cost of fuel and electricity in a marina will not come down, it will only go up, so my savings will just grow and grow.
Therefore, on the next boat I will install it again, probably even more solar panels.
However, if you only use your boat during the weekend and then only in the summer, in an area where there is hardly any sun...........then indeed it is cheaper and easier to run the generator all the time. Even if you would take the boat out for a week it would be still ok to run the generator, as long as you can shut it down during the night.