System Basics: Solar + Storage

Understanding how residential solar panels and battery systems work - and why optimizing them is challenging

How Solar Panels Work

Solar panels convert sunlight into electricity through the photovoltaic effect. Here's the simple version:

1. Sunlight hits the panel

Photons (light particles) strike silicon cells

2. Electrons get excited

The energy knocks electrons loose

3. Electricity flows

The moving electrons create electrical current

4. Power your home

An inverter converts it to usable AC electricity

The catch: Solar panels only generate power when the sun is shining. No sun = no power.

Why We Need Batteries

Your solar panels might generate the most power at noon, but you might need the most electricity at 7 PM when you're cooking dinner and the sun has set. This is the timing mismatch problem.

Three options for your solar power:

1. Use it immediately

Power your devices right now

2. Store it

Save it in a battery for later

3. Sell it back

Send it to the grid and get credit

Without a battery, you can only do options 1 and 3. With a battery, you have full flexibility.

How Home Batteries Work

Home battery systems (like Tesla Powerwall, LG Chem, etc.) are basically giant rechargeable batteries:

Key Specs:

Capacity

How much energy they hold (typically 10-15 kWh)

Power

How fast they charge/discharge (typically 5 kW)

Efficiency

Energy lost in storage (typically 85-95%)

Lifespan

Number of charge cycles (typically 5,000-10,000)

Think of it like: A water tank for electricity. Solar panels fill it up, your home drains it, and you choose when to fill vs drain.

The Optimization Problem

Here's where it gets interesting. Every 15 minutes, your home energy system makes decisions:

Decision Points

  • Use solar power now or save it?
  • Charge battery from cheap grid power or wait?
  • Discharge battery to power home or keep stored?
  • Sell excess solar to grid or store for later?

Factors That Complicate This

1. Time-of-Use Pricing

Electricity costs different amounts at different times

  • • Peak hours (5-9 PM): $0.30-0.40/kWh
  • • Off-peak hours (11 PM-6 AM): $0.10-0.15/kWh
  • • Solar hours (10 AM-3 PM): Maybe negative (they pay you!)

2. Weather Uncertainty

Will tomorrow be sunny or cloudy?

3. Usage Patterns

When will your family actually use power?

4. Battery Constraints

Can't charge/discharge too fast, can't exceed capacity

5. Efficiency Losses

Every time you store energy, you lose some

Why This Is Hard for Computers

Let's break down the math:

96decision points per day (every 15 minutes for 24 hours)
Each decision has multiple options
Decisions affect future decisions (charging now means less space later)
Must respect physical constraints (battery can't exceed capacity)

Total possible schedules:

Over 10^10

(10 billion) combinations

This is a combinatorial optimization problem - finding the best combination from billions of possibilities.

Classical vs Quantum Approaches

Classical Optimization

Traditional computers solve this by:

  • Linear programming - Mathematical models with constraints
  • Dynamic programming - Breaking problem into smaller pieces
  • Heuristics - Smart guessing with rules of thumb

These work well! But they struggle as problems get bigger (like optimizing a whole neighborhood).

Quantum Optimization

Quantum computers approach it differently:

  • Use superposition to explore many solutions simultaneously
  • Use entanglement to understand how decisions interact
  • Use algorithms like QAOA specifically designed for these problems

The big question: Do quantum advantages actually appear for real-world energy problems?

Real-World Impact

Why does this matter?

For Homeowners

  • $200-500/year in savings with good optimization
  • Energy independence during grid outages
  • Grid stability when millions of homes optimize together

For Society

  • Renewable integration - Makes solar more valuable
  • Grid flexibility - Reduces need for fossil fuel "peaker" plants
  • Climate impact - Maximizes clean energy usage

For Technology

  • Quantum applications - Real problem to test quantum computers
  • AI/ML opportunities - Predict solar generation and usage
  • Distributed systems - Coordinating millions of batteries

Common Questions

Q: Can't you just fill the battery when it's sunny and use it at night?

A: That's a good start, but time-of-use pricing adds complexity. Sometimes it's better to sell solar power at peak prices and charge your battery with cheap overnight grid power!

Q: How much does a home battery system cost?

A: $8,000-15,000 installed. Better optimization helps pay back this investment faster.

Q: Do most solar homes have batteries?

A: Not yet - only about 10-15% of solar installations include storage. But that's growing fast!

Q: Why can't the battery just do this automatically?

A: Most do have basic automation, but they use simple rules. Sophisticated optimization could save significantly more.

Next Steps

Now that you understand the basics: