Microgrid Dynamic Operation

SPS microgrid model of a Battery Energy Storage System (BESS) and a Solar Plant. Microgrid operates in grid-following or grid-forming mode.
6.2K Downloads
Updated 26 Oct 2023

View License

This example shows a Simscape Electrical/Specialized Power Systems (SPS) model of a microgrid consisting of a Battery Energy Storage System (BESS) and a Solar Plant. The microgrid can operate both in grid-following or grid-forming mode. Several tests can be performed on this model to illustrate various concepts related to microgrids (P&Q control, droop control, imbalance compensation, and energy curtailment).

Cite As

Pierre Giroux (2026). Microgrid Dynamic Operation (https://ch.mathworks.com/matlabcentral/fileexchange/93235-microgrid-dynamic-operation), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with R2020a to R2021a
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.2

Version 1.0.1 : Incorrect uploading. Version 1.0.2 has all files.

1.0.1

Re-publishing the models with all companion files.

1.0.0