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 Kommentar

Kshitij Tikle
Kshitij Tikle am 11 Jun. 2022
If you get a solution on this then please guide me

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Akash
Akash am 15 Feb. 2024

0 Stimmen

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 am 27 Jun. 2024
Bearbeitet: Li am 12 Jul. 2024

0 Stimmen

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

Kategorien

Mehr zu Scope Variables and Generate Names finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 16 Feb. 2021

Bearbeitet:

Li
am 12 Jul. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by