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

Kshitij Tikle
Kshitij Tikle 2022년 6월 11일
If you get a solution on this then please guide me

댓글을 달려면 로그인하십시오.

답변 (2개)

Akash
Akash 2024년 2월 15일

0 개 추천

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 2024년 6월 27일
편집: Li 2024년 7월 12일

0 개 추천

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

카테고리

도움말 센터File Exchange에서 Scope Variables and Generate Names에 대해 자세히 알아보기

질문:

2021년 2월 16일

편집:

Li
2024년 7월 12일

Community Treasure Hunt

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

Start Hunting!

Translated by