%2520Installers_2x.png)
The newest trade on the roof: how solar panels make power, and the craft of installing them safely.
How a solar panel turns sunlight into electricity, and how an installer turns that physics into a safe, working system. Twelve chapters cover safety at heights and with high voltage, trade math, tools, mounting and roof integrity, inverters and rapid shutdown, wiring, batteries, grid connection, commissioning and troubleshooting.

Before a wire is landed or a rail is leveled, every solar job begins with a simple question: what exactly is arriving at the roof? Installers talk about “sun hours,” “irradiance,” and “production,” but underneath those everyday terms is a very physical story. Sunlight is not just brightness. It is energy delivered in tiny packets, and the way those packets are distributed across color and wavelength is the reason photovoltaic modules work as well as they do, and also the reason they have limits.
The Sun is, at its core, an enormous thermal emitter. Its surface, the photosphere, glows at roughly 5,800 K, which means it radiates energy across a broad range of wavelengths. That emission looks, in many ways, like what physics calls a blackbody spectrum: a smooth curve of energy output that peaks in the visible range and spills into the ultraviolet on the short-wavelength side and into the infrared on the long-wavelength side. When you hold your hand in sunlight and feel warmth, you are mostly sensing infrared. When you squint from brightness, your eyes are responding to visible light. When materials fade over time, ultraviolet is often part of the reason. A PV module has to live in all of it.
To understand why spectrum matters, it helps to swap the “beam of light” mental picture for a stream of particles. Light behaves like a wave and like a particle, and the particle viewpoint is the one that maps cleanly onto solar cells. In this view, sunlight is made of photons. A photon is a single quantum of electromagnetic energy. It has no mass, but it carries energy and momentum, and when it hits matter it can be absorbed, reflected, or transmitted. Photovoltaics relies on absorption: the photon’s energy is transferred into the semiconductor, where it can help free an electron to participate in an electric current.
The key property of a photon is that its energy depends on its frequency. Higher frequency means higher energy; lower frequency means lower energy. Since frequency and wavelength are linked (shorter wavelength corresponds to higher frequency), you can also say: bluer, shorter-wavelength light carries more energy per photon than redder, longer-wavelength light. The relationship is:
Energy equals Planck’s constant times frequency.
In symbols you will often see E = h f. With wavelength, it becomes E = h c divided by wavelength, where c is the speed of light. You do not need to memorize the constants to be a competent installer, but you do need to internalize what the relationship implies: a PV module is not fed by “light” in general; it is fed by a distribution of photon energies, and the cell can only harvest photons that meet certain energy requirements.
That requirement is set by the semiconductor bandgap. Silicon, the workhorse material for most rooftop modules, has a bandgap of about 1.12 electron-volts at room temperature. Think of the bandgap as an energy threshold. If a photon has less energy than the bandgap, the semiconductor cannot use it to lift an electron into a conducting state; the photon passes through, gets reflected, or becomes heat in other ways, but it does not contribute to electric current. If a photon has more energy than the bandgap, it can create an electron-hole pair, which is the basic “charge separation” event that makes PV possible.
Here is the subtle part: if the photon’s energy is higher than the bandgap, the extra energy does not become additional voltage in a simple way. Much of the excess becomes heat as the excited electron relaxes down to the semiconductor’s conduction band edge. That is one reason PV modules warm up and why their voltage drops as temperature rises. In other words, the spectrum affects both how much current a module can generate and how much it heats while doing it.
So what spectrum actually hits the roof? Outside Earth’s atmosphere, sunlight has a spectrum called air mass zero, often abbreviated AM0. It is what satellites would see: a clean, unfiltered distribution. On the ground, we live under air mass one (AM1) when the Sun is directly overhead, and higher air mass values when the Sun is lower in the sky and its light travels through more atmosphere. The atmosphere acts like a selective filter. Ozone absorbs much of the ultraviolet. Water vapor and carbon dioxide absorb in parts of the infrared. Aerosols and dust scatter shorter wavelengths more strongly. The result is that the spectrum at the module face changes with time of day, season, humidity, altitude, and air quality.
Because solar needs a standard way to compare equipment, the industry often uses an agreed-upon reference spectrum called AM1.5. The “1.5” roughly corresponds to the Sun being about 48 degrees above the horizon, a common mid-latitude condition. Most module ratings are based on this reference along with standard test conditions: 1,000 watts per square meter of irradiance and a cell temperature of 25 degrees Celsius. As an installer, it is worth remembering that STC is not a promise of rooftop output. It is a controlled benchmark. Real rooftops are hotter, spectra shift throughout the day, and irradiance is rarely a perfect 1,000 W/m² for long.
When installers and designers say “irradiance,” they mean power per area delivered by electromagnetic radiation. A full, clear-sky midday can approach 1,000 W/m² on a surface perpendicular to the Sun. If the array is tilted away from perpendicular, the effective area is reduced and the received irradiance drops according to geometry. If haze scatters light, if thin clouds pass, or if a nearby tree throws a soft shadow, the irradiance changes. But spectrum and irradiance are not the same. Two conditions can have the same total irradiance while having different spectral content, and the module can respond differently.
This is where the photon picture helps. Total irradiance is the sum of energy from photons of all wavelengths. A “redder” spectrum might carry plenty of total energy but fewer photons above silicon’s bandgap threshold per unit of total energy, depending on how the distribution shifts. Meanwhile, a “bluer” spectrum has higher-energy photons, but silicon may not be able to convert that extra energy efficiently, and the cell may heat more. Practical takeaway: the same nominal sun intensity can yield different current and different operating voltage, which is one reason real-world production curves do not perfectly match a simple “sun hours times system size” estimate.
Diffuse light is another place where the spectrum conversation becomes practical. Under clear skies, most of the irradiance is direct beam sunlight. Under overcast conditions, a larger fraction is diffuse, coming from many directions after scattering in clouds and the atmosphere. Diffuse light often has a different spectral signature and arrives at shallower angles. Modules still produce in diffuse conditions, but the balance between direct and diffuse affects not only how much light is available but how it interacts with glass, anti-reflective coatings, and cell textures designed to trap light. When you see a system producing surprisingly well on bright cloudy days, you are seeing a combination of high diffuse irradiance and the module’s ability to accept light from a wide range of angles. When you see production fall sharply under thick gray cloud cover, you are seeing the opposite: low irradiance, altered spectrum, and a big reduction in usable photons.
Spectrum also connects to something installers notice early in the field: heat. A module in full sun can be hot to the touch even when it is producing strongly. Some of that heating comes from infrared photons that the cell does not convert into electricity. Some comes from the “excess energy” of photons above the bandgap that ends up as thermal energy inside the semiconductor. And some comes from plain absorption in encapsulants, backsheets, and the roof itself. This matters because semiconductor voltage is temperature-dependent. As the module warms, its open-circuit voltage decreases. That is why cold, sunny mornings can push string voltages higher than summer afternoons, even if the irradiance is similar. Understanding that sunlight is a mix of photon energies helps explain why modules are both generators and absorbers, and why their electrical behavior follows the thermal environment so closely.
If you keep one mental model from this section, make it this: a PV system is not simply “catching light.” It is sorting photons by energy. Photons with too little energy cannot do the electrical job. Photons with enough energy can, but with losses. The atmosphere and the time of day reshape the photon stream, and the module responds by changing current, voltage, and temperature. Later, when we talk about semiconductors, p-n junctions, and how cells actually separate charge, this photon-energy framework becomes the foundation. The roof may feel like a construction site, but the work begins at the scale of wavelengths and electron-volts, where every watt on the monitoring app starts as a photon making the jump from sunlight into solid matter.
Once you accept the idea from the previous section that a PV module is, in effect, sorting photons by energy, the next question becomes unavoidable: what kind of solid can do that sorting, and how does it turn a one-time photon impact into a steady, directed flow of electricity? The answer is not “metal,” and it is not “insulator.” It is the in-between category that electricians and roof crews alike end up learning to respect: semiconductor material engineered into a junction that naturally pushes charges in opposite directions.
In a metal, electrons are already free to move, which sounds helpful until you realize there is no built-in reason for them to move one way rather than another. In an insulator, electrons are locked in place and light mostly becomes heat. Semiconductors sit between those extremes. At the atomic level, a semiconductor has electrons bound in a lower-energy set of states called the valence band, and a higher-energy set of states called the conduction band. The separation between them is the bandgap, the energy threshold introduced earlier. Silicon’s bandgap is about 1.12 electron-volts at room temperature, which is why silicon responds well to much of the visible spectrum and part of the near-infrared, while ignoring longer-wavelength infrared photons that simply do not carry enough energy.
The photovoltaic effect begins when a photon with at least bandgap energy is absorbed in the silicon. That absorption does not just “add energy” in a vague sense; it promotes an electron from the valence band to the conduction band. When that happens, two charge carriers appear: a negatively charged electron now able to move through the lattice, and a positively charged “hole” left behind in the valence band. The hole is not a particle you can pick up with tweezers, but it behaves like a positive charge carrier because nearby electrons can move to fill the empty state, leaving a new empty state behind. In PV language, the photon creates an electron-hole pair.
If nothing else is done, those carriers tend to recombine. The electron falls back into the hole, and the energy becomes heat or sometimes a photon. Recombination is a constant opponent inside every solar cell. The cell’s job is to separate the electron and the hole quickly enough, and keep them separated long enough, that they can be collected as useful current in an external circuit. This is where semiconductor engineering stops being academic and becomes the heart of the module.
Pure silicon, by itself, is not enough. The magic comes from doping, a controlled way of adding a tiny amount of impurity atoms to silicon to change its electrical behavior. Silicon has four valence electrons and forms four bonds with neighbors in a crystal. If you add an atom from column five of the periodic table, like phosphorus, it has five valence electrons. Four participate in bonds; the fifth is only loosely held. At room temperature it can move easily, which means the material has extra mobile electrons. That is n-type silicon, “n” for negative carriers.
If you instead add a column three atom like boron, it has only three valence electrons to contribute. One bond in the lattice is short an electron, creating a hole that can move through the crystal. That is p-type silicon, “p” for positive carriers. Doping levels are small, often parts per million, but the effect is enormous: you have created a material where one carrier type dominates.
A solar cell is built by bringing p-type and n-type regions together. The boundary is the p-n junction, and it is not just a line on a diagram; it is a region where physics does something useful for installers. When p-type and n-type silicon touch, electrons from the n-side diffuse into the p-side, and holes from the p-side diffuse into the n-side. They recombine near the boundary. This diffusion leaves behind fixed, charged dopant ions: positively charged donor ions on the n-side (because they lost electrons) and negatively charged acceptor ions on the p-side (because they gained electrons). Those ions cannot move, but their charges create an internal electric field across the junction.
This is the built-in field that makes a solar cell more than a light-sensitive resistor. The electric field forms in a region called the depletion region because it is depleted of mobile carriers. That field points from the positive ions toward the negative ions, and it acts like a one-way slope for charges. When light creates electron-hole pairs near the depletion region, the field pushes electrons toward the n-side and holes toward the p-side. The charges are separated before they can recombine. Separation is the first step toward current.
Now add metal contacts. A typical crystalline silicon cell has a front grid of fine metal fingers and busbars and a full-area metal contact on the back. Those contacts collect charge carriers: electrons are collected on one side, holes on the other, which creates a voltage between the terminals. When you connect an external circuit, electrons flow through the circuit from the n-side contact toward the p-side contact, doing work along the way, while inside the cell the internal field continues to separate newly created carriers to replenish what leaves. That loop is current. The solar cell is not “making electrons.” It is pumping existing charges into a directional flow using photon energy and the junction’s internal field.
This is where the earlier photon-energy discussion meets practical voltage and current behavior. Light intensity mainly affects how many electron-hole pairs are generated per second, which largely sets current. More irradiance, more usable photons, more carriers, higher current. Voltage, however, is tied to how strongly the cell can maintain separation, which depends on the junction physics and on recombination. That is why a module can show a big swing in current with passing clouds while its operating voltage changes more modestly, and why voltage is so sensitive to temperature. Heat increases carrier activity and generally increases recombination, reducing the maximum voltage the cell can sustain. You already saw the field consequence: cold sunny mornings can raise open-circuit voltage, while hot afternoons lower it.
It also helps explain a common field observation: a module can be in full sun and still deliver no power if the circuit is open. In open circuit, the cell still generates carriers and separates them, but they accumulate until the built-up electric potential stops further net current flow. That maximum is open-circuit voltage, Voc. At the other extreme, if the terminals are shorted, the cell delivers its maximum current, Isc, but with near-zero voltage. The sweet spot is between those extremes, where the product of current and voltage is highest. That is the maximum power point, and it is why inverters constantly adjust operating conditions. The cell itself is not “trying” to be at maximum power; it responds to physics. The inverter has to hunt for the point on the current-voltage curve where the array is happiest.
Materials matter because the bandgap and the quality of the crystal determine how many photons can be used and how many carriers survive long enough to be collected. Silicon dominates rooftops because it balances cost, durability, and performance. But it is not the only semiconductor. Cadmium telluride and copper indium gallium selenide are thin-film materials with different bandgaps and absorption properties. They can absorb light in much thinner layers than silicon and can perform well in hot conditions or low light, but they come with different manufacturing and environmental considerations. Even within “silicon,” there are distinctions: monocrystalline cells usually have fewer crystal defects than polycrystalline cells, which can mean better efficiency. Defects are not cosmetic; they are recombination sites where electrons and holes reunite without doing electrical work. The cleaner the pathway, the higher the fraction of photon events that turn into collected current.
Modern modules also use layers and surface engineering to fight losses that occur before the junction even gets a chance. Anti-reflective coatings and textured surfaces help photons enter the cell rather than bouncing off the glass-silicon interface. Passivation layers reduce recombination at surfaces, where dangling bonds can trap carriers. You will hear cell architectures described as PERC, TOPCon, or heterojunction. Each is a different strategy for reducing recombination and improving carrier collection, especially at the surfaces and contacts. From an installer’s point of view, you do not need to build these layers, but you benefit from knowing why two modules of the same size can have different wattage ratings and different behavior in heat. Much of that difference is in how well the semiconductor structure shepherds carriers from the point of creation to the metal contacts without losing them.
Another practical connection to the roof is shading. When one cell in a series string is shaded, it produces less current because fewer photons create carriers. But the rest of the cells, still lit, try to push the same current through the string. The shaded cell can be forced into reverse bias, meaning it is pushed to conduct the “wrong” way. In reverse bias, the junction no longer assists; it resists, and the cell dissipates power as heat. That is the mechanism behind hot spots. Bypass diodes in the module junction box provide an alternate path for current around shaded cell groups, limiting reverse bias and protecting the module. The reason a small leaf can cause a disproportionate impact is not mystical; it is the consequence of series circuits combined with the p-n junction’s behavior under illumination and bias.
So the photovoltaic effect is not a single event but a chain: photon absorption, electron-hole pair generation, separation by the junction’s internal field, and collection at contacts to drive an external circuit. The semiconductor is not just a material that “responds to light.” It is a carefully engineered environment designed to create carriers and then prevent them from undoing that creation through recombination. When you look at a black module on a roof, you are looking at millions of microscopic p-n junctions repeating the same act: a photon arrives with enough energy, a pair is created, the internal field splits them, and the circuit gives them somewhere to go.
In the next section, that microscopic story will be scaled up into the language installers use every day: electrons moving through conductors, voltage building across terminals, and how a single cell becomes a module, then an array, then a system that feeds an inverter. The roof-level work is real and physical, but it is powered by an invisible architecture in silicon that turns the Sun’s mixed stream of photon energies into something you can measure with a meter and, ultimately, count on in kilowatt-hours.
At this point the physics has given us the essential ingredients: photons with enough energy create electron-hole pairs, and a p-n junction supplies an internal electric field that can separate those charges before they recombine. What remains is the part that turns a microscopic separation event into the macroscopic thing an installer can clamp a meter around: usable electrical power delivered through conductors, combined into modules and strings, and conditioned by electronics to serve a building or the grid.
Start with the simplest useful picture of a solar cell as a device with two terminals. Under illumination, the cell develops a voltage between those terminals because electrons are being preferentially collected on the n-type side and holes on the p-type side. That separation is not just a one-time charge buildup. It is continuously refreshed as long as light keeps generating carriers and the junction keeps sweeping them apart. The cell becomes, in effect, a charge pump driven by sunlight.
But a pump does not do work unless there is a path for flow. When you connect an external circuit, electrons leave the n-side contact, travel through the conductor, pass through whatever load is connected, and return to the p-side contact where they recombine with holes. Inside the cell, new electron-hole pairs replace the ones that left, and the junction field continues to push electrons and holes toward opposite contacts. This is why a PV cell can deliver steady DC current. The light does not “create” a stockpile of electricity that empties out; it sustains a dynamic balance where generation, separation, and collection happen continuously.
This is also where the two numbers you see on every datasheet begin to make intuitive sense. If the circuit is open, the cell cannot deliver current, but it can still separate charge until the electrical pressure across the terminals becomes strong enough to oppose further net separation. That maximum is the open-circuit voltage, Voc, mentioned earlier. If the circuit is shorted, the cell can deliver current with almost no voltage across its terminals, giving the short-circuit current, Isc. Between these extremes lies the operating region where real power is produced.
The relationship between current and voltage for a solar cell is not a straight line, and it is not the same as a battery. A battery tries to hold a fairly constant voltage over a range of currents (until it is depleted). A PV cell, by contrast, is strongly shaped by illumination level and by semiconductor recombination. In practical terms, as you draw more current from a cell, the voltage it can maintain drops. The curve has a characteristic “knee.” At low current draw, voltage stays near Voc. At higher current draw, voltage collapses toward zero near Isc. The maximum power point is near that knee, where the product of voltage and current is greatest.
This is why, on the roof, you can measure a module at Voc and feel like it “has voltage,” yet it still will not run a load efficiently unless the load pulls the cell into the right operating zone. It is also why inverters and DC optimizers work so hard. Maximum power point tracking is not marketing fluff; it is the control strategy that keeps the array operating near the knee as light and temperature change. A passing cloud can cut irradiance quickly, reducing current generation. Temperature can drift upward during a hot afternoon, reducing voltage. Shading can distort the curve entirely. MPPT continuously adjusts the electrical operating point to harvest the most power available at that moment.
To see how small events scale up, move from the single cell to the module. A typical crystalline silicon module contains many cells wired in series. Series wiring is used because a single silicon cell produces only a modest voltage. Under load, a single cell operates at well under one volt. By placing dozens of cells in series, module voltage becomes high enough to be useful. Currents add in parallel, voltages add in series. So, in a series string of cells, the same current must flow through every cell, while the voltages of each cell add up to the module’s total voltage.
This series behavior explains a lot of field behavior that installers encounter, especially around shading and mismatch. If one cell in a series string produces less current, the entire string current is limited to that weaker cell, unless there is a bypass path. That is why bypass diodes exist in the junction box: they allow current to go around a portion of the module when those cells cannot support the string current. When a bypass diode conducts, you have protected the shaded cells from severe reverse bias and hot spots, but you have also effectively removed that cell group’s voltage contribution from the module. The system keeps operating, but at a reduced voltage and therefore reduced power.
The same logic applies at the next level up: modules in series form strings, and strings may be paralleled in a combiner or at the inverter input. Series strings are used to reach the inverter’s required DC input voltage window and to reduce current, which reduces conductor size and resistive loss. Parallel strings increase current capability at a given voltage. A design that seems abstract on paper becomes very concrete when you are routing home runs and making terminations: higher string voltage means stricter attention to maximum voltage calculations in cold weather; higher current in parallel circuits means stricter attention to ampacity, overcurrent protection, and conductor heating.
Even within a perfectly installed array, not all modules are identical in operation. Manufacturing tolerances, slight differences in temperature, and uneven irradiance create mismatch. Because modules in series must share current, mismatch tends to reduce overall output. This is one of the reasons some systems use module-level power electronics, such as microinverters or power optimizers. By decoupling modules electrically, they reduce the penalty from one weak module dragging down its neighbors. The underlying physics remains the same, but the architecture changes how those I-V curves combine at the array level.
Now bring temperature back into the story, because the earlier sections hinted at it and the roof will force you to respect it. Voltage decreases as cell temperature rises. This happens at the cell level and scales up to the module and string. On a cold clear morning, Voc is higher. On a hot afternoon, the operating voltage at maximum power is lower. Current behaves differently: it increases slightly with temperature, but that increase is small compared to the voltage drop. The net result is that hot modules typically produce less power than the same modules at cooler temperatures under the same irradiance. This is why production often peaks in spring days with bright sun and moderate temperatures, and why summertime heat can blunt what looks, to the eye, like perfect solar weather.
Understanding this temperature-voltage relationship is not just interesting; it is a safety and compliance issue. When calculating maximum system voltage for code compliance and equipment ratings, you do not use a hot-day voltage. You use the coldest expected condition because that is when Voc is highest, and strings can exceed inverter limits or conductor insulation ratings if the design is careless. The physics that drops voltage in heat is the same physics that raises it in cold.
So far we have described the solar cell as a current source shaped by a diode-like junction, and we have talked about I-V curves as if they exist in isolation. In reality, the solar cell is an electrical device with internal resistances and losses. There is series resistance in the metal grid, the semiconductor bulk, and connections. There is shunt resistance across the junction due to imperfections and leakage paths. High series resistance causes voltage loss under load and reduces the fill factor, a term that describes how “square” the I-V curve is near the knee. Shunting reduces voltage and efficiency by letting current bypass the external circuit internally. These are not just lab metrics. They show up in real systems as modules that underperform, strings that do not match expected output, and degradation over time.
Once you think in these terms, many troubleshooting observations become easier to interpret. A system that shows normal Voc but weak power under load may have a connection issue, elevated series resistance, a failed bypass diode, or a problem downstream that prevents the array from operating at the proper maximum power point. A system with unusually low Voc at the string level may have a wiring error, an open circuit, a reversed polarity connection, or a module group being bypassed due to shading or failure. The point is not to turn every installer into a semiconductor physicist. The point is to give you a mental map from “electrons and holes” to “numbers on a meter.”
And that brings us to the most practical bridge between physics and fieldwork: measurement. When you clip a meter across module leads in full sun and read Voc, you are seeing the junction’s ability to build electrical pressure when no current is allowed to flow. When you measure Isc with proper procedure and equipment rated for it, you are seeing the maximum carrier collection rate under that irradiance. When an inverter reports operating voltage and current, you are seeing a living point on the I-V curve, chosen by MPPT to maximize power while staying within equipment constraints. Every one of those measurements has a physical meaning grounded in the carrier generation and separation described earlier.
By the time a homeowner looks at an app and sees kilowatts, the story has already passed through several layers: photons filtered by atmosphere, absorption determined by bandgap, charge separation by a p-n junction, current limited by series behavior, voltage shaped by temperature, and power optimized by electronics. The roof may feel like a place of rails, clamps, and conduit, but the output you commission and the performance you maintain are rooted in this chain. Solar cells generate power not by magic, but by turning countless tiny charge-separation events into a controlled, measurable DC supply that can be scaled, combined, and delivered wherever it is needed.
This is the complete Chapter 1. The full book, all twelve chapters, is $3.99 in the GSU Bookstore, and a free twelve-lesson class built from it is open on this website.