Mathematical modelling of Sinusoidal wave for Voltage and Current.?
3 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sabin
on 29 Jan 2023
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 Comments
See Also
Categories
Find more on Switches and Breakers in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!