Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

I got a syntax error during simulation any one know why

조회 수: 1 (최근 30일)
Ahmad Badran
Ahmad Badran 2020년 6월 21일
마감: Sabin 2024년 1월 23일
(Rs*Lm)*u(2)-(u(5)*Ls*Lm)*u(1)-(Rs*Ls)*u(3)-(u(5)*Ls*Lr)*u(4)+(u(6)*sigma*Ls*Lr)*u(4)
  댓글 수: 3
Ahmad Badran
Ahmad Badran 2020년 6월 21일
The expression: (Rs*Lm)*u(2)-(u(5)*Ls*Lm)*u(1)-(Rs*Ls)*u(3)-(u(5)*Ls*Lr)*u(4)+(u(6)*sigma*Ls*Lr)*u(4)
in 'power_wind_dfig_det/Wind Turbine Doubly-Fed Induction Generator (Phasor Type)/Generator & Converters/Asynchronous machine Positive sequence phasor model Inputs and outputs are in per unit (pu)/Subsystem/Fcn1'
has a syntax error
Devineni Aslesha
Devineni Aslesha 2020년 6월 24일
Hi Ahmad, I am not able to replicate the syntax error mentioned by you. Try the following code.
Rs = 1;Lm = 2;u = [1 2 33 4 5 6]; Ls = 3;Lr = 4;sigma = 0.5;
(Rs*Lm)*u(2)-(u(5)*Ls*Lm)*u(1)-(Rs*Ls)*u(3)-(u(5)*Ls*Lr)*u(4)+(u(6)*sigma*Ls*Lr)*u(4)
Provide more details of the code for further help.

답변 (0개)

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by