0% found this document useful (0 votes)
51 views1 page

Per Unit Analysis of Network

The document contains code for calculating the impedances of different components in a power system including a generator, two transformers, a transmission line, and a motor based on their ratings and a given base value. User input is requested for the component ratings. Calculations are then shown to convert the impedances to a common per unit system based on the base value.

Uploaded by

Akash Sarkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
51 views1 page

Per Unit Analysis of Network

The document contains code for calculating the impedances of different components in a power system including a generator, two transformers, a transmission line, and a motor based on their ratings and a given base value. User input is requested for the component ratings. Calculations are then shown to convert the impedances to a common per unit system based on the base value.

Uploaded by

Akash Sarkar
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

Program: %generator: disp('generator'); Mg=input('Enter the value of generator MVA:'); Kg=input('Enter the value of generator KV:'); Xg=input('Enter the

value of generator X:'); disp(''); %transformer1: disp('transformer1'); MT1=input('Enter the value of transformer1 MVA:'); KT1p=input('Enter the value of transformer1 primary KV:'); KT1s=input('Enter the value of transformer1 secondary KV:'); XT1=input('Enter the value of transformer1 X:'); disp(''); %transformer2: disp('transformer2'); MT2=input('Enter the value of transformer2 MVA:'); KT2p=input('Enter the value of transformer2 primary KV:'); KT2s=input('Enter the value of transformer2 secondary KV:'); XT2=input('Enter the value of transformer2 X:'); disp(''); %transmission line: disp('transmission line'); RTr=input('Enter the value of transmission line reactance per Km:'); LTr=input('Enter the value of transmission line length:'); disp(''); %motor: disp('motor'); Mm=input('Enter the value of motor MVA:'); Km=input('Enter the value of motor KV:'); Xm=input('Enter the value of motor X:'); disp(''); %base value: disp('base value'); Mb=input('Enter the value of base MVA:'); Kb=input('Enter the value of base KV:'); disp(''); %calculation: Xgnew=Xg*(((Kg/Kb)^2)*(Mb/Mg)); XT1new=XT1*(((KT1p/Kb)^2)*(Mb/MT1)); TRTR=RTr*LTr; Kbnew1=Kb*(KT1s/KT1p); Zb=(Kbnew1^2)/Mb; XTrnew=TRTR/Zb; Kbnew2=Kbnew1*(KT2s/KT2p); XT2new=XT2*(((1.732*KT2p)/Kbnew1)^2)*(Mb/(3*MT2)); Xmnew=Xm*(((Km/Kbnew2)^2)*(Mb/Mm)); Xgnew XT1new XTrnew XT2new Xmnew

You might also like