⭐ Grid-Forming vs Grid-Following Converter – 15 kW MATLAB Simulation Model
Based on: Grid-Following and Grid-Forming Control in Power Electronic Based Power Systems: A Comparative Study
This MATLAB/Simulink model delivers a complete 15 kW grid-connected converter system developed to analyze and compare Grid-Following (GFL) and Grid-Forming (GFM) control strategies under real-world grid disturbances.
The model replicates Virtual Synchronous Generator (VSG) control and PQ-based current control, enabling students, researchers, and industry engineers to understand how converters behave in weak grids, sudden load changes, and generation loss events.
This is a ready-to-run, industry-grade simulation package.
🔋 What You Get in This Simulation Package
✔ Complete 15 kW MATLAB/Simulink Model
Includes:
GFL Converter with PLL, PQ Control, Dual-Loop Current Control
GFM Converter with Virtual Synchronous Generator (VSG) Algorithm
Active Damping (Virtual Resistor)
Full 3-phase grid interface with filter + line impedance
Dynamic disturbance injection blocks
✔ Three Fully Implemented Case Studies
Loss of Generation (15 kW → 10 kW)
Frequency response
Active power deviation
RoCoF comparison
Sudden Load Shedding (10 kW drop)
Fast converter response
Overshoot comparison
Frequency stabilization
Weak Grid Performance (SCR variation)
SCR = 7.5, 3, 2, 1
Stability analysis
VSG effectiveness in low inertia grids
⚡ Technical Specifications
🔌 Grid Parameters
Voltage: 220 V
Frequency: 50 Hz
Grid impedance: 4 mH, 0.2 Ω
🔧 Converter Parameters
Rated Power: 15 kW
DC Link Voltage: 700 V
Filter Inductor (Lf): 3 mH
Filter Capacitor (Cf): 20 µF
Switching Frequency: 20 kHz
🧠 Controller Details
Grid-Following (PLL + PQ Control)
PLL: (Kp, Ki, Kd) = (180, 3200, 1)
Power Loop PI: (0.001, 0.03)
Current Loop PI: (5, 120)
Active damping: Kp_ic = 15
Grid-Forming (VSG Control)
Virtual inertia (J): 0.2 kg·m²
Damping coefficient (D): 25
Voltage droop (Ku): 1/15
Integrity gain (Kq): 150
Voltage loop PI: (0.1, 330)
Current loop PI: (5, 120)
🎓 Ideal For
Power Electronics & Smart Grid Researchers
Renewable Energy Engineers
Microgrid / Inverter Designers
Faculty & Research Labs
Corporate R&D Teams
📦 Package Contents
Complete MATLAB/Simulink model
3 Case study simulation files
Grid-Following and Grid-Forming Control in MATLAB Simulink
Simulink Super Sale







