Vehicle-to-Grid (V2G) & Grid-to-Vehicle (G2V) single phase grid MATLAB/Simulink Model – Complete Bidirectional Power Flow Control (Vehicle to grid and grid to vehicle in single phase grid)
Experience a fully developed MATLAB/Simulink model that demonstrates seamless V2G and G2V operation for a single-phase grid-connected EV battery system. This model is ideal for researchers, EV system designers, and power electronics engineers focusing on smart charging infrastructure, grid interaction, and EV energy management.
🔋 Product Description
This premium Simulink model showcases bidirectional power flow control between an EV battery and a single-phase grid using a DC-link regulated H-bridge inverter and a bidirectional buck–boost converter. The model includes complete control logic—PLL, PI-based inner loops, PWM generation, and smooth G2V↔V2G transitions—validated through detailed simulation waveforms.
Developed as an academic-grade tool, it helps users understand DC-link dynamics, unity power factor operation, current control, battery charging/discharging, and THD performance compliant with IEEE standards.
⚡ Key Features
✔️ Complete Single-Phase V2G/G2V System
230 V RMS grid with source inductance
380 V regulated DC-link
Bidirectional buck–boost converter for battery interface
H-Bridge inverter for grid synchronization
✔️ Advanced Control Architecture
DC-link voltage PI controller
PLL-based phase extraction
Sinusoidal reference current generation
Inner current loop with PWM gating
Battery current regulation via PI + PWM
✔️ Two-Way Operation
G2V (Grid → EV Battery)
V2G (EV Battery → Grid)
Smooth transitions with minimal overshoot/undershoot
✔️ IEEE 519-Compliant Power Quality
THD < 5% in both modes
Sinusoidal source current
Unity power factor in charging & discharging
📁 What You Receive
Complete MATLAB/Simulink model (.slx)
Well-organized subsystems
Editable blocks for customization
Video demonstration link
▶️ Demo Video
Watch the full workflow:
https://www.youtube.com/watch?v=H3L4mZRu_co
Model Details
https://doi.org/10.5281/zenodo.17598247
Vehicle to grid and grid to vehicle in single phase grid
Simulink Super Sale







