cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Translate the entire conversation x

Total Harmonic Distortion of AC current using Fourier Analysis

cadtelsim
10-Marble

Total Harmonic Distortion of AC current using Fourier Analysis

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:

 

VM_10380528_0-1681678396577.png

 

VM_10380528_1-1681678415655.png

 

VM_10380528_2-1681678434105.png

 

 

34 REPLIES 34
LucMeekes
23-Emerald IV
(To:MP_10884228)

Prime knows and index and a subscript.

Index

If you have a vector V (=an array of values), and you want to point to a specific element in that vector you use an index. You type V[1 to get:

LucMeekes_0-1740582845924.png

Which means/points to, the value of V at index 1. If V is defined as:

LucMeekes_1-1740582919424.png

 

Then

LucMeekes_2-1740582933768.png

Because by default index counting starts at 0. You can change the starting value by setting the value of ORIGIN (all capitals, yes). You can find its setting by evaluating it:

LucMeekes_3-1740583051650.png

Subscript

Subscripts are part of a variable, You can subscript characters of a variable by pressing [Ctrl-_] (That is depressing the [Ctrl]  key and tapping the [-] key, that's the key above which the underscore symbol '_' is shown.). Here's an example:

LucMeekes_4-1740583345035.png

I first typed VariableAndBackUp, then moved the cursor to just after the e, en then put a [Ctrl-_] and typed WithAsubscript to get this variable name. Note that [Ctrl-_] gets you in the subscript, but there's no way to get you back up (as far as I know).

 

It's important to understand the difference between an index and a subscript:

LucMeekes_5-1740583777114.png

If you have a variable with an index, and you put the cursor on it, Prime will show a grey [ symbol.

 

Success!

Luc

 

 

 

MP_10884228
6-Contributor
(To:LucMeekes)

Hi Luc,

Thank you very much!

Best regards,

Werner_E
25-Diamond I
(To:LucMeekes)


@LucMeekes wrote:

.....

Note that [Ctrl-_] gets you in the subscript, but there's no way to get you back up (as far as I know).

 


There is a way - [Ctrl-_] is a toggle. Simply pressing [Ctrl-_] once more leaves subscript mode

LucMeekes
23-Emerald IV
(To:Werner_E)

Ah, good to know (and remember).

Thanks!
Luc

MP_10884228
6-Contributor
(To:LucMeekes)

Hi Luc,

 

Thank you very much!

 

//Marius

Announcements

Top Tags