Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
So, I've been able to work through all the values so far but seems like I have a problem with the summation notation since the THD of alpha does not converge to a solution:
Solved! Go to Solution.
Not sure why, but the problem is "only" n=2 and function I.a
The function you integrate does not look malicious
Some additional observations:
EDIT:
Solution - Set the system variable TOL to a lower value. Either write TOL:=10^-8 at the top of the sheet in front of the function definitions or use the menu.
Doing so makes the integral converge
The plot below with variable values of alpha takes very long. I stopped it and used a larger step width to speed it up.
It looks like THD is independent from alpha
File?
I get a notification saying I can't post the file using the email, is there any way to attach the file here?
Drag and drop.
Not sure why, but the problem is "only" n=2 and function I.a
The function you integrate does not look malicious
Some additional observations:
EDIT:
Solution - Set the system variable TOL to a lower value. Either write TOL:=10^-8 at the top of the sheet in front of the function definitions or use the menu.
Doing so makes the integral converge
The plot below with variable values of alpha takes very long. I stopped it and used a larger step width to speed it up.
It looks like THD is independent from alpha
Great Werner_E! Well done! Congratulation
walter
Its not that difficult to track down errors like this using "try..on error".
It was surprising that just the single value n=9 threw the error and all others worked fine.
The usual way would be to increase the value of CTOL and see if convergence could be achieved that way. Not sure why I had the idea to decrease TOL 😉
Thank you for the tip. Its interesting to find out why value of n=9 creates an error. I appreciate your help.
@cadtelsim wrote:
Thank you for the tip. Its interesting to find out why value of n=9 creates an error. I appreciate your help.
Yeah, if you find out, let us know.
Thank you for the detailed analysis. This complete analysis will be instrumental in learning features of Mathcad along with the limitations of THD of ac current related to the delay angle. I'll fully study this document.
To calculate correctry, TOL is sensitive and integral from -L to L gives bug error at 80 to 100 degree.
Divide it from -L to 0 and from 0 to L makes good answer. Prime 9.
Thank you for the detailed response. I will do my best to replicate this to understand Mathcad features better.