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 commentaire

Kshitij Tikle
Kshitij Tikle le 11 Juin 2022
If you get a solution on this then please guide me

Connectez-vous pour commenter.

Réponses (2)

Akash
Akash le 15 Fév 2024

0 votes

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 le 27 Juin 2024
Modifié(e) : Li le 12 Juil 2024

0 votes

first you need to add psat to matlab ,then enter psat to open it

Catégories

En savoir plus sur Scope Variables and Generate Names dans Centre d'aide et File Exchange

Modifié(e) :

Li
le 12 Juil 2024

Community Treasure Hunt

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

Start Hunting!

Translated by