SimuGrid Lab

MATLAB R2026a Model
📥 Download build_microgrid_r2026a.m
⚙️ MODEL PARAMETERS
PV Rated Capacity (Ppv_rated) 60 kW
Rated power of the solar array at 1000 W/m² irradiance
DC Voltage Setpoint (Vdc_ref) 800 V
Reference DC Link voltage target for the regulator
DC Capacitance (Cdc) 0.020 F
Capacity of the central DC link capacitor storage unit
BESS Max Power (Pbat_max) 30 kW
Maximum charge and discharge power capability of BESS
BESS Capacity (Ebat_Wh) 120 kWh
Total nominal battery capacity storage rating
Initial Charge (SOC0) 60%
Initial state-of-charge when the solver steps start
Controller Gain (Kbat) 250 W/V
Proportional loop feedback gain regulating DC Link Vdc
Solar Step Time 5.0 s
Time when solar irradiance steps from 1000 to 700 W/m²
Load Step Time 6.0 s
Time when load steps from 45 kW to 55 kW
📐 Simulink Model Schema (Click Block to Inspect)
📝 Block Equations & Specifications
Click a block in the diagram to inspect its mathematical equations and Simulink settings.
📺 SIMULINK SCOPE TRANSIENTS (Scope) t = 0.0s to 10.0s
DC Link Voltage Ripple (Min / Max) -- V
Final Battery State of Charge (SOC) -- %
Maximum Battery Peak Power -- kW
Net Grid Energy Exchanged (10s) -- kWh