MATLAB/Simulink Based Steady-State Power Flow Analysis and Voltage Characteristics Study of a Microgrid
Abstract
Photovoltaic (PV) generation changes power flows and voltage profiles in grid-connected microgrids. This study examines these effects using the Baran–Wu IEEE 33-Bus Radial Distribution System under balanced operation at 50 Hz. A single PV unit is modeled as a constant-PQ source with zero reactive power. A current-based forward/backward sweep algorithm is implemented in MATLAB for eleven operating cases covering PV capacity, connection location, and load level. Two cases are checked independently using the MATPOWER Newton–Raphson solver, and four are verified using a three-phase Simscape Electrical network. At rated load, connecting 0.50 MW at bus 18 raises the minimum voltage from 0.91309 to 0.92451 pu and reduces total active power loss from 202.68 to 153.42 kW. Across the sampled capacities, losses initially decrease and then increase, with local reverse power flow occurring in some branches. Changing the connection location redistributes voltage improvements, whereas increased loading deepens voltage drops and increases losses. The maximum voltage difference between MATLAB and Simulink is below 5 × 10⁻¹⁰ pu. The results support steady-state comparisons of PV connection schemes under the specified network and constant-power assumptions.
References
- Ackermann, T., Andersson, G., & Söder, L. (2001). Distributed generation: A definition.Electric Power Systems Research, 57(3), 195–204. https://doi.org/10.1016/S0378-7796(01)00101-8.
- Kang, S. W. (2023).Power flow control and power flow calculation of AC/DC microgrid. Master's thesis, Shijiazhuang Tiedao University, Shijiazhuang. (In Chinese).
- Liu, Y. T. (2023).Distributed power flow calculation and optimization methods for hybrid AC/DC microgrid. Master's thesis, Shandong University, Jinan. (In Chinese).
- Feng, K. (2023).Research on stochastic power flow calculation and optimization strategy of microgrid based on multi-factor feature fusion. Master's thesis, North Minzu University, Yinchuan. (In Chinese).
- Baran, M. E., & Wu, F. F. (1989). Network reconfiguration in distribution systems for loss reduction and load balancing.IEEE Transactions on Power Delivery, 4(2), 1401–1407. https://doi.org/10.1109/61.25627.
- Shirmohammadi, D., Hong, H. W., Semlyen, A., & Luo, G. X. (1988). A compensation-based power flow method for weakly meshed distribution and transmission networks.IEEE Transactions on Power Systems, 3(2), 753–762. https://doi.org/10.1109/59.192932.
- Teng, J. H. (2003). A direct approach for distribution system load flow solutions.IEEE Transactions on Power Delivery, 18(3), 882–887. https://doi.org/10.1109/TPWRD.2003.813818.
- The MathWorks, Inc. (n.d.). Frequency and time simulation mode.MATLAB and Simulink Documentation. https://www.mathworks.com/help/simscape/ug/frequency-and-time-simulation.html. Accessed 7 September 2026.
- Zimmerman, R. D., Murillo-Sánchez, C. E., & Thomas, R. J. (2011). MATPOWER: Steady-state operations, planning, and analysis tools for power systems research and education.IEEE Transactions on Power Systems, 26(1), 12–19. https://doi.org/10.1109/TPWRS.2010.2051168.
- Acharya, N., Mahat, P., & Mithulananthan, N. (2006). An analytical approach for DG allocation in primary distribution network.International Journal of Electrical Power & Energy Systems, 28(10), 669–678. https://doi.org/10.1016/j.ijepes.2006.02.013.
- Muslimin, Z., Suyuti, A., Palantei, E., Indrabayu, & Gunadin, I. C. (2022). Analysis of distributed generation integration effect on active power losses in distribution networks.International Journal of Electrical and Electronic Engineering & Telecommunications, 11(2), 102–108. https://doi.org/10.18178/ijeetc.11.2.102-108.