Mike Dolt Enterprises Logo Mike Dolt Enterprises

Topic: Properly Grounding and Protecting a Solar Farm in Nigeria

User: gbradford, Location: Durham, NC

Asked on: Wednesday, June 11, 2025 at 9:54 am EDT
Answered on: Wednesday, June 11, 2025 at 10:10 am EDT

Question: Hello all,I work with a startup company building solar microgrids in Nigeria. We've built a few grids in the 100 - 300kW range, and our grounding and lightning protection systems were set up by a local contractor. In the last year we've had lightning strikes at 2 of our sites, and I want to make sure our protection systems are really up to a good standard. I've looked through a lot of posts on this forum and elsewhere, and I'm seeing conflicting advice for how to best ground the entire solar+inverter system and how to best protect from lightning (without breaking the bank).Our systems are all ground mount on relatively level ground with trees and buildings usually nearby. Some are within populated areas, and others are more removed. Each site has a small "grid house" that has rooms for the inverters and batteries.An important note: While code compliance is generally useful, since code is not very regulated where we are installing, my goal is actual functionality vs code compliance. I want our grounding/lightning systems to work to protect people and equipment, not to comply with code regulations.Here are my open questions:1. Do we need to use ground lugs and bare copper wire to ground panel racks if the earth resistance measured on the racks themselves is already low?2. If we do use bare copper and ground lugs to ground the panels, should we connect the copper wire to ground rods located near the panel arrays? Or should we connect the wire to the ground rods used to ground the inverters at the grid house? (The distance between the arrays and grid house varies, but can be from 5 to 100 meters)3. Our default is to install 1x surge protective device (SPD) on each set of wires running between the panel arrays and inverters. Do we need additional lightning protection such as lightning rods or air terminals?I know it's difficult to give exact answers without knowing the full setup of the systems, but any general principles and advice are appreciated! Again, the goal is functionality, not code compliance! Thanks in advance!

Okay, let's address your questions about grounding and lightning protection for your solar microgrids in Nigeria, focusing on functionality and practical considerations.

Important Considerations Before We Start Soil Resistivity

This is the single most critical factor in designing a grounding and lightning protection system. Different soil types (clay, sand, rock, etc.) have vastly different resistance to electrical current flow. You need to perform soil resistivity testing at each site to properly design your system. This is usually done with a four-point Wenner test.


Local Lightning Patterns

Nigeria has areas with very high lightning activity. Understanding the frequency and intensity of lightning strikes in your specific regions is crucial. Historical data and local meteorological information will be very helpful.

Human Safety

Protecting people is paramount. Assume that the system
will be hit by lightning eventually and design accordingly.

Cost vs. Risk

There's always a trade-off. However, remember that the cost of replacing damaged equipment and potential injury or loss of life will far exceed the cost of a robust protection system.

Maintenance

Lightning protection systems require periodic inspection and maintenance. Design for ease of access and inspection.

Addressing Your Questions
1. Panel Rack Grounding with Low Resistance



The Principle

The purpose of grounding the panel racks is to provide a low-impedance path to earth for fault currents (e.g., a short circuit from a panel to the rack) and for induced currents from nearby lightning strikes. Low impedance, not just low resistance is the goal.

Low Resistance Doesn't Guarantee Safety

Just because the rack itself shows low resistance to earth
right now doesn't mean it will stay that way. Corrosion, loosening of connections, and changes in soil moisture can all increase resistance over time. Furthermore, low DC resistance does not necessarily equal low AC impedance, which is what matters most for lightning protection.

Recommendation: Bonded Connection is best Practice, but consider alternatives
While a bonded connection with ground lugs and bare copper is typically best practice, the cost may be prohibitive for you. Consider galvanized steel conductors bonded to the racks with mechanical fittings. Steel has a higher impedance than copper, so the conductivity would be lower, but if copper theft is a concern, it's an alternative to consider. Minimum Recommendation (If Budget is Tight)

At a minimum, inspect all mechanical connections (bolts, clamps) on the racks thoroughly and ensure they are tight and free of corrosion. Consider applying a conductive anti-corrosion compound. Measure resistance regularly (at least annually) and document the results. If resistance starts to climb, take corrective action. Focus first on grounding the inverters and grid house well.

Note

If you have thin-film panels, the panel frames MUST be grounded as they provide the ground for the panel itself.2.

Connecting Panel Rack Grounding to Ground Rods



The Goal

To create a low-impedance path for fault currents and lightning-induced currents to dissipate into the earth.


Option 1: Separate Ground Rods Near the Arrays



Pros

Potentially shorter path to ground for lightning currents induced
directly into the array.

