# Wire Sizing for added generator to Battery backup Gridtied system?

Posts: 86Registered Users ✭✭
Is there a calculator that can help me size the wire needed from the generator to the manual transfer switch?
I have a battery backup  grid tied system and want to add a generator for a secondary backup to the PV panels, especially if they can't charge the batteries using the panels.
The generator I have is a Ryobi 6,500-watt.    I figure I can add a manual transfer switch between the generator and SMA Sunny Island and manually switch on the generator when needed if the grid goes down.  The wire run will be approximately 35 feet from the generator to the transfer switch.  I'm thinking of placing the transfer switch next to the Sunny Island.

Assuming you are in the US, then an NEC (national electric code) book is really what you need.

This is a full blown NEC based calculator:

http://wiresizecalculator.net/

You probably need the NEC code book to run it well... There are lots of variables.

The basics... What is the maximum current you want to run from the genset... Say:
• 6,500 Watts / 240 VAC = 27 amps max continuous
The conservative number would be to multiply the 27 amps * 1.25 NEC "continuous current" derating = 34 amps (round up to 40 amp standard breaker+wiring).

A non-commercial genset will probably not be able to maintain 27 amp output without eventually overheating its wiring/alternator (running hours at 27 amps). Running 1.25x rated wiring is probably "overkill" (you need to decide what your loads will be--If much less than 27 amps, or close too it--especially if you add a larger genset later). Note that most loads are not very large or short term high current (starting well pumps, refrigerators, etc.). However, AC Battery charging can go many hours at maximum rated AC input current (and DC output current) for the AC to DC battery charger... So, for those circuits, you really do want the 1.25x NEC wiring+breaker derating. Otherwise you can get false trips (breakers) or overheated wiring connections (breaker connections, wire nuts, etc.).

Then you need to figure out what insulation/conduit fill/temperature of wiring you want to use (can get from your local supplier for a reasonable price). Roughly, 40 amps would look like:

https://lugsdirect.com/WireCurrentAmpacitiesNEC-Table-301-16.htm

 Size Copper Conductors 60° C (140° F) 75° C (167° F) 90° C (194° F) AWG Kcmil Types Types Types TW RHW TBS UF THW SA THWN SIS XHHW FEP USE FEPB ZW RHH THHN THWN XHHW 18 - - 14 16 - - 18 14 1 20 20 25 12 1 25 25 30 10 1 30 35 40 8 40 50 55 6 55 65 75 4 70 85 95 3 85 100 110 2 95 115 130 1 110 130 150 1/0 125 150 170

Or somewhere around 10-8 AWG (ignoring other NEC factors).

You can verify the voltage drop using a simple calculator like this (27 amps, 35 feet, 240 VAC, 3% to 1% voltage drop):

http://www.calculator.net/voltage-drop-calculator.html?material=copper&wiresize=5.211&voltage=240&phase=ac&noofconductor=1&distance=35&distanceunit=feet&amperes=27&x=62&y=7
12 AWG:
Voltage drop: 3.00
Voltage drop percentage: 1.25%
Voltage at the end: 237

http://www.calculator.net/voltage-drop-calculator.html?material=copper&wiresize=8.286&voltage=240&phase=ac&noofconductor=1&distance=35&distanceunit=feet&amperes=27&x=56&y=6
14 AWG:
Voltage drop: 4.77
Voltage drop percentage: 1.99%
Voltage at the end: 235.23

So, the above 10-8 AWG able (required by code to carry current) is more than heavy enough to carry the current with "acceptable" voltage drop.

-Bill
Near San Francisco California: 3.5kWatt Grid Tied Solar power system+small backup genset
• Posts: 86Registered Users ✭✭
Bill,
Thanks for the detailed info.  I really appreciate you taking the time to help me.  I'll go with the 8 AWG, just incase I upgrade the generator at a future time.
Do you have a recommendation for a manual transfer switch.  Looking at the wiring I have now, I'll need to bring the AC line from the main panel (where the meter is located) and tie it into the transfer swith with the generator, then take the ouput to the SMA Sunny Island AC2.  I should be able to flip the transfer switch when the grid goes down to charge the batteries when the PV panels are lacking because of weather, etc.... ..
There are lots of transfer switches out there... From manual, to "simple" relay, to full blown autostart genset controllers.

