error in using psat

2 views (last 30 days)
Pritam Kumar Saurav
Pritam Kumar Saurav on 16 Feb 2021
Edited: Li on 12 Jul 2024
Access to an object's fields is only permitted within its methods.
Error in PVclass/setup_pv (line 54)
a.vbus = a.bus + Bus.n;
Error in fm_ncomp (line 37)
PV = setup_pv(PV);
Error in fm_spf (line 33)
fm_ncomp
Error in fm_set (line 720)
fm_spf
Error while evaluating UIControl Callback.
I got this error during load flow perform in matlab 2016a using psat 2.1.10
  1 Comment
Kshitij Tikle
Kshitij Tikle on 11 Jun 2022
If you get a solution on this then please guide me

Sign in to comment.

Answers (2)

Akash
Akash on 15 Feb 2024
Hi Pritam,
The error message indicates that there is an issue with accessing an object's fields outside of its methods. To address this issue, it is important to ensure that the 'PSAT' file path is correctly added to MATLAB. Including the 'PSAT' file path in MATLAB's search directory, allows MATLAB to properly locate and use the required 'PSAT' files for the load flow analysis.
For more detailed instructions on how to add the 'PSAT' files to your MATLAB path, you may utilize the below provided discussion link:-

Li
Li on 27 Jun 2024
Edited: Li on 12 Jul 2024
first you need to add psat to matlab ,then enter psat to open it

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!