Skip to content
Energy Links Ghana

Inverters & Solar

How to Connect a Generator to an Inverter, and When It Will Not Work

· 11 min read · Energy Links Ghana

Yes, a generator can charge an inverter battery bank, but only if the inverter has an AC input designed to accept one, and only if the generator is both large enough and loaded enough. Those are two separate conditions and people usually fail the second one. A generator that comfortably runs your lights, fans and fridge may still make a poor battery charger, and a generator that is far too big for the charging job will quietly damage itself while doing it.

Here is what decides the outcome, in the order you should check it. It stops short of a wiring procedure, and the earthing section explains why that is not caution for its own sake.

First: does your inverter even have an input for this?

This question ends most of these conversations, and it takes thirty seconds. Three different things get called an inverter in Ghana, and only two can do this.

A plain inverter takes DC in from a battery and gives AC out. It has no AC input at all, so there is nothing to connect a generator to. The generator can only charge that bank through a separate external charger, wired by an electrician, which is a different project.

An inverter-charger, which is what most household backup units here actually are, has an AC input as well as an output. On mains it passes power through to your loads and charges the bank at the same time, and a generator presented to that input is just another source of AC. This is the case where the answer is usually yes.

A hybrid solar inverter often has two AC inputs, one for grid and one labelled GEN, and that terminal exists precisely because manufacturers know people do this. Deye, Sunsynk, Growatt, Luxpower, Solis and Victron all document a generator input. If yours is marked GEN, the manufacturer has answered the question.

Check the terminal markings and the manual before anything else.

Second: will the generator's output stay inside the acceptance window?

An inverter-charger does not accept any AC that arrives. It measures the voltage and the frequency, and if either wanders outside the window it is set to accept, it disconnects and runs on battery again. From the outside this looks like the inverter rejecting the generator for no reason, or cycling on and off every few seconds.

The window matters because generator output is less steady than grid output, especially on smaller sets under changing load. Frequency on a generator is set by engine speed, so when a big load switches on the engine momentarily slows before the governor catches up and the frequency dips with it. Voltage moves too. This is where the quality of the generator's own regulation matters: a set with a decent automatic voltage regulator holds its output far better under changing load, which is one reason the cheapest sets make the worst charging sources.

Three practical implications. The window is usually adjustable in the inverter's settings, and widening it slightly is legitimate while widening it a lot is not, because the window protects the connected equipment. A generator asked to do too much falls out of the window more often, which brings us to sizing. And if you have a stabiliser or AVR already, it belongs on the load side, not between the generator and the inverter. Why you need a voltage stabilizer in Ghana covers where regulation helps.

Third: the sizing problem, which is bigger than people expect

When a generator feeds an inverter-charger's AC input, the generator carries two loads at once: the charger pulling current to refill the bank, plus everything the inverter is passing through to your sockets.

The charger's draw is not small. A charger rated at several tens of amps on a 48V bank pulls well over a kilowatt from the AC side before efficiency losses. Victron's documentation for a 3,000 VA class unit puts it plainly: "The charger is around 2000 W", on their AC coupling page at victronenergy.com (Victron Energy, a Netherlands manufacturer, page last modified 2 November 2026). That is two kilowatts the generator must supply in addition to your lights, fridge and fans.

Add those together and the generator requirement climbs fast. This is why a set sized to run the house, chosen on the assumption that the inverter would be idle, falls over the first time it is asked to charge as well. Two ways out, both better than buying a bigger generator.

Use the AC input current limit. Almost every inverter-charger has a setting that caps how much current it draws from its AC input. Set it below the generator's safe continuous output and the inverter prioritises your loads and tapers the charging to whatever is left. The bank charges more slowly and the generator stops stalling. This single setting solves most real complaints about generators and inverters not working together.

Shed the heavy loads while charging. Switch off the air conditioner and the water heater during the charging window. What size generator do I need works through load assessment, and kVA to kW explained explains why the nameplate figure is not the figure you can use.

Fourth: will the generator be loaded enough? The light-load problem

This is the condition people do not know exists, and it costs money slowly.

A diesel running far below its rated output does not burn its fuel completely. Unburnt fuel and soot accumulate in the exhaust and the engine oil, a condition called wet stacking. The sources do not agree on where the threshold sits, so here is the spread rather than one figure presented as settled.

The Wikipedia article on the subject (Wikimedia Foundation, a United States non-profit, page last edited 25 January 2026) states that "For efficient combustion, a diesel engine should not be run under at least 60 percent of its rated power output", while the generator manual it cites for that claim says "It is extremely important to have electrical loads of at least 25% to 50% of the rated capacity of the generator's nameplate rating", and a patent quoted on the same page puts it at not less than half load. The published range therefore runs from about a quarter of rated output to about two thirds. It is at en.wikipedia.org.

All three agree on the direction, which is what matters: a big generator doing a small charging job is in exactly the wrong operating region. The same page notes the problem in generators "is usually because the diesel engine is running at only a small percentage of its rated output", and that unburnt fuel "leaks through the cylinders and dilutes the engine oil".

