Electricity in a solar installation changes form as it moves from the panels to the building’s electrical circuits. Solar modules generate direct current (DC), while most building appliances use alternating current (AC). The inverter converts DC into AC, and each side of the system requires equipment and protection suitable for its electrical characteristics.
Understanding DC vs AC in a solar system helps owners follow the system layout and understand why different cables, switches and protective devices are used. This guide explains the main differences and the safety considerations for residential, commercial and industrial installations. It is not a guide for carrying out electrical work yourself.
Key points
- Solar panels produce DC electricity.
- The inverter converts DC power into AC for building loads or grid interaction.
- DC and AC circuits require appropriately rated cables and switching devices.
- PV circuits can remain energised in daylight even when the inverter is off.
- Isolation, earthing, protection and testing must follow the system design.
1. What is direct current?
Direct current flows in one direction through a circuit. Solar modules generate DC when light reaches their photovoltaic cells. The voltage and current produced by a module change with sunlight, temperature and the electrical load. Modules are connected in series and parallel to form the PV array and deliver the required DC input to the inverter.
Battery systems also store and deliver energy as DC. The battery voltage, polarity and permitted current must match the inverter or charger. Incorrect polarity or unsuitable connection can damage equipment and create a serious hazard.
2. What is alternating current?
Alternating current changes direction periodically. Utility electricity and most building distribution systems use AC. Appliances such as lighting, fans, motors and office equipment are designed for a specified AC voltage and frequency. The exact supply arrangement may be single-phase or three-phase.
The inverter’s AC output must match the building’s electrical system and the applicable connection requirements. AC power is distributed through protective devices and distribution boards to the connected loads. The design should identify the connection point, cable route, breaker ratings and isolation arrangements.
3. What does the inverter do?
The inverter converts DC from the PV array into AC electricity. It also controls the operating point of the panels through MPPT and monitors the system. Depending on its type, it may interact with the grid, batteries, generator or selected backup circuits.
Different inverter types have different operating modes. A conventional grid-tied inverter normally disconnects during a utility outage. A hybrid inverter may provide backup to selected circuits when it has the required battery and switching arrangement. An off-grid inverter is designed to operate without a utility supply.
4. Where DC cables are used
PV DC cables connect modules and strings to the inverter or combiner equipment. They are exposed to outdoor conditions and should be rated for the expected DC voltage, current, temperature, UV exposure and installation method. Cable routing should avoid sharp edges, standing water, mechanical damage and unsupported sections.
Use connectors that are compatible with the module and cable system and install them with the specified tools. Similar-looking connectors are not necessarily interchangeable. Do not disconnect PV connectors under load; DC circuits can sustain an arc if opened incorrectly.
5. Where AC cables are used
AC cables connect the inverter output to the building’s distribution equipment or the approved point of connection. Their size depends on current, route length, voltage drop, installation method, ambient temperature and protective device rating. The cable must also be suitable for the environment and mechanical conditions.
For three-phase systems, the design considers phase conductors, neutral where required and protective earthing. The inverter output and existing distribution arrangement must be compatible. Cable sizing should be based on calculations rather than a rule of thumb.
6. Why DC and AC switches differ
DC arcs can be difficult to extinguish because the current does not naturally pass through zero in the same way as AC. DC isolators and protective devices must therefore be rated for the circuit’s DC voltage and current and installed according to the manufacturer’s instructions. An AC switch should not be used on a DC circuit unless it is specifically rated for that application.
AC and DC isolators serve different parts of the system and should be clearly labelled. The isolation procedure should account for the PV array, inverter, battery and utility supply. A system may have more than one energy source, so switching off one device does not necessarily make every conductor safe.
7. Overcurrent and surge protection
Overcurrent protection helps protect cables and equipment against excessive current under defined fault conditions. Surge protection devices can limit transient overvoltage when selected and installed as part of a coordinated design. The required type and rating depend on the array, inverter, cable route, building and lightning protection arrangement.
Protection should be designed for the specific DC and AC circuits. Do not bypass a fuse or breaker that trips repeatedly. A trip may indicate a fault that must be identified before the circuit is returned to service.
8. Earthing and bonding
Earthing and bonding help manage fault conditions and maintain electrical safety. The design identifies which equipment enclosures and conductive parts require protective connections and how they relate to the building’s earthing system. The exact arrangement depends on the inverter, module frame, mounting structure and applicable electrical requirements.
Do not add an improvised earth connection or connect conductors to nearby metalwork without a qualified assessment. Earthing should be tested with suitable instruments and recorded as part of commissioning and maintenance.
9. AC and DC in hybrid battery systems
In a hybrid system, the PV array and battery operate on the DC side of the inverter or through a compatible battery converter, while the building loads use AC. The inverter manages energy flow according to its design and settings. Some systems use high-voltage or low-voltage batteries, and their connection requirements are not interchangeable.
Confirm battery voltage, polarity, charge and discharge limits, communication protocol and protective devices. Battery and inverter manuals should be used together. Do not modify battery wiring or settings to resolve an alarm.
10. Safety during operation and maintenance
Solar panels can produce DC voltage whenever they are illuminated. Turning off the inverter does not necessarily remove voltage from the PV cables between the modules and the isolation point. Batteries can also retain stored energy after the grid or inverter is switched off.
Owners should follow the shutdown instructions supplied at handover and avoid opening enclosures or touching conductors. Electrical testing, repairs and connector work should be performed by trained personnel using the correct isolation and verification procedures. If equipment is wet, damaged, unusually hot or emitting a burning smell, keep clear and request qualified assistance.
11. What to check in a solar electrical design
- PV string voltage and current calculations.
- DC cable type, size, route and connector compatibility.
- AC cable sizing and connection point.
- DC and AC isolators and protective device ratings.
- Earthing, bonding and surge protection arrangement.
- Clear labels and documented shutdown procedure.
- Commissioning test results and as-installed drawings.
Solar installation and technical support across Pakistan
Atiq Traders provides solar system design, supply, installation, electrical commissioning, repair and maintenance support for residential, commercial and industrial customers across Pakistan. DC and AC design must match the selected equipment, site wiring and applicable safety requirements.
For a site assessment or quotation, use the quotation form or contact us through the contact page. You can also explore our installation services, maintenance services and inverters.




Leave a comment