Power System Analysis Toolbox (PSAT)
이전 댓글 표시
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
Mojtaba Heydari
2014년 12월 21일
You need to rerun MATLAB as an administrator and then run PSAT again in command window. Hoping that would fix the error.
Basile CLAUZEL
2016년 11월 22일
It works for me, thank you very much !
Jyles Tiña
2018년 9월 6일
It worked for me also. Thank You!
SAIFUL ISLAM
2018년 10월 30일
Dear Mojtaba Heydari,May Allah bless you.Thank you.
Olatunde Ogundeji
2018년 12월 19일
Thanks So much It Works
Lucas Lameira
2019년 1월 16일
It worked, thank you so much!
Richard Joseph
2019년 6월 28일
이동: DGM
2024년 5월 1일
Hello Gentlemen, Dr., and Prof.:
Help me here.
I installed PSAT in MATLAB but when running power flow it shows:
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
Please help me.
Chibuike Ohanu
2019년 8월 4일
Please help me out with the solution. I'm having the same problem
Chibuike Ohanu
2019년 8월 4일
Please help me My PSAT is displaying Registration key is invalid. P1.m not found
Walter Roberson
2019년 8월 4일
Psat registration keys would not seem to be a matlab problem?
Walter Roberson
2019년 8월 5일
psat2.1.10 does not mention "registration" even once in the code, and has no P1.m in it. It does have a variable named P1 in a couple of the methods.
Chibuike Ohanu
2019년 8월 13일
I am using MATLAB 2018a .Could it be a problem?
Walter Roberson
2019년 8월 14일
I searched through the entire PSAT source code and it does not have even one reference to "registration".
Where did you download PSAT from?
Stalin Tipán
2019년 9월 5일
SI es necesario simplemente ejecutar como administrador Matlab y se soluciona el problema. Muchas gracias :)
Muataz Fahad
2019년 10월 15일
이동: DGM
2024년 5월 1일
Hello sir.
Have you gotten something? Is the problem solved? Because I have the same problem now. Please help me.
shaniamiranda polopadang
2020년 3월 25일
i have the same eror, and i use macbook. and i can't run as administrator. please help
ihsan mousa
2020년 3월 26일
편집: ihsan mousa
2020년 3월 26일
Yes, it solved.Thanks.
malek malikou
2020년 5월 13일
plz can anyone help me, I have been using PSAT to model a 30 bus power system, and i can't find where i put this data.

Noor Ainul Fazira Abd Rahim
2020년 5월 18일
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
2020년 5월 18일
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
답변 (6개)
Walter Roberson
2020년 3월 25일
2 개 추천
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
Ezechukwu Ani
2023년 7월 9일
Well said sir, What can be done to resolve this problem? Thank you Nelson
Ezechukwu Ani
2023년 8월 31일
You can select the file and click on add path,this will add your file directory to PSAT toolbox
samjhana rai
2021년 3월 1일
1 개 추천
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
PRITAM KUMAR NIRALA
2022년 2월 25일
I am also getting same message could you please help me how to resolve it
Gaurav rawat
2023년 2월 24일
please re check the data u putting in simulation
HUSEYIN BAKIR
2017년 1월 13일
편집: Image Analyst
2020년 1월 1일
0 개 추천
I don't have the PSAT toolbox in MATLAB? How can I get the PSAT toolbox?
댓글 수: 7
Gary Singh
2019년 8월 4일
Download it from link given below:
Walter Roberson
2020년 1월 1일
The web site for that seems to have trouble, but by using the Internet Archive I am able to find the link https://web.archive.org/web/20190507161224/http://faraday1.ucd.ie/archive/psat/psat-2.1.10-mat.zip that retrieves PSAT 2.1.10
Walter Roberson
2020년 1월 1일
I have sent email to the professor noting the problems reaching the site.
dursun bahadir celik
2021년 3월 17일
Merhabalar psatı ındırıyorum hıcbır matlab surumune olmuyor ne yapmam gerekıyor yardımcı olurmusunuz
Walter Roberson
2021년 3월 17일
I just tried the link I posted above on archive.org and I was able to download the file without difficulty.
dursun bahadir celik
2021년 3월 17일
PSAT LİNK PLEASE ? CAN YOU SEND ME
Abdulmunim Guwaeder
2017년 3월 20일
0 개 추천
how can I install PSAT
댓글 수: 3
Walter Roberson
2017년 3월 20일
GAURAV
2018년 12월 21일
편집: Image Analyst
2020년 1월 1일
After installing PSAT this error shows
MATLAB Version 9.0
Failed Conversion from simulink model : Permision Denied
Index exceeds matrix dimensions
Data conversion failed.
Gary Singh
2019년 8월 4일
편집: Image Analyst
2020년 1월 1일
Watch it to add the toolbox to MATLAB.
Ismael Abdulrahman
2019년 12월 31일
0 개 추천
댓글 수: 2
Image Analyst
2020년 1월 1일
편집: Image Analyst
2020년 1월 1일
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.
Walter Roberson
2020년 1월 1일
It appears to be a link to code for some paper.
Hamed
2022년 11월 7일
0 개 추천
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
Ezechukwu Ani
2023년 7월 12일
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
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!