Clear Filters
Clear Filters

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

3 views (last 30 days)
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 Comments
Aditya Zade
Aditya Zade on 29 Dec 2023
Edited: Aditya Zade on 29 Dec 2023
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 on 29 Dec 2023
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

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!