Power System Analysis Toolbox (PSAT)
104 views (last 30 days)
Show older comments
I have been using PSAT to model a 24 bus bar power system, which is in PSAT Library. Yet, I have an error during power flow test. This error pops up, when I click on Power Flow button:
Error using fprintf Invalid file identifier. Use fopen to generate a valid file identifier.
Error in fm_wcall (line 49) count = fprintf(fid,'function fm_call(flag)\n\n');
Error in fm_spf (line 41) fm_wcall;
Error in fm_set (line 720) fm_spf
Error while evaluating uicontrol Callback
Although I do know that PSAT is not a TOOLBOX supported by matlab, even your short reply could be certainly helpful.
21 Comments
Noor Ainul Fazira Abd Rahim
on 18 May 2020
i have the same problem. when i run the psat toolbox, the diagram becomes red colour and said that there are too many argument, so i cant save my test files. how can i fix this?
Walter Roberson
on 18 May 2020
With regards to the problem with permission being denied, see my Answer below, https://www.mathworks.com/matlabcentral/answers/91079-power-system-analysis-toolbox-psat#answer_421960
Answers (6)
Walter Roberson
on 25 Mar 2020
This problem can occur if you start running psat from the psat directory and you do not have write access to the psat directory.
psat keeps a record of which directory you were in when you start running it, and in some cases tries to write file fm_call.m into that directory.
The work-around is to make sure that psat is on you MATLAB path, and to start it running by name when you are cd'd to a directory that you have write access to.
2 Comments
Ezechukwu Ani
on 9 Jul 2023
Well said sir, What can be done to resolve this problem? Thank you Nelson
Ezechukwu Ani
on 31 Aug 2023
You can select the file and click on add path,this will add your file directory to PSAT toolbox
samjhana rai
on 1 Mar 2021
Hello everyone;
I m trying to run the load flow usng the PSAT, I have 5 generators and it is a 1 slack and 4 PV bus system. But when we run the power flow we are not getting the load flow, we are getting the error as, ''the convergence is increasing'' and ''convergence likely not reachable.'' What could be th possible problems? would be glad if anyone of you coould answer.
2 Comments
PRITAM KUMAR NIRALA
on 25 Feb 2022
I am also getting same message could you please help me how to resolve it
HUSEYIN BAKIR
on 13 Jan 2017
Edited: Image Analyst
on 1 Jan 2020
I don't have the PSAT toolbox in MATLAB? How can I get the PSAT toolbox?
7 Comments
Abdulmunim Guwaeder
on 20 Mar 2017
how can I install PSAT
3 Comments
GAURAV
on 21 Dec 2018
Edited: Image Analyst
on 1 Jan 2020
After installing PSAT this error shows
MATLAB Version 9.0
Failed Conversion from simulink model : Permision Denied
Index exceeds matrix dimensions
Data conversion failed.
Ismael Abdulrahman
on 31 Dec 2019
2 Comments
Image Analyst
on 1 Jan 2020
Edited: Image Analyst
on 1 Jan 2020
That seems to be a link to a ZIP file. Is the Toolbox inside that zip file? This could be helpful since the other links the others gave seem to be dead links now.
Hamed
on 7 Nov 2022
Hello guys,
I'm running power flow in PSAT and in my network, for the slack bus, there are two generators connected. The PSAT does not perform the power flow and says: "More than one slack generators are connected to the same bus".
What should I do? Please help me
1 Comment
Ezechukwu Ani
on 12 Jul 2023
Remove the rectangular PSAT icon from the second generator only place it on your slack bus, insert pq or pv on the second generator.
All the best
See Also
Categories
Find more on Introduction to Installation and Licensing in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!