Load flow app showing error
조회 수: 43 (최근 30일)
이전 댓글 표시
Doing load flow analysis in simulink of the following problem. The model runs without any error, but when using load flow app it shows "An error in the model prevented the load flow analysis".
I have attached the simulation file.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597601/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1597601/image.png)
Thanks.
댓글 수: 1
채택된 답변
Sreeram
2024년 9월 4일
편집: Sreeram
2024년 9월 4일
Hi Mosharof,
I was able to reproduce the error when I ran the command “powerLoadFlow” in the MATLAB command prompt to open the "Load Flow Analyzer" app.
I see that the block labelled ‘Bus3’ is incorrectly connected to ‘Slack1’ (see the figure below).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1766134/image.png)
Notice that the signals a and c from ‘Bus3’ are connected to C and A ports of 'Slack1’ respectively. Here’s how you can correct it:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1766139/image.png)
I am attaching the fixed SLX file for your reference.
To easily find such mistakes, you may run the following:
load_system('load_flow.slx');
power_loadflow(gcs,'solve')
You may read more about the “power_loadflow” function here:
I hope this helps!
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Interactive Model Editing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!