Question

In: Electrical Engineering

IEEE 14 Bus data for the power-flow but this program also solve the other IEEE test-case...

IEEE 14 Bus data for the power-flow but this program also solve the other IEEE test-case data

I need a matlab code for this case

Solutions

Expert Solution

function [baseMVA, bus, gen, branch, areas, gencost] = case14

%%system MVA base

baseMVA = 100;

%%bus data

% bus_i type Pd Qd Gs Bs area Vm Va baseKV zone Vmax Vmin

bus = [

1 3 0 0 0 0 1 1.06 0 0 1 1.06 0.94;

2 2 21.7 12.7 0 0 1 1.045 -4.98 0 1 1.06 0.94;

3 2 94.2 19 0 0 1 1.01 -12.72 0 1 1.06 0.94;

4 1 47.8 -3.9 0 0 1 1.019 -10.33 0 1 1.06 0.94;

5 1 7.6 1.6 0 0 1 1.02 -8.78 0 1 1.06 0.94;

6 2 11.2 7.5 0 0 1 1.07 -14.22 0 1 1.06 0.94;

7 1 0 0 0 0 1 1.062 -13.37 0 1 1.06 0.94;

8 2 0 0 0 0 1 1.09 -13.36 0 1 1.06 0.94;

9 1 29.5 16.6 0 19 1 1.056 -14.94 0 1 1.06 0.94;

10 1 9 5.8 0 0 1 1.051 -15.1 0 1 1.06 0.94;

11 1 3.5 1.8 0 0 1 1.057 -14.79 0 1 1.06 0.94;

12 1 6.1 1.6 0 0 1 1.055 -15.07 0 1 1.06 0.94;

13 1 13.5 5.8 0 0 1 1.05 -15.16 0 1 1.06 0.94;

14 1 14.9 5 0 0 1 1.036 -16.04 0 1 1.06 0.94;

];

save baseMVA baseMVA;

save bus bus;

%%generator data

% bus Pg Qg Qmax Qmin Vg mBase status Pmax Pmin

gen = [

1 232.4 -16.9 10 0 1.06 100 1 332.4 0;

2 40 42.4 50 -40 1.045 100 1 140 0;

3 0 23.4 40 0 1.01 100 1 100 0;

6 0 12.2 24 -6 1.07 100 1 100 0;

8 0 17.4 24 -6 1.09 100 1 100 0;

];

save gen gen;

%%branch data

% fbus tbus r x b rateA rateB rateC ratio angle status

branch = [

1 2 0.01938 0.05917 0.0528 9900 0 0 0 0 1;

1 5 0.05403 0.22304 0.0492 9900 0 0 0 0 1;

2 3 0.04699 0.19797 0.0438 9900 0 0 0 0 1;

2 4 0.05811 0.17632 0.034 9900 0 0 0 0 1;

2 5 0.05695 0.17388 0.0346 9900 0 0 0 0 1;

3 4 0.06701 0.17103 0.0128 9900 0 0 0 0 1;

4 5 0.01335 0.04211 0 9900 0 0 0 0 1;

4 7 0 0.20912 0 9900 0 0 0.978 0 1;

4 9 0 0.55618 0 9900 0 0 0.969 0 1;

5 6 0 0.25202 0 9900 0 0 0.932 0 1;

6 11 0.09498 0.1989 0 9900 0 0 0 0 1;

6 12 0.12291 0.25581 0 9900 0 0 0 0 1;

6 13 0.06615 0.13027 0 9900 0 0 0 0 1;

7 8 0 0.17615 0 9900 0 0 0 0 1;

7 9 0 0.11001 0 9900 0 0 0 0 1;

9 10 0.03181 0.0845 0 9900 0 0 0 0 1;

9 14 0.12711 0.27038 0 9900 0 0 0 0 1;

10 11 0.08205 0.19207 0 9900 0 0 0 0 1;

12 13 0.22092 0.19988 0 9900 0 0 0 0 1;

13 14 0.17093 0.34802 0 9900 0 0 0 0 1;

];

save branch branch;

%%----- OPF Data -----%%

%%area data

areas = [

1 1;

];

%%generator cost data

% 1 startup shutdown n x1 y1 ... xn yn

% 2 startup shutdown n c(n-1) ... c0

gencost = [

2 0 0 3 0.0430293 20 0;

2 0 0 3 0.25 20 0;

2 0 0 3 0.01 40 0;

2 0 0 3 0.01 40 0;

2 0 0 3 0.01 40 0;

];

return;


Related Solutions

Bus Data,Generator Data and Line Data for IEEE 30 Bus System in (p.u)
Bus Data,Generator Data and Line Data for IEEE 30 Bus System in (p.u)
Consider the case of a power plant that, in the process of generating electricity, it also...
Consider the case of a power plant that, in the process of generating electricity, it also emits noxious pollutants. It has been argued that this situation represents a market failure. a. Briefly explain, using a graph, what are the economic foundations of this argument? b. Using the graph in (a) show what are the economic implications of this case c. What economic mechanism would you suggest to correct for this market failure? d. In general, why market forces, do not...
Write a case you can use PCR to solve the problem and also write a case...
Write a case you can use PCR to solve the problem and also write a case you cannot use PCR to solve to problem
Implement 1x4 de-multiplexer using data flow modeling in verilog, also write its test bench.
Implement 1x4 de-multiplexer using data flow modeling in verilog, also write its test bench.
Write a program with an array that is initialized with test data. Use any primitive data type of your choice. The program should also have the following methods:
IN JAVA Array Operations Write a program with an array that is initialized with test data. Use any primitive data type of your choice. The program should also have the following methods: getTotal: This method should accept a one-dimensional array as its argument and return the total of the values in the array. getAverage: This method should accept a one-dimensional array as its argument and return the average of the values in the array. getHighest: This method should accept a...
discuss the ATO's 'test case litigation program'
discuss the ATO's 'test case litigation program'
This program must have 9 functions: •main() Controls the flow of the program (calls the other...
This program must have 9 functions: •main() Controls the flow of the program (calls the other modules) •userInput() Asks the user to enter two numbers •add() Accepts two numbers, returns the sum •subtract() Accepts two numbers, returns the difference of the first number minus the second number •multiply() Accepts two numbers, returns the product •divide() Accepts two numbers, returns the quotient of the first number divided by the second number •modulo() Accepts two numbers, returns the modulo of the first...
Refer to the Lincolnville School District bus data. Conduct a test of hypothesis to reveal whether...
Refer to the Lincolnville School District bus data. Conduct a test of hypothesis to reveal whether the mean maintenance cost is equal for each of the bus manufacturers. Use the .01 significance level. Conduct a test of hypothesis to determine whether the mean miles traveled since the last maintenance is equal for each bus manufacturer. Use the .05 significance level. Show work in Excel. ID Manufacturer Engine Type Engine Type (0=diesel) Capacity Maintenance cost Age Odometer Miles Miles 122 Bluebird...
Discuss the ATO’s ‘Test Case Litigation Program’ explain in detail
Discuss the ATO’s ‘Test Case Litigation Program’ explain in detail
Draw a Flow chart and write a C++ program to solve the quadratic equation ax^2 +...
Draw a Flow chart and write a C++ program to solve the quadratic equation ax^2 + bx + c = 0 where coefficient a is not equal to 0. The equation has two real roots if its discriminator d = b2 – 4ac is greater or equal to zero. The program gets the three coefficients a, b, and c, computes and displays the two real roots (if any). It first gets and tests a value for the coefficient a. if...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT