Vehicle-to-Grid (V2G) and Microgrids: Integrating EV Fleets with Solar-Plus-Storage Ecosystems
This article examines the core elements needed to turn a fleet of electric vehicles into a reliable grid resource: the system architecture of fleet-as-a-grid-asset configurations, how ISO 15118-20 enables safe bidirectional power flow, the operational benefits of pairing commercial charging hubs with solar and battery storage, and the software layer that coordinates the components.
The article is contributed by Zach Smith, the founder of Nevada Solar Guide, a consumer guide platform to solar and storage for Nevada homeowners that helps homeowners make informed solar decisions, compare systems, maximize savings, and avoid costly mistakes.
The growing integration of electric vehicles with onsite clean energy is transforming commercial charging depots from large power consumers into flexible, multi-asset energy hubs. Parked EV fleets—particularly commercial, municipal, and delivery vehicles that remain plugged in at depots for extended periods, can function as distributed battery storage.
When those vehicles are equipped for bidirectional charging, allowing power to flow both into and out of the battery, and are coordinated with rooftop or canopy solar and stationary lithium iron phosphate (LiFePO₄) battery systems, the site can operate as an intelligent microgrid. Together, these assets can reduce peak utility demand charges, ease stress on local distribution lines, and increase the share of onsite solar generation that is consumed at the facility.
Architecture and Bidirectional Power-Flow Requirements
Traditional unidirectional charging treats an electric vehicle solely as a load that draws power from the grid. Vehicle-to-Grid (V2G)—and the broader Vehicle-to-Everything (V2X) category that includes Vehicle-to-Building (V2B) and Vehicle-to-Home (V2H) reverses that relationship. Energy can flow from the vehicle’s battery back through the charger to support building loads, reduce peak utility demand, or export electricity to the grid. Enabling this safely requires coordinated hardware and software.
Bidirectional power electronics convert battery DC power back into usable AC electricity. Transfer switches isolate buildings during outages. Standardized communication protocols keep the vehicle, charger, and grid synchronized.
On the power-electronics side, enabling electricity to flow in both directions between a vehicle’s DC battery and the site’s AC bus—or a shared DC bus in some configurations—requires bidirectional conversion hardware. Engineers generally use one of two approaches:
- DC Bidirectional Systems (Inverter in the Charger): The vehicle exposes its battery directly over the DC pins, while the bidirectional conversion, grid protection, and anti- islanding equipment reside inside the charging station. Because the grid-facing equipment is fixed and certified on site, this approach is currently the most mature option for commercial fleet depots.
- AC Bidirectional Systems (Inverter Onboard the Vehicle): The bidirectional inverter is located inside the EV, and the charger functions primarily as a controlled AC connection.
In either configuration, exporting power to a building or the grid requires precise synchronization with grid voltage and frequency to maintain safe and stable operation. Communication between the vehicle and charger is governed by the ISO 15118 standard. Most current Plug & Charge and smart-charging implementations use ISO 15118-2, which supports only unidirectional power flow. ISO 15118-20, released in 2022, enables bidirectional power transfer (BPT) by defining the message sequences and safety controls required to discharge energy from the vehicle.
Once connected, the vehicle and charger negotiate operating limits in real time, including maximum discharge power, battery energy boundaries, and the conditions under which power export must stop. The standard supports both grid-following mode, in which the system synchronizes to an active grid, and grid forming mode, in which it helps establish voltage and frequency in an islanded microgrid during an outage. Amendment 1 (2026) adds further AC distributed energy resource (DER) capabilities and security protections.
Compliance with a single standard is not sufficient to enable Vehicle-to-Grid (V2G) in practice. Bidirectional power transfer requires every element of the system—from the vehicle battery to the utility meter—to operate together:
- V2G-Ready Vehicles and Warranties: Electric vehicles whose onboard systems and battery management systems (BMS) explicitly permit bidirectional power flow, supported by manufacturer warranties that cover regular discharge duty cycles.
- Bidirectional Charging Hardware: Chargers equipped with true bidirectional power electronics and ISO 15118-20 firmware capable of negotiating safe discharge limits.
- Smart Backend Software: Cloud management platforms running OCPP 2.1 or newer, allowing operators to issue real-time charge and discharge commands.
- Utility Approval and Revenue Metering: Interconnection agreements, grid protection equipment, and revenue-grade meters that authorize power export and accurately measure electricity flowing in both directions.
- End-to-End Cybersecurity: Encryption and mutual TLS 1.3 authentication, as required by ISO 15118-20, so that the vehicle and charger verify each other’s identity before power transfer begins.
Without every layer of this stack in place, hardware labeled “V2G-ready” remains limited to unidirectional charging or basic vehicle-to-load emergency outlets.
Coupling Commercial EV Hubs with Solar and Stationary LiFePO₄ Storage
When a commercial EV charging hub adds onsite solar and a stationary battery system, the facility can operate as a behind-the-meter microgrid. For commercial and industrial applications, the stationary battery system typically uses lithium iron phosphate (LiFePO₄) chemistry.
Compared with nickel-manganese-cobalt (NMC) batteries (more common in passenger EVs) where volume and weight constraints are primary, LiFePO₄ offers several advantages for stationary use: greater thermal stability, a higher thermal-runaway threshold (~270 °C vs. 150–210 °C for many NMC cells), longer cycle life (typically 6,000–8,000 or more cycles to 80% capacity under controlled conditions), high round-trip efficiency (generally 90–98% depending on whether the measurement is system-level or DC-block), and fewer permitting and insurance constraints.
These characteristics make LiFePO₄ well suited for daily peak shaving, storing midday solar production for later use, and buffering the difference between variable solar output and high-power EV charging demand. Physically, a commercial charging microgrid connects three core components—the solar array (often mounted on parking canopies that provide shade while generating power), a stationary LiFePO₄ battery cabinet or container, and the EV chargers—onto a shared AC or hybrid AC/DC electrical bus behind a single utility connection point, known as the point of common coupling.
A site-level microgrid controller sits above the individual controllers for the solar inverters, the battery energy-management system, and the charge-point management system. By monitoring real-time power flows at the utility meter, it issues coordinated commands across the three assets so that the depot remains within its utility interconnection limit and avoids unnecessary peak demand charges.
To minimize energy costs and maintain reliable operation, a microgrid controller typically prioritizes power flows in the following order:
- Serve Onsite Loads with Solar First: Direct solar generation to building operations and plugged-in EVs, reducing immediate utility purchases.
- Store Excess Solar: Route any remaining solar generation into the stationary LiFePO₄ battery, within state-of-charge and temperature limits.
- Reduce Peak Demand: During periods of high demand, discharge the stationary battery—and authorized fleet EVs—to keep utility-meter demand below the target peak threshold.
- Maintain a Backup Reserve: Preserve a minimum stored-energy buffer so the site can island and continue serving critical loads during a grid outage.
- Export or Arbitrage Last: Only after onsite loads, peak-shaving requirements, and backup reserves are satisfied does the controller export excess power or shift energy according to time-of-use price signals.
Following this dispatch priority order addresses two of the principal challenges fleet operators face when scaling electric charging:
1. Protecting Local Distribution Equipment: Simultaneous charging of numerous commercial EVs can push neighborhood transformers and distribution lines beyond their thermal limits. By drawing on onsite solar and battery storage during peak charging periods, the depot reduces its demand on the utility network and can avoid costly, multi-year distribution upgrades.
2. Reducing Peak Demand Charges: Commercial electric bills include demand charges based on the highest 15- or 30-minute power draw in a billing period, in addition to charges for total energy consumed. Pairing solar, stationary batteries, and V2G-capable fleet vehicles flattens those peaks and typically produces larger bill savings than energy arbitrage on time-of-use rates alone.
Software Orchestration with Automated Energy Management Systems
Installing solar panels, batteries, and bidirectional chargers is not sufficient by itself to realize the available savings. An automated energy-management system (EMS) or microgrid controller is required to coordinate the assets continuously and convert the depot into a managed energy resource. In real time, the software balances vehicle departure and charging schedules against live solar production, stationary battery state of charge, utility rate windows, and, where relevant, grid carbon intensity. It automatically determines when to store, charge, or discharge energy while preserving the operational requirements of the fleet.
To make continuous decisions without disrupting daily operations, a modern energy-management system (EMS) continuously ingests live data from the site and the grid:
- Live Solar and Weather Forecasts: Real-time readings from solar inverters combined with short-term cloud and irradiance forecasts to estimate available solar production.
- Stationary Battery Status and Capacity: Current state-of-charge (SoC), available charge and discharge power, and internal temperature limits for the onsite LiFePO₄ battery system.
- Vehicle and Charger Data (via OCPP): Live session details from every connected EV, including arrival times, departure deadlines, current versus target battery levels, and whether the vehicle is authorized for bidirectional power flow.
- Utility Rate Rules and Demand Ratchets: Complete utility tariff schedules, including time-of-use (TOU) peak windows and demand-charge ratchets that penalize short-duration power spikes.
- Grid Carbon Signals: Real-time or day-ahead grid carbon-intensity data, where available, to favor charging when regional electricity is cleaner.
- Fleet and Driver Constraints: Operational requirements such as guaranteed minimum state-of-charge levels by departure time and preferred charging windows.
Benefits of an energy-management system (EMS) are:
- Automatically reduces or pauses charging on vehicles that have sufficient time before their next shift when solar production drops during a high-cost utility peak window. (using either model-predictive or rule-based optimization)
- Draws limited power from authorized V2G-enabled vehicles whose batteries remain above their minimum reserve threshold. The result is a lower Scope 2 emissions profile for the fleet.
- Enforces protective limits. Operators can also incorporate battery wear-cost estimates so that vehicles export power only when the projected bill savings or grid revenue exceed the estimated incremental wear. Aggregating multiple vehicles further improves predictability. Individual variations—such as a late arrival or an accelerated turnaround—are averaged across the fleet, allowing the site controller to treat the collective battery capacity as a more stable and reliable energy resource.
Practical Outcomes and Implementation Considerations
Real-world projects are demonstrating the viability of this architecture. The architecture increases onsite utilization of solar generation: midday production that might otherwise be curtailed or exported at low value is stored in batteries and later used to charge vehicles or reduce evening peaks.
The most effective charging microgrids treat the microgrid controller as a core design element from the outset rather than as an addition late in the project. Fleets should complete vehicle-to-charger compatibility testing under ISO 15118-20 before beginning daily commercial operations. Project teams should also incorporate relevant financial incentives—such as utility demand-response payments, renewable energy certificates, or internal carbon pricing—into their operating models. This ensures that V2G discharge decisions remain aligned with both battery health limits and overall project economics.
Looking ahead, regulatory developments such as the EU’s Alternative Fuels Infrastructure Regulation (AFIR) are expected to accelerate ISO 15118-20 adoption across both public and private charging infrastructure after 2027, as more automakers introduce factory support for bidirectional power flow. The technology has matured to the point that EV grid integration managers, fleet operators, and renewable-energy designers can treat charging depots as multi-asset microgrids rather than simple plug-in stations.
When bidirectional EV batteries are coordinated with onsite solar canopies and stationary LiFePO₄ storage under a unified energy- management system (EMS), parked fleets can shift from being passive loads to active, flexible energy resources that support both the facility and the broader grid.
Also read: Supercapacitors vs Batteries: Where Each Truly Wins
Subscribe to our Newsletter
Subscribe today for free and stay on top of latest developments in Cleantech domain.