The "simple" AC relay (you power up genset, relay turns on in 6 seconds (or whatever it is)), then you have AC power from genset.

Wire the AC battery charger on the "up stream side" of your AC transfer switch (you don't want your AC battery charger pulling power from your off grid AC inverter--that is a bit of waste of energy battery bank using AC battery charger to charge itself).

https://www.solar-electric.com/pmts-50.html (relay)
https://www.solar-electric.com/midnite-solar-60-amp-240-volt-dual-ac-manual-transfer-switch.html (manual)

There are also "per circuit" manual AC transfer switches:

https://www.amazon.com/Reliance-Controls-Corporation-31406CRK-Generators/dp/B000BQN4T2

Nice if you have a mix of circuits that you may or may not want to run on genset.

Lots of choices out there--In the end, I suggest doing a couple of paper designs and figure out the cost/benefits between the different options.

I suggest staying away from "auto start" generator controllers unless you really need that--The more complexity, the more wild and wonderful ways things can fail.

-Bill
Near San Francisco California: 3.5kWatt Grid Tied Solar power system+small backup genset
• Posts: 7,874Solar Expert ✭✭✭✭
Are you using the generator as a 120V "max power" generator, or a 240V generator ?   Some gensets are switchable to place their windings in parallel to get lots of 120V current
Powerfab top of pole PV mount | Listeroid 6/1 w/st5 gen head | XW6048 inverter/chgr | Iota 48V/15A charger | Morningstar 60A MPPT | 48V, 800A NiFe Battery (in series)| 15, Evergreen 205w "12V" PV array on pole | Midnight ePanel | Grundfos 10 SO5-9 with 3 wire Franklin Electric motor (1/2hp 240V 1ph ) on a timer for 3 hr noontime run - Runs off PV ||
|| Midnight Classic 200 | 10, Evergreen 200w in a 160VOC array ||
|| VEC1093 12V Charger | Maha C401 aa/aaa Charger | SureSine | Sunsaver MPPT 15A

solar: http://tinyurl.com/LMR-Solar
gen: http://tinyurl.com/LMR-Lister ,

• Posts: 86Registered Users ✭✭
I'll be using the generator as a 120V "max power" generator.  I want to use the generator with the grid tied SMA SunnyBoy/Sunny Island to charge the 48V battery bank on days the PV panels can't.

If I get the https://www.solar-electric.com/pmts-50.html (relay)  as Bill has suggested, What other components do I need to purchase besides a 50 Amp Power  inlet Box and wiring?

The SMA Sunny Island has a Digi In, which needs to be wired to a relay (PowerMax PMTS-50 Automatic AC Transfer Switch 50 Amp  --I  assume this will function with the Sunny Island).  Once the Grid goes down the relay needs to act as a switch either removing or applying the battery voltage.  You can see a short video here:

Will the PMTS-50 function with the Sunny Island's Digi In?

Check how the genset is configured... I.e., 27 amps at 120/240 VAC (split phase) and 54 amps at 120 VAC single phase (i.e., you can parallel the two sets of windings together). Not many genset support that 120 VAC only configuration.

The relay I pointed to is powered by the AC line voltage. It sounds like the SMA S. Island has a (12 VDC?) output to control external relay(s)?

When you start building bigger systems like--The complexity can be an issue. Make sure you have drawings (yours or from the vendor/installer) that show how everything will be connected and what parts you will need.

This requires a fair amount of pre-planning to "get right" the first time.

-Bill
Near San Francisco California: 3.5kWatt Grid Tied Solar power system+small backup genset
• Posts: 1,048Solar Expert ✭✭✭
What I like about this forum is that others are doing the same projects as I. am either going to get a ms 4024pae magnum inverter and ac couple it or just use the magnum  ms4024AE inverter and charge my batterys with charge controlers.  Otherwise I want to do the same project as midijeep. I am interested in getting a reliance controls pro tran transfer switch and wire it into service panel. for the important circuits that are most needed . I also have a transfer switch that you can either get power from grid or generator but not both at same time. It also has a 15 amp ground fault breaker with a 120 volt outlet and  a surge suppressor built in. And space left for another 240 volt breaker and single breaker. I plan powering this transfer switch from inverter and installing another breaker and connecting to the pro-tran transfer switch. There is a 240 line from service panel connected to the magnum for battery charging. I can see that the poster wants the ability to use generator to charge his batterys when the solar is low. Since he is grid tied I think he could use the battery charger in the inverter to charge the battery. lots cheaper than using generator. I thank bill and others for ideas about dc water heating  and am learning about others posts. When I know or learn more I will post to the post about this subject.
• Posts: 1,048Solar Expert ✭✭✭
midijeep.  I contacted reliance electric support this morning to see if it was feasible to use their pro-tran  transfer box.  I ask a couple important questions before I decided that I am going to use their transfer box.  The person I communicated with name is Nick schmal. He was very excited about this kind of supplemental power system in play. You can wire the protran transfer box into your main panel and hardwire your inverter to the transfer box. Just make sure you have ground neutral and line 1 and line 2 connected from inverter to transfer switch. He said if you want to supply some of your circuits you just leave the switch and circuit breaker in the transfer box turned on.  and the circuit breaker in the service panel turned off for cir cuits you supply power to. If your battery bank is getting too low because of cloudy days you can just turn off all circuit breakers  and switchs in transfer       box and turn on the circuit breakers in your grid service panel. This is all manually controlled.  If anyone is interested there are lots of youtube vidios from reliance electric on how to wire the  reliance transfer box to your service panel. I didn,t want to hijack your post but I thought this is relative to what we both want to do. Hope this helps. solarvic
• Posts: 86Registered Users ✭✭
Thanks for the info solarvic.  I'm going to go over to youtube and see if this will work with my setup.  My SMA Sunny Island needs to be connected to a 12ov relay that is connected to the grid.  when the grid goes down the Sunny Island will know by the relay switch and has a setting that lets the Sunny Island know if a generator is available when the grid goes down.  I'll come back after I watch some videos. Thanks again!
• Posts: 86Registered Users ✭✭
edited March 2017 #11
I looked at the reliance transfer switches.  My only concern is wiring in a 120v relay coming from the the Grid, then wiring the other end to the SMA Sunny Island DIGI IN.  Wondering if I can run out of one of the reliance circuit breakers to the 120v relay?  if the grid goes down, then the relay will switch and let the Sunny Island know the grid is down and the generator is available?  Does this sound right?
• Posts: 1,048Solar Expert ✭✭✭
The reliance has to be operated manually when the grid goes down. When you pick the circuits you want to pass power from the inverter thru the reliance  to the service panel you turn off the circuit breaker in the service panel. On the reliance there is a circuit breaker and a switch that you turn on  and then you can transfer power to the service panel circuit.  I  think it is this way so you can not back feed thru the reliance back to your inverter.  I am not an electrician but the guy From reliance explained this all to me. I was thinking if you need to use 120vac from grid to let your relay know the is down,  My suggestion might work? Use an outlet that is powered by the grid that you are not going to power with the inverter. If the grid goes down then your inverter will know the grid is down. Also if your lights go out it is an indication that the grid went down.  I am not very familiar with the kind of inverter you have. My magnum inverter has a regular 240 vac from service panel  to inverter and  charge battery from inverter if you need to. That is how it knows when grid is down.  The inverter has another 240 vac output to supply power to the loads you want to send to.  Solarvic
• Posts: 86Registered Users ✭✭
edited March 2017 #13
Anyone have an ideal what would be the best way to connect the 120v relay to the "grid" ? One end of the relay connection would need to go to the Sunny Island DIGI IN and the other end to a 120V source.  This would  close the relay when the grid goes down.  Could I wire in the 120v source to the breaker panel (non-essential panel)?

I have purchased these components:

Auxiliary Relay:
Dayton Ice Cube Relay SPDT (Single Pole Double Throw) With 120 V Coil (Part # 1EHC4)
5 Pin Socket For Dayton Ice Cube Relay (Part # 1EGP6)
Thanks.