필터 지우기
필터 지우기

How to solve equations with the warning "Unable to find explicit solution".

조회 수: 3 (최근 30일)
Aditya Zade
Aditya Zade 2023년 12월 29일
댓글: Dyuman Joshi 2023년 12월 29일
I need to find an expression for tzvs_p.
clc
clear
syms Vp Ip2 ws wp Ie theta_e Rp Vg real
Bp = atan2( ( -Ip2 - ( ( ws^2 / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * sin( theta_e ) ) ), ( ( -Vp / Rp ) + ( Vg / Rp ) + ( ( wp * ws / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( theta_e ) ) ) ) ;
Ap = ( -Vp + Vg + ( ( wp * ws * Rp / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( theta_e ) ) ) / cos( Bp ) ;
syms tzvs_p real
tzvs_p_equation = Vp == ( Ap * cos( wp * tzvs_p + Bp ) ) - Vg - ( ( wp * ws * Rp / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( ws * tzvs_p - theta_e ) ) ;
tzvs_p = solve( tzvs_p_equation, tzvs_p )
Warning: Unable to find explicit solution. For options, see help.
tzvs_p = Empty sym: 0-by-1
  댓글 수: 5
Aditya Zade
Aditya Zade 2023년 12월 29일
편집: Aditya Zade 2023년 12월 29일
Vp = 480 ;
Ip2 = 7.296 ;
ws = 6.2832e+05 ;
wp = 8.6986e+06 ;
Ie = 14.137 ;
theta_e = 0.5924 ;
Rp = 328.4596 ;
Vg = 521.5385 ;
These are the actual values where wp >> ws.
Could any assumptions be made to get an expression?
Dyuman Joshi
Dyuman Joshi 2023년 12월 29일
There are periodic solutions for the values mentioned -
Vp = 480 ;
Ip2 = 7.296 ;
ws = 6.2832e+05 ;
wp = 8.6986e+06 ;
Ie = 14.137 ;
theta_e = 0.5924 ;
Rp = 328.4596 ;
Vg = 521.5385 ;
Bp = atan2( ( -Ip2 - ( ( ws^2 / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * sin( theta_e ) ) ), ( ( -Vp / Rp ) + ( Vg / Rp ) + ( ( wp * ws / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( theta_e ) ) ) ) ;
Ap = ( -Vp + Vg + ( ( wp * ws * Rp / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( theta_e ) ) ) / cos( Bp ) ;
syms tzvs_p real
tzvs_p_equation = Vp == ( Ap * cos( wp * tzvs_p + Bp ) ) - Vg - ( ( wp * ws * Rp / ( wp^2 - ws^2 ) ) * ( Ie / 2 ) * cos( ws * tzvs_p - theta_e ) ) ;
for k=-2*pi:pi:2*pi
sol = vpasolve( tzvs_p_equation, tzvs_p, k)
end
sol = 
sol = 
sol = 
0.000000048208036616102117891601212689647
sol = 
3.1415927017978298545647612748807
sol = 
6.2831853553876230930274046581602

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Calculus에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by