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 comentario

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

Iniciar sesión para comentar.

Respuestas (2)

Akash
Akash el 15 de Feb. de 2024

0 votos

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 el 27 de Jun. de 2024
Editada: Li el 12 de Jul. de 2024

0 votos

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

Categorías

Más información sobre Scope Variables and Generate Names en Centro de ayuda y File Exchange.

Preguntada:

el 16 de Feb. de 2021

Editada:

Li
el 12 de Jul. de 2024

Community Treasure Hunt

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

Start Hunting!

Translated by