MATLAB Answers

Power System Analysis Toolbox (PSAT)

130 ビュー (過去 30 日間)
marzieh alhooei
marzieh alhooei 2013 年 10 月 22 日
コメント済み: Walter Roberson 2021 年 3 月 17 日
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.
  18 件のコメント
Walter Roberson
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 件)

Richard Joseph
Richard Joseph 2019 年 6 月 28 日
編集済み: Image Analyst 2020 年 1 月 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.
  2 件のコメント
sira
sira 2019 年 11 月 29 日
Hello Muataz Fahad... Did you solve your problem?

サインインしてコメントする。


Walter Roberson
Walter Roberson 2020 年 3 月 25 日
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.

HUSEYIN BAKIR
HUSEYIN BAKIR 2017 年 1 月 13 日
編集済み: Image Analyst 2020 年 1 月 1 日
I don't have the PSAT toolbox in MATLAB? How can I get the PSAT toolbox?
  7 件のコメント

サインインしてコメントする。


Abdulmunim Guwaeder
Abdulmunim Guwaeder 2017 年 3 月 20 日
how can I install PSAT
  3 件のコメント
Gary Singh
Gary Singh 2019 年 8 月 4 日
Watch it to add the toolbox to MATLAB.

サインインしてコメントする。


Ismael Abdulrahman
Ismael Abdulrahman 2019 年 12 月 31 日
  2 件のコメント
Walter Roberson
Walter Roberson 2020 年 1 月 1 日
It appears to be a link to code for some paper.

サインインしてコメントする。


samjhana rai
samjhana rai 2021 年 3 月 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.

Community Treasure Hunt

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

Start Hunting!

Translated by