MATGRID
MATGRID is the simulation tool for researchers and educators that is easy-to-use MATLAB package, with source code released under MIT License, inspired by Matpower. It allows a variety of display and manipulation options.
The software package, inter alia, includes:
-AC power flow analysis,
-DC power flow analysis,
-non-linear state estimation,
-linear DC state estimation,
-linear state estimation only with PMUs,
-optimal PMU placement,
-bad data processing.
Modules
There are three main modules:
- Power Flow - using the executive function runpf runs the AC and DC power flow analysis;
- State Estimation - using the executive function runse runs the non-linear, DC and PMU state estimation, where measurement variances and sets can be changed;
- Standalone Measurement Generator - using the executive function rungen generates a set of measurements according to the AC power flow analysis.
See GitHub Repository for more information.
Cite As
Mirsad Cosovic (2026). MATGRID (https://github.com/mcosovic/MATGRID), GitHub. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Communities
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
container
extras/matpower_to_matgrid
generator
moldable
power_flow
power_flow/power_flow_ac
power_flow/power_flow_ac/decoupled_newton_raphson
power_flow/power_flow_ac/fast_newton_raphson
power_flow/power_flow_ac/gauss_seidel
power_flow/power_flow_ac/newton_raphson
power_flow/power_flow_dc
state_estimation
state_estimation/observability
state_estimation/state_estimation_ac
state_estimation/state_estimation_ac/gauss_newton
state_estimation/state_estimation_dc
state_estimation/state_estimation_pmu
terminal
utility
utility/sparseinv
Versions that use the GitHub default branch cannot be downloaded
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.8 | na |
|
|
| 1.0.7 | na |
|
|
| 1.0.6 | na |
|
|
| 1.0.4 | major updates |
|
|
| 1.0.3 | update info |
|
|
| 1.0.2 | n/a |
|
|
| 1.0.1 | n/a |
|
|
| 1.0.0 |
|
