Power System Analysis Toolbox (PSAT)

132 次查看(过去 30 天)
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 个评论
Noor Ainul Fazira Abd Rahim
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?

请先登录,再进行评论。

回答(7 个)

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 个评论
Muataz Fahad
Muataz Fahad 2019-10-15
编辑:Image Analyst 2020-1-1
Hello sir.
Have you gotten something? Is the problem solved? Because I have the same problem now. Please help me.
sira
sira 2019-11-29
编辑:Image Analyst 2020-1-1
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.
  2 个评论
Ezechukwu Ani
Ezechukwu Ani 2023-7-9
Well said sir, What can be done to resolve this problem? Thank you Nelson
Ezechukwu Ani
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
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.
  2 个评论
PRITAM KUMAR NIRALA
I am also getting same message could you please help me how to resolve it
Gaurav rawat
Gaurav rawat 2023-2-24
please re check the data u putting in simulation

请先登录,再进行评论。


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
how can I install PSAT
  3 个评论
GAURAV
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.

请先登录,再进行评论。


Ismael Abdulrahman
Ismael Abdulrahman 2019-12-31
  2 个评论
Image Analyst
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
Walter Roberson 2020-1-1
It appears to be a link to code for some paper.

请先登录,再进行评论。


Hamed
Hamed 2022-11-7
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
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

请先登录,再进行评论。

类别

Help CenterFile 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!

Translated by