So the sizing is squeezed from both sides. Too small and it falls out of the inverter's acceptance window. Too big and it runs lightly and gums up. The sweet spot sits comfortably above the charger draw plus the pass-through load without being several times it, and your installer should work that out from your actual numbers. Light-load running is also why a neglected standby set becomes one that will not start: see generator servicing and why is my generator not starting.

Five checks before you connect a generator to an inverter

  1. The AC input. Confirm the inverter has one, and whether there is a separate terminal marked for a generator. No input means no connection, and a different solution.
  2. The acceptance window. Check what voltage and frequency range the inverter will accept, and whether your generator's output stays inside it under changing load.
  3. The total draw. Add the charger's AC-side draw to everything the inverter passes through to your sockets. That sum, not your household load alone, is what the generator must carry.
  4. The input current limit. Set the inverter's AC input limit below the generator's safe continuous output, so charging tapers instead of the engine stalling.
  5. The earthing arrangement. Whether the generator's neutral should be bonded to its frame changes depending on how it is connected, and getting this wrong is a shock risk rather than an inconvenience. This one is not a do-it-yourself item.

The earthing question, and why this article stops here

Everything above you can check yourself with a manual and a calculator. The connection itself is different.

When a generator feeds a building through a transfer arrangement, whether its neutral is bonded to earth at the generator depends on whether it has become what the regulations call a separately derived system. United States construction regulation states the principle plainly: under 29 CFR 1926.404, paragraph (f)(3)(iii), "A neutral conductor shall be bonded to the generator frame if the generator is a component of a separately derived system", published by the Occupational Safety and Health Administration of the US Department of Labor at osha.gov.

That is United States construction regulation, cited for the general principle: the correct bonding depends on the system configuration and cannot be decided from a diagram on the internet. It is not offered as a rule for Ghana, and this article publishes no Ghanaian arrangement, because Ghana's own wiring regulation text was not obtainable from any source we could verify.

Get it wrong one way and you have two earth-neutral bonds in parallel, putting current where it should not be and potentially stopping protective devices working. Get it wrong the other way and a fault may not clear at all. Signs of poor earthing covers the symptoms, and they are not ones to learn by experience.

Have a qualified electrician do the connection and confirm the earthing arrangement for your installation. That is the only responsible answer, and it is the one our own engineers follow on site.

Where this stops, and where solar fits

One boundary is worth drawing. Connecting a generator to an inverter's AC input presents a source to one terminal on one piece of equipment. Transferring your building between grid and generator is a different job with different hardware, sitting upstream of everything here: changeover switch or automatic transfer switch covers it. Many installations have both, which is why the two get confused.

With solar in the mix this often makes good sense. A hybrid system in Accra has a predictable weakness: a long run of overcast days during the rains, when the array underproduces and the bank never gets back to full. A generator on the GEN input, used occasionally, covers that gap without oversizing the array for the worst week of the year. Hybrid, off-grid or grid-tied covers the architecture choice.

What you should not do is make the generator the everyday charger for a bank being cycled hard. Fuel is an expensive way to make battery charge. Inverter battery maintenance covers what a bank needs.

Frequently asked questions

Can any generator charge an inverter battery?

Only through an inverter with an AC input, or a separate external charger. The generator is rarely the limiting factor; the inverter's input and the generator's size and regulation quality are.

Why does my inverter keep rejecting my generator?

Almost always because the generator's voltage or frequency is drifting outside the acceptance window, often because the engine is loaded too heavily. Reduce the AC input current limit, shed heavy loads, and check the window settings.

Will it charge and run my loads at the same time?

Yes, and that is why the generator must be sized for both. The input current limit controls how the available current is split.

Does a petrol generator work for this?

It can, and small petrol sets are less exposed to the light-load problem than diesels. They tend to have poorer voltage and frequency regulation, so the acceptance-window issue bites harder.

My generator runs the house fine. Why is the inverter struggling?

Because the inverter adds a load the house did not have. The charger's draw sits on top of your existing load, and that sum may exceed what the set can hold steady. How to calculate UPS backup time covers the related arithmetic.

Get it designed rather than improvised

Every individual step here looks simple, and the interactions are what catch people out: a window setting that is fine until the engine is loaded, a generator sized for the wrong total, an earthing arrangement that works until there is a fault.

Energy Links stocks EAST, Inform and Siel UPS systems and Ortea AVR and stabilizers, along with Power Star, and our engineers do the site survey, the installation and the after-sales servicing from our base in Mamprobi, Accra. If a generator is part of the picture, see our 150kVA generator listing, or our stabilizers if the regulation side is the problem.

Get in touch and we will work out the sizing from your real load and confirm the connection properly, or browse the shop to see what we carry. Costs depend entirely on what is already installed, so we quote after a survey rather than before one.

Need help choosing the right equipment?

Our engineers will size it against your actual load, not a guess.

Talk to us