0% found this document useful (0 votes)
7 views5 pages

Abcd

Uploaded by

ramachandran5000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views5 pages

Abcd

Uploaded by

ramachandran5000
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Program

clc; clear; close all;

% User Inputs

f = input('Enter frequency (Hz): ');

L = input('Enter line length (km): ');

Vr = input('Enter receiving end line voltage (kV): ') * 1e3;

S = input('Enter power (MVA): ') * 1e6;

pf = input('Enter power factor: ');

R = input('Enter resistance per km (Ohm/km): ') * L;

L_ind = input('Enter inductance per km (H/km): ') * L;

C = input('Enter capacitance per km (µF/km): ') * 1e-6 * L;

% Calculations

w = 2 * pi * f;

Z = R + 1j * w * L_ind;

Y = 1j * w * C;

A = 1 + (Z * Y) / 2;

B = Z;

C = Y * (1 + (Z * Y) / 4);

D = A;

Ir = conj(S / (sqrt(3) * Vr));

Vs = A * Vr + B * Ir * sqrt(3);

Is = C * Vr + D * Ir * sqrt(3);

Voltage_Regulation = ((abs(Vs) - abs(Vr)) / abs(Vr)) * 100;

Sending_Power = sqrt(3) * abs(Vs) * abs(Is) * pf;

Receiving_Power = sqrt(3) * abs(Vr) * abs(Ir) * pf;

Efficiency = (Receiving_Power / Sending_Power) * 100;


% Displaying Results

fprintf('ABCD Parameters:\nA = %.4f + j%.4f\nB = %.4f + j%.4f\nC = %.4f + j%.4f\nD = %.4f + j%.4f\n',
real(A), imag(A), real(B), imag(B), real(C), imag(C), real(D), imag(D));

fprintf('Voltage Regulation: %.2f%%\n', Voltage_Regulation);

fprintf('Transmission Efficiency: %.2f%%\n', Efficiency);

OUTPUT

Enter frequency (Hz): 50

Enter line length (km): 100

Enter receiving end line voltage (kV): 132

Enter power (MVA): 87.5

Enter power factor: 0.8

Enter resistance per km (Ohm/km): 0.17

Enter inductance per km (H/km): 0.0011

Enter capacitance per km (µF/km): 0.0082

ABCD Parameters:

A = 0.9955 + j0.0022

B = 17.0000 + j34.5600

C = -0.0000 + j0.000258

D = 0.9955 + j0.0022

Voltage Regulation: 11.84%

Transmission Efficiency: 90.12%

You might also like