Load flow app showing error

34 views (last 30 days)
Mosharof Hossain
Mosharof Hossain on 23 Jan 2024
Edited: Sreeram on 4 Sep 2024
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.
Thanks.
  1 Comment
TAMMUNUR
TAMMUNUR on 16 Apr 2024
Even I'm facing same issue Have you found the solution

Sign in to comment.

Answers (1)

Sreeram
Sreeram on 4 Sep 2024
Edited: Sreeram on 4 Sep 2024
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).
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:
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')
Error using ThreePhaseLoadFlowBar
The Load Flow Bus block labeled 'BUS_3' is connected to load flow blocks that are not properly connected. Verify that A, B, and C phase of every block connected to the load flow bus are properly connected to the A,B, and C phases of the network respectively.

Error in psbsort

Error in powersolve

Error in power_analyze_prv

Error in power_analyze (line 43)
[varargout{1:nargout}] = power_analyze_prv(varargin{:});

Error in LoadFlowTool

Error in power_loadflow (line 131)
[varargout{1:nargout}] = LoadFlowTool(Parameters{1:end});
You may read more about the “power_loadflow” function here:
I hope this helps!

Categories

Find more on Modeling in Help Center and File Exchange

Tags

Products


Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!