A solar panel generates power. A battery stores it. An EV charger consumes it. The question is: in what order, under what conditions, and controlled by what logic? The difference between a naive setup and a well-optimised one can amount to 20–35% more self-consumed solar energy annually — a meaningful financial and environmental difference.
The Energy Hierarchy
A well-configured solar+battery+EV system follows a priority stack. At any moment, available solar generation is allocated in this order:
- Cover immediate household loads (lighting, appliances, heating/cooling in operation)
- Charge the home battery (if below target state of charge)
- Charge the EV (if connected and scheduled or in surplus-charging mode)
- Export to the grid (anything remaining)
This hierarchy maximises self-consumption by ensuring solar energy is used locally before export. The exact thresholds and sequences are configurable in most modern energy management systems.
Control Logic Patterns
Pattern 1: Simple Export Detection
The simplest form of self-consumption optimisation uses a current transformer (CT clamp) at the grid connection point. When the CT detects net export, the EV charger ramps up. When export drops to zero, the charger throttles back.
This pattern works without any integration between the solar inverter and the charger. It is reactive — responding to observed conditions — rather than predictive. Wallbox Pulsar Plus, Easee Home, and Zaptec Go all support CT-based eco-charging modes out of the box.
→ Before you read on — see what payback looks like for your roof in under a minute.
Limitation: The system cannot anticipate future solar generation or household loads, so it may charge the EV partially and then stop and start as clouds pass. This is compatible with AC EV charging but frustrating if the car's minimum charge current is high.
Pattern 2: Direct Inverter-Charger Integration
More sophisticated systems communicate directly between the solar inverter and the EV charger using Modbus, OCPP 2.0.1, or manufacturer-specific APIs. The inverter sends real-time generation data to the charger, which adjusts charge rate smoothly.
Compatible combinations:
- SolarEdge Energy Hub inverter + compatible Wallbox charger (via SolarEdge app)
- Fronius GEN24 + Ohme (via Fronius Solar.web API)
- Huawei SUN2000 + iCharger (direct integration)
- Sungrow SH series hybrid + Sungrow EV charger (same ecosystem)
This pattern delivers smoother EV charging, better self-consumption rates, and easier monitoring through a unified dashboard.
Pattern 3: Home Energy Management System (HEMS)
A HEMS sits above both the inverter and charger, orchestrating all home energy assets — solar, battery, EV, heat pump, and controllable appliances — according to a unified algorithm. Leading HEMS platforms include:
- Sonnen eco system: Integrated battery + energy manager, predictive charging based on weather forecast
- Tesla Energy Plan / Powerwall: Integrated battery management with time-based and storm-watch features
- SMA Sunny Home Manager 2.0: Broad compatibility with third-party inverters and chargers
- Loxone Energy Management: Comprehensive home automation + energy integration
- evcc (open source): Highly flexible open-source HEMS for technically confident users, supporting 200+ device integrations
A HEMS adds predictive capability — using weather forecast APIs to anticipate tomorrow's solar generation and pre-charge or pre-discharge the battery accordingly.
Pattern 4: Tariff-Aware Optimisation
In markets with time-of-use (TOU) tariffs (cheap overnight rates, expensive peak rates), pure self-consumption optimisation may not be financially optimal. A tariff-aware controller:
- Charges the home battery from cheap grid power overnight if forecast solar generation tomorrow will be insufficient
- Discharges the battery during expensive peak tariff periods
- Avoids charging the EV during peak rate windows unless manually overridden
Ohme, Intelligent Octopus (UK), and Tibber (Nordics) all offer dynamic tariff integration that connects to real-time electricity prices. Sonnen's network participation programmes in Germany allow the battery to participate in frequency regulation markets.
The Battery's Role in the Self-Consumption Stack
Without a battery, solar self-consumption for a typical household peaks at 30–40% — most daytime generation exceeds real-time household demand and is exported. Adding a battery can push self-consumption to 60–80%. Adding an EV that charges from surplus solar can extend self-consumption further, though only if the car is actually home during peak generation hours.
→ Numbers speak louder: calculate your annual solar return and take the guesswork out.
Key metric: Self-sufficiency rate = (Total load covered by solar) ÷ (Total annual load) Target for a well-optimised solar+battery+EV system: 65–80% depending on climate and driving patterns.
Avoiding Common Configuration Mistakes
- Setting the battery minimum SoC too low: Reserving 10–20% battery capacity for backup power prevents the battery from fully participating in daily cycling. This is a sensible resilience measure but reduces self-consumption. Balance your priorities.
- Not scheduling EV charging during solar hours: Most smart chargers require an explicit schedule. Set a window that aligns with your peak generation hours (typically 10 am–3 pm) for daytime charging.
- Ignoring minimum charge current requirements: Some EVs require a minimum 6A draw (1.4 kW) before accepting a charge. In weak solar conditions, the system may reject the charging session entirely. Systems with dynamic current adjustment manage this better than CT clamp systems.
- Missing seasonal recalibration: Optimal battery charge/discharge schedules in summer differ significantly from winter. Some HEMS platforms recalibrate automatically; others need manual adjustment.
Comparison: Control Logic Pattern Performance
| Pattern | Self-Consumption Rate | Cost | Complexity | Best For |
|---|---|---|---|---|
| CT clamp eco mode | 40–55% | Low | Low | Simple retrofit |
| Direct inverter-charger | 55–70% | Medium | Medium | Same-brand ecosystem |
| HEMS (non-predictive) | 65–75% | Medium-High | Medium | Multi-asset homes |
| HEMS (predictive + tariff) | 70–85% | High | High | Optimal economics |