Work-in-progress. H/T: Grug Brain
caveman grug explains solar for young grug learns how trap sun-spirit to keep cave lit and hi-fi pumping during loadshedding
by Petrus Theron
Introduction
grug see many caves go dark when sky-fire hide behind clouds
grug tired of paying wolf skins to evil chief for sun-spirit while grug wait for sky-fire to return
so young grug learns how build sun trap to capture sun-spirit and keep cave lit
sun magic deep like cave. old grug spend many long winter study electron magic
but young grug no fear – old grug teach sun magic simple for young grug
if young grug learn only 3 equation, young grug know pretty much all of electron magic
old grug used to earn wolf skins by building remote scrying and over-air firmware update for LiFePO4 crystal rock battery to store sun-juice
but grug not sun shaman, so if grug make mistake, wise grug please correct grug. grug very sleepy after writing long post on stone tablet 😴
Table of Contents
- Introduction
- Solar Components
- Loads: How Much Sun-Juice Grug Need?
- Energy & Power: Grug Explain Sun-Juice
- Voltage & Current: Electron Magic
- Ohm's Law: Resistance / Impedance
- Electron Magic Equations
- Grug Explain Joules vs. Watt-hours
- Peak Power vs. Continuous Power
- Cold & Cranky
- Typical Load
- Battery Chemistry
Solar Components
(grug make cave drawing later)
grug learn to appease sun goddess with 7 things:
- Battery – stores sun-juice for later
- traps electron magic in crystal rock, give DC power, e.g. 12V, 24V or 48V
- battery have chemistry like lead-acid, or lithium
- grug dinorider use 12V lead-acid battery
- modern cave battery mostly 24V or 48V lithium (LiFePO4)
- Battery charger – keeps crystal battery full by turning AC power into DC power, also called AC-to-DC converter
- battery charger output same voltage as battery for safe charging
- Solar panel – obsidian tablet traps sun-spirit as DC electron magic, also called PV panel
- PV short for photovoltaic. special silicon in PV crystal turn photon into electron
- solar panel voltage change depend on time of day, or cloud
- grug can think of solar panel as DC current source, either give DC power or get hot
- Solar charger – safely guides sun-spirit into battery, also called DC-to-DC converter
- solar charger match battery voltage for safe charging
- solar charger match impedance of solar panel to trap sun-spirit faster
- solar charger can be cheap pulse-width modulated controller (PWM) or Maximum Power-Point Tracker (MPPT) – MPPT cost more wolf skins, but work better than PWM
- Inverter – magic electron box turn DC electron magic into AC electron magic to power grug bar fridge, also called DC-to-AC converter
- Cables – metal vines connect all parts. cables rated for current based on thickness, e.g. 15A for most cave extension lead
- Circuit breaker – click rocks break circuit, open when too much sun-juice flow
- too much sun-juice power melts metal vines like lava, burn down cave – grug wife not happy
- once big current start to flow, it want keep going like bison
- so breaker have electromagnet + wide metal contactor to stop current without plasma arc
- plasma chew on metal vines like baby t-rex, so breaker also save cables
sometimes many smart rocks combine in one big electron box called “inverter.” grug explain each part
Loads: How Much Sun-juice Grug Need?
first thing sun shaman ask grug: “what cave appliance grug wife want to power and how long?”
grug must know:
- which magic rock drink sun-juice,e.g. cold box, hot rock or light rock
- how fast magic rock drink sun juice, in Watts
- how long magic rock drink sun-juice, in hours
but first grug explain scary numbers like Watts
young grug no run away – old grug make simple for young grug
Energy & Power: Grug Explain Sun-Juice
sun-juice Energy measured in Joules [J], or Watt-hours [Wh]:
- speed of sun-juice flow is called Power, measured in Watts [W] or Joules per second [J.s-1]
- when sun-juice flow fast, more power flow in Watts [W]
- 100W just mean 100 Joules per second
- when sun-juice Power flow in Watts over many hours, grug know sun-juice Energy in Watt-hours
- big-brain young grug can think in Joules, but old grug drink too much icewine, so better think in Watt-hours [Wh]
grug wife buy many cave appliance that drink sun Power in Watts; how fast they drink sun-juice?
- 💡 light rock drink 10 Watts, mean 10 Joules every second
- ❄️ cold box drink 200 Watts, or 200 Joules every second
- 🔥 hot rock drink 2,000 Watts to boil river water (very powerful rock)
- 💻 fruit company scrying tablet drink 100 Watts while charging so wife can watch bison cooking video on CaveTube
now grug learn most important equation for sun magic:
- Energy = Power * Time
= Power [Watts] * Time [hours]
= Energy in Watt-hours, or Wh
grug give example:
- if grug wife run cold box cool for 10 hours @ 200W, how much sun-juice it drink?
young grug remember:
- Energy = Power * Time
= 200W * 10 hours
= 2,000 Watt-hours
= 2kWh (k just mean times 1,000)
so if grug want know sun-juice Energy in Watt-hours,
grug simply multiply Power & Time, get Energy in Watt-hours [Wh]
most important discovery of sun magic. remember well, young grug use every day. from this sun magic equation, young grug also see that:
- Time = Energy / Power
now old grug test young grug brain:
- grug exchange wolf skins for 2,000Wh battery
- grug wife christmas lights drink sun-juice Power @ 200W
- how long will crystal battery power cave?
young grug recall Time = Energy / Power
- battery store 2,000Wh energy
- cave appliance drink 200W
grug divide sun-juice trapped in battery called Energy, by speed of sun-juice called Power:
- Time = Energy / Power
= 2000Wh / 200W
= 10 hours of sun-juice - big-brain young grug will notice Watts [W] cancel out; only hours remain. this good to know when grug check math
hmm, 20 hours not that long; grug might need bigger battery keep wife happy
now young grug learn electron magic
Electron Magic (Voltage & Current)
electron magic flow like water in river, fast or slow
grug elders no like water analogy, but good for young grug learn electron magic:
- Voltage [V] is like pressure of water, e.g. 12V or 24V, or 220V
- Current [I] is like speed of water flow, measured in Amperes [A], or “amps” for short, e.g. 5A or 10A
- these amps not same as hi-fi amps (which mean amplifier, different thing)
- grug multiply Voltage and Current to get electron magic Power in volt-amperes [VA]:
- Power [VA] = Voltage [V] * Current [I]
- or P = VI for short
- grug recall symbol I stand for Current, can confuse
- way to remember is high pressure * high current = high power. can have high pressure like gas bottle, but without flow, no power
- Power in volt-ampere mean same as Power in Watts
grug ask why volt-ampere [VA] same as Watts? this go deep into electron magic. involve capacitors & inductors. but for now, young grug brain relax, only think in Watts [W], not volt-ampere [VA]
young grug remember: Power in Watts mean rate of flow of sun-juice Energy
Ohm's Law: Resistance / Impedance
grug watch over prairie many summer night and ponder why skyfire rain down on savanna, called lightning. grug know from water analogy:
- when river wide, strong current flow
- when river narrow like stream, weak current flow
grug learn same is true of electron magic, called Resistance, measured in ohms (Ω) like buddha:
- when electron valley wide, Resistance low – more current will flow
- when electron valley narrow, Resistance high – less current will flow
grug elders think long and hard on this, but one day big-brained grug named Georg Ohm discover why river current flow strong during storm, even though valley narrow
young grug now learn most ancient equation that tell grug how much Current [I] will flow based on Voltage [V] (“electron pressure”) and Resistance [R] (“width of valley”)
this equation called Ohm’s Law:
- Voltage [V] = Current [I] * Resistance [R]
- V = IR, for short
from Ohm’s Law, young grug can compute third value even if only know two:
- if grug know Current & Resistance, grug can compute Voltage, V = I*R
- if grug know Voltage & Resistance, grug can compute Current [I], I = V/R
- if grug know Voltage & Current, grug can compute Resistance, R = V/I
best way for grug to think of Ohm’s Law is that Current [I] will flow to satisfy V/R, until current stop
- current only stop when battery burn, cable melt, breaker trip or grug let go of kettle
- this why breaker so important, protect barefoot grug in kitchen when washing machine leak
- when Resistance low, I = V/R, so as R -> 0, I -> ♾️ for any Voltage [V] until kaboom
- this especially happen during short-circuit
young grug see that as long Resistance high, smol current flow
but if voltage very high, can overcome high resistance (like high water pressure during storm) and big current will still flow
indeed, this why skyfire lightning travel through air despite high resistance (2×1016Ω⋅m): because electron skyfire very high voltage (100kV)
- metal vines like copper cable have very low resistance, so electricity flow easy even at low voltage
- low voltage safer than high voltage – high voltage jump between metal vine
- opposite of Resistance is called Conductance, but grug only think in Resistance
because I = V/R, given a fixed resistance R:
- when voltage high, more current flow
- when voltage low, current flow slow
- when current high, voltage must be high
- when current low, voltage must be low
in reality, resistance not fixed because depend on frequency of voltage & current, but grug only think about simple loads today
now grug give example using Ohm’s Law:
- if grug inverter output AC voltage 220V,
- and grug wife cave kettle have resistance of 20-ohm
how much current flow through metal vine in kettle?
- young grug recall V = IR
- V = I*R
Voltage = Current * Resistance
220V = I*20-ohm - now grug solve for I = V/R
I = 220V/20-ohm
= 11A of Current, measured in amps
grug know metal vine will melt when current too high, so is this safe?
- kettle cable rated @ 15A, so safe for 11A
- big-brain young grug notice when voltage high, current low
- when voltage low, current high – need thick metal vine, cost many wolf skins
- this why elders of tribe transmit electron magic over long distance at low current and high voltage (22kV), to use thin cables that cost fewer wolf skins
grug test young grug brain
young grug recall that P = VI
how much power in Watts will cave kettle drink?
- P = VI
= 220V * 11A
= 2,420W
= 2.42kW
that is lot of power. hot rock very expensive to run on battery, this why grug prefer gas
better save sun magic for cold box and light box
Impedance vs. Resistance
impedance mean same as resistance, but more complex. related to deep electron magic that involve capacitor and inductor. grug ignore this for now; young grug only care about Resistance, measured in ohms
Electron Magic Equations
young grug now learns 3 most important equations in all of electron magic:
- Energy [E] = Power [P] * Time [hours], E = Pt
- Power [P] = Voltage [V] * Current [I], P = VI
- Voltage [V] = Current [I] * Resistance [R], or V = IR
using these 3 equation, young grug can design all components of sun trap and appease sun goddess
grug do one last example to test young grug brain:
- grug have 12V battery
- 10A current flow to hot rock
how fast energy flow out of battery called Power, measured in Watts?
- young grug recall P = V*I
- P = Voltage [V] * Current [I]
= 12V * 10A
= 120VA
= 120W
lastly, if battery trap 2,000Wh sun-juice Energy, how long until battery empty?
- Energy = Power * Time, so
- Time = Energy / Power
= 2000Wh / 120W
= 16.67 hours
Grug Explain Joules vs. Watt-hours
(keep this part? move to appendix probably)
- 10W Power mean 10 Joules per second [J/s, or J.s-1],
- if 10W flow for 10 seconds, young grug recall Energy = Power * Time,
- 10W*10s = 100 Joules = 100J
- if cave appliance drink sun-juice @ 10W for 1 hour, then,
- sun-juice Energy = 10W * 1 hour = 10 Watt-hours = 10Wh
- if cave appliance drink sun-juice @ 100W for 5 hours, then
- sun-juice Energy = 5 hours * 100W = 500 Watt-hours = 500Wh
grug can also count sun-juice in Joules, but more hard:
- grug know there are 3,600 seconds in one hour = 60 minutes * 60 seconds,
- if 10W sun-juice flow, it mean 10 Joule-per-second, so
- 10 J/s * 3600s= 36,000 Joules [J], or 36kJ (k just mean times 1,000)
- young grug notice how seconds cancel out again
- but old grug too dumb for Joules
- grug think better in Watt-hours
- grug only care how long sun-juice run bar fridge
now grug test young grug brain with big number:
- if grug wife boil 2,000W cave kettle for 1 hour,
- how much sun-juice Energy young grug need?
grug recall Energy = Power * Time
- so young grug multiply Power with Time to get sun-juice energy in Joules:
- Energy [Wh] = Power [W] * Time [s]
- Energy = 2000W * 1 hour = 2000Wh = 2kW (k just mean times 1,000)
Peak Power vs Continuous Power
electron magic appliances have average power rating, but electron magic appliances drink more sun-juice when turning on, called peak power
peak power can be 2-10 times more than average
even if peak very short – just few seconds – breakers will trip if too much current flow
so grug must plan sun trap to handle peak loads, not just average loads
good example is cold box: cold box have compressor, drinks ~7 times more current when turn on, magnetise coil in compressor that make gas cold
this why grug battery struggle to run fridge
=== rest is todo
(grug is still writing this part, very tired)
Electrical loads are typically rated in terms of their average voltage [V] and average current [A] demands. We can calculate a load’s average electrical power demand by multiplying its rated voltage [V] and current [A] to arrive at volt-amperes [VA] or Watts [W], e.g.:
Power Demand [in Watts]
= Voltage [V] * Current [A]
= 12V * 5A
= 60W, or 60J.s-1.
…however, average power consumption (in Watts) only tells half the story: dynamical systems frequently exhibit nonlinear behaviour during transients like startup and shut down (that’s where the excitement is in life). For example:
- AC refrigerators require high inrush currents to magnetise the coils in their compressors. These inrush currents can be 2 to 10 times the average current draw. If your power plant cannot supply these peaks, your beer will remain warm. The rule of thumb for AC fridges is that your inverter needs to supply ~7 times the average power draw at peak, when turning on.
- Real-world batteries act like spring systems, so voltage tends to dip during high current draw and voltage gradually declines as most batteries discharge. Certain electronic loads require a minimum voltage to bias semiconductor components, or the load won’t turn on at all. This can become a problem during surges when voltage dips, especially as batteries approach end-of-life.
OK, that’s enough theory for now - let’s design a system for a light electronic load.
Cold & Cranky {#cold-&-cranky}
To kickstart a petrol car engine with a 12V lead-acid battery costs 400A for ~4 seconds. This is called “cold-cranking amps.” Let’s calculate how much power that is:
P = V * I
= 12V * 400A
= 4,800W
= 4.8kW
How much energy is that in Joules? Recall, Energy = Power * Time:
E = Power * Time
= 4,800W * 4 seconds
= 4,800J.s-1 * 4s
= 19,200J.s.s-1
= 19,200J.s0
= 19,200J
= 19.2kJ.
How many times can you start a car before the battery runs flat?
- A 12V lead-acid car battery is typically rated at ~100Ah [amp-hours]. This is called the battery’s C-rating.
- A C1-rating of 100Ah means the battery should be able to deliver 100A for 1 hour at its rated voltage, e.g. 12V. How much energy is that in Watt-hours? Recall,
- E = Power * Time
= V * I * Time
= 12V * 100A * 1 hour
= 1200Wh
= 4,320kJ.
- E = Power * Time
- Theoretically, 4,320kJ/19.2kJ = ~225 times, but in practice the battery will run flat before this. Why? Because 400A is 4 times more than the C1-rating and losses scale exponentially with current, and fully discharging the battery will damage it.
Not all loads are made equal; we need to understand peak demands to design our plant.
Typical Load
What kind of battery and inverter setup do we need to power a laptop, a lamp and two hand-held radios for 12 hours a day? Our loads:
- Laptop @ 96W (charging)
- 2x Lamps @ 8W = 16W
- 2x Radios @ 4W = 8W (0.5A x 8.4V ~ 4.2W)
Total Average Power Demand: 120W.
Daily Demand: 120W * 12 hours = 1,440Wh [Watt-hours].
Hmm, sounds like all we need is a 120W solar panel and a 1440Wh battery, right?
Unfortunately, no system is 100% efficient - especially low-voltage systems. Lower voltage means higher currents and thermal losses grow exponentially as current rises. We need to compensate for losses:
- Low-voltage (12V) inverters are 93% efficient at-best.
- We will lose another ~1-2% in cable losses, so our total DA-to-AC conversion is ~90% efficient under optimal conditions.
Can’t we just add 10% to our spec? Not so fast! Draining our batteries down to 0% State of Charge (SoC) every day damages them and will cause them to fail in just a few short months. So we need to add a buffer so we do not exceed the optimal Depth of Discharge (DoD) for our battery. Optimal DoD depends on battery chemistry.
Battery Chemistry
There are two common battery technologies in 2024 used in home setups:
- Lead-acid, and
- Lithium, specifically lithium-ferrous phosphorus (LiFePO4).
Battery life is measured in cycles and Depth of Discharge (DoD) - not years. Deeper discharge = shorter life, depending on chemistry, so DoD is your main consideration for capacity planning. Batteries do not fail suddenly: their capacity erodes over time until voltage dips below a usable level.
- The average lead-acid battery yields 1,000 cycles at 50% DoD. Assuming one cycle per day, 1000/365 = ~2.7 years.
- Lithium yields 3,600 cycles at 70% DoD = 3600/365 = 9.86 years.
If you can afford it, get LiFePO4. Here are the key differences:
| Lead-acid | Lithium | |
|---|---|---|
| Chemistry | PbSO4 & H2SO4 | LiFePO4 |
| Mass | ~18kg/kWh (Heavy) | 10kg/kWh (Light) |
| Cost | ~R3,000/kWh | ~R10,000/kWh |
| Lifetime (cycles) | 6,000 cycles at 10% DoD 2,200 cycles 25% DoD 1,000 cycles @ 50% DoD 250-500 cycles @ 90% DoD460 cycles @ 100% DoD | 5000 cycles @ 50% DoD 3000 cycles @ 80% DoD 2000 cycles @ 100% DoD |
| Depth of Discharge (without losing significant capacity) | 50% | 70% |
| Battery Management | Simple | Complex |
| Ideal Storage Level (State of Charge or SoC) | 100% | ~70% |
| Self-Discharge Rate | 3-8% per month | <3% per month |
To maximise the lifetime of our batteries, we need to store more energy than we’re going to use.
- Lead-acid should not exceed 50% DoD, so we’ll need twice as much storage: 2 * 1440Wh = 2880Wh.
- Lithium can go down to 70% DoD, so we only need 1440/70% = 2,057Wh of storage.
Lithium costs more, but it will last longer. Lead-acid is used in cars for their cold-cranking ability to provide high surge currents without deteriorating. They’re heavy and well-understood.
(here go into more detail on options with real-world choices)
Viva la Resistance {#viva-la-resistance}
Eskom transmits electricity over long distances at high voltages (20kV, 220kV or 400kV) because the same power can be transmitted at lower currents. Lower currents mean thinner, cheaper cables with fewer losses. Recall that:
- Power [W] = Voltage [V] * Current [A].
As voltage goes up, current can come down proportionately without losing power. But why do losses scale exponentially with current flow?
Various materials conduct electricity and exhibit unique phenomena when they do. E.g.
- Resistors dissipate electricity as heat.
- Light-emitting diodes (LEDs) convert electricity into light.
- Batteries store energy as chemical energy.
- Capacitors store electricity as electrostatic energy.
- Inductors store electricity as magnetic energy.
Whenever an electrical component converts or stores electrical power, we will see a voltage drop over that component. This voltage drop will depend on the current that flows through the component. Now let us learn about the concept of Resistance.
Resistance is measured in Ohms and denoted by the Greek letter Ω (omega), so 10Ω means 10 ohms. There are plenty of water analogies floating around to explain electricity like “pressure vs. flow” for “voltage vs. current,” but liquid flow and electron flow are not the same. Better to focus on measurable behaviour like voltage, current and power transfer.
(todo work here)
Resistance is defined as…. The best-known electrical component is the resistor.
Remember, that since P = V*I, then if either V or I is zero, no power is dissipated by that component. Current can flow, but unless there is a voltage drop, P=0.
If power is being transferred, there must be a voltage drop over the component, or power was not being absorbed.
Therefore, if a wire heats up when we apply a voltage to it, that wire is converting electrical energy into heat. Heat, or kinetic energy, is dissipated at a certain rate, or power.
We can measure the rate heat is dissipated at using a super-sensitive temperature probe. Resistance as a concept is defined in terms of this rate of dissipation. Typically, resistance scales linearly with voltage and current, but not always. If you apply 1 Volt over the ends of a wire and the wire heats up to dissipate exactly 1W of power, then we say that wire has a resistance of exactly 1Ω (1 ohm).
(This section is unfinished)
This is evident from P = VI (todo diagram)
e apply a voltage to a component, you can be sure current is flowing because P must equal V * I. If either V or I are
= V*I, so if a wire heats up when we apply voltage, P = V*I. current
there will be a voltage drop over We can measure this with a multimeter like so (show diagram of voltage drop over LED when on).
Current can pass through a conductor without flows but there Electrical energy can pass through a component (like a wire) without transferred power
If current flows, but no
As long as current flows and there’s a voltage drop, we can calculate the power lost / transferred / converted in that component based on P(loss)= V * I. As long as current flows current flows
…
Battery C-Ratings
![][image1]
Ideal Battery C-ratings
| C-Rate | Rated Capacity (Ah) | Average Current (A) | Charge (or discharge) Time |
|---|---|---|---|
| 5C | 50 Ah | 250 A | 12 min |
| 2C | 50 Ah | 100 A | 30 min |
| 1C | 50 Ah | 50 A | 1 hour |
| .5C (aka C/2) | 50 Ah | 25 A | 2 hours |
| .25C (aka C/4) | 50 Ah | 12.5 A | 4 hours |
| .1C (aka C/10) | 50 Ah | 5 A | 10 hours |
(detail nonlinear discharge rates at various currents & temperatures)
Series vs Parallel {#series-vs-parallel}
Kirchoff’s Current Law? {#kirchoff’s-current-law?}
Detailed Components
Todo.
Battery {#battery}
Either lead acid or lithium (LiFePO4 means lithium ferrous phosphorus).
May contain a battery management system (BMS).
Solar Charger {#solar-charger}
This is essentially a DC-to-DC converter…
This will be either a PWM controller or MPPT (Maximum Power-Point Tracker)
Battery Charger {#battery-charger}
Overcharging or undercharging a battery is fatal. The main job of a battery charger is to limit charging current and stop charging when the battery is full so it doesn’t catch fire.
How do you know when a battery is fully charged? It’s complicated, but we’ll get into it. Consider that if you connect a fully charged battery to a discharged battery without a, maximum
Circuit Breakers {#circuit-breakers}
How do you stop a truck? Big brakes. And big brakes get hot when you dump energy on them. Electricity doesn’t like to stop flowing, so circuit breakers are kind of like brakes for your circuits. They are idealised switches that consist of a lever and a metal contactor that can be flipped with enough mechanical force to break the current flowing “all-at-once” without electrons arcing across the gap (“look ma, I’m welding!”).
Breakers are important to disconnect your battery from loads when more current starts flowing than your battery or cables can handle without starting a braai in your garage.
(to be continued…)