Mathematical modelling of Sinusoidal wave for Voltage and Current.?
3 次查看(过去 30 天)
显示 更早的评论
In attached model snapshot i am not getting pure sinusoidal waveforms.! Sinusoidal control block1 Amplitude = 1, Frequency = 1rad/sec, phase = 0, Sinusoidal control block2 Amplitude = 1, Frequency = 1rad/sec, phase = 2*pi/3, Sinusoidal control block3 Amplitude = 1, Frequency = 1rad/sec, phase = 4*pi/3,
And triangular sequence [0 1 0 -1 0]
Please help with parameters to get pure sine waves..! Thank you
0 个评论
回答(1 个)
Sabin
2023-1-29
I suspect in the Configuration Parameters, Solver, the parameter 'Max step size' is set to 'Auto'. Depending how the solver is computing the step size, the sinusoidal signal might look distorted. By setting the parameter 'Max step size' is set to a value (for example 1e-3 or something like this) should improve the results.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Switches and Breakers 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!