There are two project archives,
- Modeling_a_Hybrid_Microgrid.mlproj - this contains models that build towards a full system.
- Microgrid_Energy_Management.mlproj - this contains a full system model with various modes of operation.
Double-click on a .mlproj file to install the project. When you install, the project will also load. Note that for subsequent use of a project, you need only double-click the .prj file.
Instructions on using the content are contained within Modeling_a_Hybrid_Microgrid.mlx and Microgrid_Energy_Management.mlx.
The system we are working towards is a hybrid AC/DC microgrid containing traditional rotating machinery, a battery, two fuel cells and a PV array. There is a simple management system that controls the transfer of power between the DC and AC sides.
- To learn Simscape Electrical essentials.
- To build confidence in the development and test of interconnected AC and DC system simulation models by incremental creation, test and integration of components covering a range of fidelity levels.
- To provide a platform upon which more detailed system simulations can be created.
- To consider modeling fidelity and how it maps to technology development.
Simscape Electrical Essentials
- Connecting Model Components
- Choosing a Solver
- Changing Fidelity
Modeling a Hybrid Microgrid
- Incrementally Build Component Detail and Evaluate Operation
- Connect Two Sub-Networks with Different Solver Options
- Construct and Test the Full System
Deploying the Model
- Deploy a Model as a Digital Twin using Simulink Compiler
- Configure a Model for Real-Time Deployment
- MATLAB®
- Simulink®
- Simscape™
- Simscape Electrical™
- Simulink Compiler™ (for deployment)
- Simulink Real-Time™ (for real-time simulation)
Copyright (c) 2026, The MathWorks, Inc.