Cons

Increases cost and complexity. Can create a potential difference between the array ground and the inverter ground, leading to ground loops and circulating currents if not done correctly.

Option 2: Connecting to Inverter/Grid House Ground



Pros

Centralized grounding point, potentially simpler installation.

Cons

Longer conductor length increases impedance, especially to high-frequency lightning currents. The ground system must be robust enough to handle both inverter fault currents and lightning strikes.


Recommendation



Bond Everything Together!
The best approach is to create a grounding ring around the entire site. This means connecting the panel array ground rods, the inverter ground rods, and the grid house ground rods together with a continuous buried (or heavily insulated above-ground) conductor. This equalizes the ground potential across the site and provides multiple paths for fault and lightning currents to dissipate. Use exothermic welding ("Cadwelding") or high-pressure crimp connections for all ground connections to ensure long-term reliability.

If a full ground ring is not feasible, prioritize connecting the panel array ground to the inverter/grid house ground. Use the shortest, straightest path possible and a sufficiently large conductor (e.g., at least 50mm^2 copper or equivalent).3.

Surge Protective Devices (SPDs) and Additional Lightning Protection



SPDs are essential, but not a complete solution. SPDs protect against transient voltage surges by diverting excess current to ground. They are a critical part of a lightning protection system, but they are not sufficient on their own.

Location of SPDs

Placing SPDs on each set of wires between the panel arrays and inverters is a good starting point.
Ensure these SPDs are properly rated for the voltage and current levels in your system, and specifically designed for photovoltaic applications. Consider adding additional SPDs: At the main DC disconnect. At the AC output of the inverter. At the AC service entrance to the grid house. On any communication or control wires that enter or exit the grid house.

Lightning Rods/Air Terminals



Principle

Lightning rods (air terminals) are designed to intercept a lightning strike and safely conduct the current to ground, preventing it from striking other equipment or structures.


Do you need them? Probably, yes. Especially if your sites are located in areas with high lightning activity. While SPDs will clamp voltage spikes, they will not protect against a direct lightning strike.

Placement

Follow the "rolling sphere" method to determine the proper placement of air terminals. This method considers the height of the structure, the radius of the "rolling sphere" (based on the desired level of protection), and how the sphere "rolls" around the structure to identify areas vulnerable to direct strikes.


Down Conductors

Each air terminal must be connected to ground via at least two down conductors. Use heavy-gauge copper or aluminum wire (e.g., 50mm^2 or larger) for the down conductors. Route the down conductors as straight as possible and avoid sharp bends.

Grounding System for Air Terminals

Connect the down conductors to a dedicated grounding system (e.g., ground rods connected in a ring around the protected structure) and bond this grounding system to the main grounding system of the solar array and grid house.


Specific Note on Grid House

The grid house is particularly vulnerable as it contains sensitive electronic equipment. Give the grid house lightning protection system extra attention.

Key Recommendations (Prioritized)1.

Soil Resistivity Testing

Perform soil resistivity testing at each site to determine the appropriate grounding system design.2.

Inverter and Grid House Grounding

Ensure a robust, low-impedance grounding system for the inverters and grid house. Use multiple ground rods, exothermic welds or high-pressure crimp connections, and a large-gauge grounding conductor.3.

SPDs

Install appropriately rated SPDs at multiple points throughout the system, including DC input, AC output, and service entrance.4.

Lightning Rods/Air Terminals

Consider installing lightning rods (air terminals) on the grid house and any other structures that could be vulnerable to direct strikes.5.

Bond Everything

Bond all grounding systems together (panel array, inverter, grid house, air terminals) to equalize ground potential and provide multiple paths for fault and lightning currents. Create a grounding ring where feasible.6.

Regular Inspection and Maintenance

Inspect all grounding connections, SPDs, and air terminals regularly (at least annually). Document the results and address any issues promptly.7.

Local Expertise

Consult with a qualified electrical engineer experienced in lightning protection and grounding systems in areas with high lightning activity (preferably with experience in Nigeria).

Budget ConsiderationsIf your budget is limited, prioritize the following:

Inverter and Grid House Grounding

This is where most of your sensitive equipment is located.


SPDs

Properly rated SPDs are relatively inexpensive and can prevent a lot of damage.

Bonding

At a minimum, bond the panel array ground to the inverter/grid house ground.


Regular Inspections: Catching potential problems early can prevent costly repairs later.By implementing these recommendations, you can significantly improve the safety and reliability of your solar microgrids in Nigeria. Remember that lightning is a powerful force of nature, and a well-designed and maintained protection system is essential to mitigate the risks. Good luck! Flag for review

Previous Question Next Question